mediawiki-extensions-Visual.../tests/selenium
Esther Akinloose 3e93410e68 selenium: Add EditPage.saveComplete()
Add new check for page saving.

Bug: T296187
Change-Id: I07639c58377f6f285df1bfeccfb5e037a3e619d5
2022-06-09 14:42:02 +01:00
..
pageobjects selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
specs selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
.eslintrc.json selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
README.md selenium: The first test 2021-11-09 16:11:22 +01:00
wdio.conf.js selenium: Improve debugging 2022-05-20 16:44:23 +02: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]