mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-30 17:54:20 +00:00
d7ad615e67
wdio-mediawiki v1.1.1: - Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js. - Replaces @wdio/spec-reporter with @wdio/dot-reporter. - Introduces video recording. Bug: T283597 Change-Id: Ic62db3ca745a94573b2b0500f49a45bb2a0dcd4f |
||
---|---|---|
.. | ||
pageobjects | ||
specs | ||
.eslintrc.json | ||
README.md | ||
wdio.conf.js |
Selenium tests
For more information see https://www.mediawiki.org/wiki/Selenium
Setup
See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/Cite
Run all specs
npm run selenium-test
Run specific tests
Filter by file name:
npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME]
Filter by file name and test name:
npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME] --mochaOpts.grep [TEST-NAME]