mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
9635657ab4
Now it works on Mac, Windows and Linux. Change-Id: Idf984c89f541a44ad522ff4d765dc58ada407797 |
||
---|---|---|
.. | ||
pageobjects | ||
specs | ||
.eslintrc.json | ||
README.md |
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 echo
vagrant provision
Run both mediawiki/core and Echo tests from mediawiki/core folder:
npm run selenium
To run only Echo 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/Echo/tests/selenium/specs/*.js
Run only one Echo test file from mediawiki/core:
./node_modules/.bin/wdio tests/selenium/wdio.conf.js --spec extensions/Echo/tests/selenium/specs/echo.js