mediawiki-extensions-Cite/tests/selenium
sahil d7ad615e67 selenium: Update wdio-mediawiki
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
2021-06-09 15:03:58 +02:00
..
pageobjects Selenium: Update to WebdriverIO v5 2020-06-25 01:19:38 +05:30
specs Selenium: Update to WebdriverIO v5 2020-06-25 01:19:38 +05:30
.eslintrc.json build: Update devDependencies 2020-06-09 11:29:03 +01:00
README.md selenium: Update README.md file 2021-05-24 18:24:32 +00:00
wdio.conf.js selenium: Update wdio-mediawiki 2021-06-09 15:03:58 +02:00

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]