mediawiki-extensions-Visual.../tests/selenium
Željko Filipin df82cecfd7 selenium: Replace Node.js Assert library with WebdriverIO Expect library
Assertions from Expect library are more readable that assertions from Assert library.

Bug: T325740
Change-Id: I3255483d99e096deea12aaccbebeabcdcc2e1b21
2024-11-12 13:57:48 +01:00
..
pageobjects build: Updating eslint-config-wikimedia to 0.28.0 2024-06-04 03:40:00 +00:00
specs selenium: Replace Node.js Assert library with WebdriverIO Expect library 2024-11-12 13:57:48 +01:00
.eslintrc.json selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
README.md
wdio.conf.js selenium: run tests concurrently 2023-06-29 15:14:05 +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]