mediawiki-extensions-Cite/tests/selenium
Peter Wangai 27ab8a437d 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: T300196
Change-Id: I8a2ba7f87496b19cc22c347088d52e56741cac71
2023-03-20 19:13:40 +03:00
..
pageobjects selenium: Refactor WebdriverIO tests from sync to async mode 2023-03-20 19:13:40 +03:00
specs selenium: Refactor WebdriverIO tests from sync to async mode 2023-03-20 19:13:40 +03:00
.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]