mediawiki-extensions-Visual.../tests/selenium
John Bolorinos 4c3710c035 selenium: Document when, how and why a test is skipped
Bug: T280652
Change-Id: I04539a8fe9d0bcab43eeebaa1cc89f011b711376
2024-09-16 15:02:31 +02:00
..
pageobjects build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00
specs selenium: Document when, how and why a test is skipped 2024-09-16 15:02:31 +02:00
.eslintrc.json
README.md
wdio.conf.js

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]