mediawiki-extensions-Popups/tests/selenium
sahil 1e1b8506ac 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: I76edb3f16272fc6c1d70b0a796115cf5cc22d255
2021-07-28 16:35:31 +05:30
..
fixtures Fix and re-enable ReferencePreview browser tests 2020-11-18 14:33:45 +01:00
pageobjects Set both Beta/non-Beta user option in Selenium tests 2021-05-04 10:45:32 +02:00
specs Fix and re-enable ReferencePreview browser tests 2020-11-18 14:33:45 +01:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.2 2020-06-26 17:05:56 +01:00
README.md selenium: Update README.md file 2021-05-24 18:04:51 +00:00
wdio.conf.js selenium: Update wdio-mediawiki 2021-07-28 16:35:31 +05:30

Selenium tests

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

Setup

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

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]