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 build: Update eslint 0.26.0 and apply fixes 2024-01-12 13:50:19 -05:00
README.md selenium: Update README.md file 2021-05-24 18:04:51 +00:00
wdio.conf.js selenium: run tests concurrently 2023-06-30 08:52:47 +02:00

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]