mediawiki-extensions-Math/tests/selenium
physikerwelt 89e45815e8
Fix selenium tests
Update test to find MathML element instead of image.

This is required since the default in labs in now MathML.

Bug: T372872
Change-Id: I4e9500effaca9cef704f06ec003a0e01bdcfb3f1
2024-08-27 13:28:46 +02:00
..
pageobjects Fix selenium tests 2024-08-27 13:28:46 +02:00
specs Fix selenium tests 2024-08-27 13:28:46 +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]