mediawiki-extensions-CodeMi.../tests/selenium
James D. Forrester 9e9a38d6fc Refactor CodeMirror WebdriverIO tests from sync to async mode
Bug: T300205
Change-Id: Idfcfc984833ca6ca6c09500cd4715a4e5504f84e
2023-06-06 10:49:22 +02:00
..
pageobjects Refactor CodeMirror WebdriverIO tests from sync to async mode 2023-06-06 10:49:22 +02:00
specs Refactor CodeMirror WebdriverIO tests from sync to async mode 2023-06-06 10:49:22 +02:00
.eslintrc.json build: Updating npm dependencies 2023-03-25 22:37:01 +01:00
fixturecontent.js Refactor CodeMirror WebdriverIO tests from sync to async mode 2023-06-06 10:49:22 +02:00
README.md selenium: Update README.md file 2021-05-24 18:10:43 +00:00
userpreferences.js Refactor CodeMirror WebdriverIO tests from sync to async mode 2023-06-06 10:49:22 +02:00
wdio.conf.js selenium: Update wdio-mediawiki 2021-06-21 19:36:43 +05:30

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]