mediawiki-extensions-AbuseF.../tests/selenium
2021-06-08 17:35:08 +00:00
..
pageobjects Don't use p class="success" for success messages 2021-04-30 18:19:31 +00:00
specs Simplify ViewEdit, last round 2020-10-26 13:07:29 +00:00
.eslintrc.json eslint: Update to eslint-config-wikimedia 0.16.0 2020-06-08 21:17:50 -04:00
README.md Selenium: update README.md file 2021-05-07 18:45:07 +05:30
wdio.conf.js selenium: Update wdio-mediawiki 2021-05-28 01:04:55 +05:30

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]