mediawiki-extensions-Revisi.../tests/selenium
Vaughn Walters 8a53d056be selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T300798
Change-Id: I053ea6b5fbfdcff279f4eb10cf2429155690bd72
2023-03-31 14:10:46 -05:00
..
pageobjects selenium: Refactor WebdriverIO tests from sync to async mode 2023-03-31 14:10:46 -05:00
specs selenium: Refactor WebdriverIO tests from sync to async mode 2023-03-31 14:10:46 -05:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.1 2020-06-16 15:13:36 +01:00
README.md selenium: Update README.md file 2021-05-24 17:59:49 +00:00
wdio.conf.js selenium: Update wdio-mediawiki and fix window resizing 2021-05-27 10:17:30 +02:00

Selenium tests

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

Setup

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

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]