mediawiki-extensions-Visual.../tests/selenium
WMDE-Fisch 70128a0f21 selenium: run tests concurrently
Especially useful to reduce the job runtime here because the VE
tests are executed in a couple of CI selenium jobs of other
extensions.

Bug: T226869
Change-Id: I8a8eae8cf2d548b7c905f00e748974bc5a88d337
2023-06-29 15:14:05 +02:00
..
pageobjects selenium: Toolbar should open format paragraph menu 2022-12-21 14:10:31 +00:00
specs selenium: Toolbar should open format paragraph menu 2022-12-21 14:10:31 +00:00
.eslintrc.json selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
README.md
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]