mediawiki-extensions-Math/tests/selenium
Željko Filipin 97126ba46f 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: I62ccf128e21eb49cbdc97546c643887105bf2c64
2024-10-16 14:11:24 +02:00
..
pageobjects Fix selenium tests 2024-08-27 13:28:46 +02:00
specs selenium: Replace Node.js Assert library with WebdriverIO Expect library 2024-10-16 14:11:24 +02:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.1 2020-06-16 15:59:33 +01:00
README.md Selenium: update README.md file 2021-05-07 17:39:17 +05:30
wdio.conf.js selenium: Update wdio-mediawiki 2021-07-28 16:43:40 +05:30

Selenium tests

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

Setup

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

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]