Zfilipin has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/345146 )
Change subject: WIP WebdriverIO tests ...................................................................... WIP WebdriverIO tests Bug: T150435 Change-Id: Ifffaf3e5ab14811605d96fcdcfdc1f773880e52c --- A modules/ve-mw/tests/selenium/README.md 1 file changed, 33 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/46/345146/1 diff --git a/modules/ve-mw/tests/selenium/README.md b/modules/ve-mw/tests/selenium/README.md new file mode 100644 index 0000000..f57db41 --- /dev/null +++ b/modules/ve-mw/tests/selenium/README.md @@ -0,0 +1,33 @@ +# Selenium tests + +Please see tests/selenium/README.md file in mediawiki/core repository. + +## Usage + +Set up MediaWiki-Vagrant: + + cd mediawiki/vagrant + vagrant up + vagrant roles enable visualeditor + vagrant provision + +Until XXX is merged into VisualEditor, get it manually: + + cd extensions/VisualEditor + git review -d XXX + +Run both mediawiki/core and VisualEditor tests from mediawiki/core folder: + + npm run selenium + +To run only VisualEditor tests in one terminal window or tab start Chromedriver: + + chromedriver --url-base=/wd/hub --port=4444 + +In another terminal tab or window go to mediawiki/core folder: + + ./node_modules/.bin/wdio tests/selenium/wdio.conf.js --spec extensions/VisualEditor/modules/ve-mw/tests/selenium/*.js + +Run only one VisualEditor test file from mediawiki/core: + + ./node_modules/.bin/wdio tests/selenium/wdio.conf.js --spec extensions/VisualEditor/modules/ve-mw/tests/selenium/load.js -- To view, visit https://gerrit.wikimedia.org/r/345146 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifffaf3e5ab14811605d96fcdcfdc1f773880e52c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Zfilipin <zfili...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits