mediawiki-extensions-Echo/tests/selenium
Željko Filipin 23ac1201a5 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: I8c31444538670e1500574415cec3a4d54d3798b4
2024-11-21 14:20:21 +01:00
..
pageobjects build: Update linters 2023-12-04 14:11:35 +00:00
specs selenium: Replace Node.js Assert library with WebdriverIO Expect library 2024-11-21 14:20:21 +01:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.1 2020-06-15 16:19:00 +01:00
README.md selenium: Update README.md file 2021-05-25 16:03:45 +00:00
wdio.conf.js selenium: run tests concurrently 2023-06-29 15:30:28 +02:00

Selenium tests

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

Setup

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

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]