mediawiki-extensions-Relate.../tests/selenium
osamaahmed17 078cfb2347 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: T300797
Change-Id: Ia2a857eb46dbd613a10f48c686bcf6b2fdc3e202
2022-02-09 16:15:05 +00:00
..
pageobjects build: Update eslint-config-wikimedia to 0.16.2 2020-06-23 20:30:43 +01:00
specs selenium: Refactor WebdriverIO tests from sync to async mode 2022-02-09 16:15:05 +00:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.2 2020-06-23 20:30:43 +01:00
LocalSettings.php Rename RelatedArticlesFooterWhitelistedSkins to RelatedArticlesFooterAllowedSkins 2021-04-20 19:00:26 +01:00
README.md selenium: Update README.md file 2021-05-24 18:00:35 +00:00
wdio.conf.js selenium: Update wdio-mediawiki 2021-06-21 20:46:30 +05:30

Selenium tests

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

Setup

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

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]