mediawiki-extensions-Math/tests/selenium
osamaahmed17 099e327cc6 selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests have been changed to async.

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

Remove npm package: @wdio/sync.

Bug: T293076
Change-Id: I35b3b29c09e80306d14a12c5194efeead22a9804
2022-02-01 01:24:19 +11:00
..
pageobjects Selenium: Update to WebdriverIO v5 2020-06-03 01:03:56 +05:30
specs selenium: Refactor WebdriverIO tests from sync to async mode 2022-02-01 01:24:19 +11:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.1 2020-06-16 15:59:33 +01:00
README.md Selenium: update README.md file 2021-05-07 17:39:17 +05:30
wdio.conf.js selenium: Update wdio-mediawiki 2021-07-28 16:43:40 +05:30

Selenium tests

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

Setup

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

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]