mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +00:00
5fca7c2f51
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: I603626d20eb060ba6d90b1a91d49afe13e29d945 |
||
---|---|---|
.. | ||
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/AbuseFilter
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]