selenium: Update README.md file

Bug: T282237
Change-Id: I790cb97f0c6b274ff881c87b48a5693538538e14
This commit is contained in:
sahil 2021-05-22 01:36:02 +05:30 committed by Sahilgrewalhere
parent 12b749211d
commit 1b35a907d9

21
tests/selenium/README.md Normal file
View file

@ -0,0 +1,21 @@
# 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]