mediawiki-extensions-Visual.../tests/selenium
Ed Sanders 3966573f02 build: Update ESLint to 0.26.0 and autofix
Change-Id: Ia5e15684c1c3dcd69985445a09fc4e4910368b5b
2023-11-28 11:18:09 +00:00
..
pageobjects build: Update ESLint to 0.26.0 and autofix 2023-11-28 11:18:09 +00:00
specs selenium: Disable flaky test 2023-06-21 22:07:17 +02:00
.eslintrc.json selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
README.md selenium: The first test 2021-11-09 16:11:22 +01:00
wdio.conf.js selenium: run tests concurrently 2023-06-29 15:14:05 +02:00

Selenium tests

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

Setup

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

Run all tests

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]