mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-12-21 20:32:58 +00:00
2578a87e28
Bug: T282237 Change-Id: Ia14349e8630e7a075e5f3ce8dea1572027309ef3
21 lines
466 B
Markdown
21 lines
466 B
Markdown
# Selenium tests
|
|
|
|
For more information see https://www.mediawiki.org/wiki/Selenium
|
|
|
|
## Setup
|
|
|
|
See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/RelatedArticles
|
|
|
|
## 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] |