mediawiki-extensions-Popups/tests/selenium
Željko Filipin eb1ddbb132 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: I9224c52975919a512ac3b0342bb3805edecec6b3
2024-11-26 18:05:18 +01:00
..
fixtures Remove test and doc leftovers from ReferencePreviews 2024-10-07 19:28:53 +02:00
pageobjects selenium: Replace Node.js Assert library with WebdriverIO Expect library 2024-11-26 18:05:18 +01:00
specs selenium: Replace Node.js Assert library with WebdriverIO Expect library 2024-11-26 18:05:18 +01: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/Popups

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]