mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-05 03:08:37 +00:00
0593278d05
The first test just opens the page for editing and checks if it opened. Bug: T284165 Change-Id: Ifffaf3e5ab14811605d96fcdcfdc1f773880e52c
22 lines
464 B
Markdown
22 lines
464 B
Markdown
# 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]
|