2017-04-07 13:39:38 +00:00
|
|
|
# Selenium tests
|
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
For more information see https://www.mediawiki.org/wiki/Selenium
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
## Setup
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/Math
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
## Run all specs
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
npm run selenium-test
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
## Run specific tests
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
Filter by file name:
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME]
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
Filter by file name and test name:
|
2017-04-07 13:39:38 +00:00
|
|
|
|
2021-05-07 06:08:53 +00:00
|
|
|
npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME] --mochaOpts.grep [TEST-NAME]
|