mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-30 17:04:14 +00:00
21 lines
464 B
Markdown
21 lines
464 B
Markdown
|
# Selenium tests
|
||
|
|
||
|
For more information see https://www.mediawiki.org/wiki/Selenium
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
See https://www.mediawiki.org/wiki/Extension:CodeMirror
|
||
|
|
||
|
## 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]
|