mediawiki-extensions-CodeMi.../tests/selenium
John Bolorinos 608c799aa8 selenium: Document when, how and why a test is skipped
Bug: T280652
Change-Id: I065c6ff4f50626904fde2d3e676c4b71d62c43e0
2024-08-19 15:02:18 +02:00
..
pageobjects build: Update eslint-config-wikimedia to 0.28.2 and autofix 2024-06-17 13:02:26 +00:00
specs selenium: Document when, how and why a test is skipped 2024-08-19 15:02:18 +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 build: Update eslint-config-wikimedia to 0.28.2 and autofix 2024-06-17 13:02:26 +00: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]