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
specs selenium: Replace Node.js Assert library with WebdriverIO Expect library 2024-10-16 14:11:24 +02:00
.eslintrc.json
README.md
wdio.conf.js

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]