mediawiki-extensions-Visual.../tests/selenium
Esther Akinloose b69c89e378 selenium: Enable all tests
EditPage.activationComplete() was flaky.
We have replaced it with EditPage.toolbar.waitForDisplayed().
We have run all the tests 100 times in a row in CI and it works fine.

Bug: T310772
Change-Id: I321b4114ca03ebd02a79d8bd3863ea0e68494dc2
2022-07-04 12:22:38 +00:00
..
pageobjects WIP: selenium: Enable Content Editable should save an edit 2022-06-13 14:00:51 +02:00
specs selenium: Enable all tests 2022-07-04 12:22:38 +00:00
.eslintrc.json selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
README.md
wdio.conf.js selenium: Do not retry tests 2022-06-14 14:31:21 +01:00

Selenium tests

For more information see https://www.mediawiki.org/wiki/Selenium

Setup

See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/VisualEditor

Run all tests

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]