mediawiki-extensions-CodeMi.../tests/selenium
WMDE-Fisch 4bb409887d selenium: run tests concurrently
Includes a bit untangling of the setup. Concurrent tests should not
overwrite each others user settings so one of the tests gets it's
own user.

Bug: T337862
Change-Id: Iae245063932d4c5d9e6b61c1fe102505d70c1039
2023-06-30 11:29:32 +02:00
..
pageobjects selenium: run tests concurrently 2023-06-30 11:29:32 +02:00
specs selenium: run tests concurrently 2023-06-30 11:29:32 +02:00
.eslintrc.json build: Updating npm dependencies 2023-03-25 22:37:01 +01:00
fixturecontent.js Refactor CodeMirror WebdriverIO tests from sync to async mode 2023-06-06 10:49:22 +02:00
README.md selenium: Update README.md file 2021-05-24 18:10:43 +00:00
userpreferences.js selenium: run tests concurrently 2023-06-30 11:29:32 +02:00
wdio.conf.js selenium: run tests concurrently 2023-06-30 11:29:32 +02:00

Selenium tests

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

Setup

See https://www.mediawiki.org/wiki/Extension:CodeMirror

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]