tree: 0946a52fcbb69ca0ce2c97af2c93b42cae3e0583 [path history] [tgz]
  1. pageobjects/
  2. specs/
  3. .eslintrc.json
  4. package.json
  5. README.md
  6. wdio.conf.js
tests/selenium/README.md

Selenium tests

For more information see https://www.mediawiki.org/wiki/Selenium

Setup

See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/AdvancedSearch

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]