mediawiki-extensions-Echo/tests/selenium
Željko Filipin 78fe1911a4 selenium: Document when, how and why a test is skipped
Bug: T280652
Change-Id: I835e86ad663d77d2623637a06a27c7a90e007cb6
2024-07-08 15:17:13 +02:00
..
pageobjects build: Update linters 2023-12-04 14:11:35 +00:00
specs selenium: Document when, how and why a test is skipped 2024-07-08 15:17:13 +02:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.1 2020-06-15 16:19:00 +01:00
README.md selenium: Update README.md file 2021-05-25 16:03:45 +00:00
wdio.conf.js selenium: run tests concurrently 2023-06-29 15:30:28 +02:00

Selenium tests

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

Setup

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

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]