mediawiki-extensions-Popups/tests/selenium
Jon Robson c2b840a561 Fixes Selenium Popups tests
As part of T310054, we moved article tabs into
the #content area on the beta cluster which caused
the daily tests to fail. As a result the page previews
test is currently expecting a page preview to show
on hovering "Article" which is not the case.

Update selector to target links in the parser
content

Bug: T310313
Change-Id: I0bbccbbfbae458d5c32eaea12f855b832b52491c
2022-06-15 10:09:21 -07:00
..
fixtures Fix and re-enable ReferencePreview browser tests 2020-11-18 14:33:45 +01:00
pageobjects Fixes Selenium Popups tests 2022-06-15 10:09:21 -07:00
specs Fix and re-enable ReferencePreview browser tests 2020-11-18 14:33:45 +01:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.2 2020-06-26 17:05:56 +01:00
README.md selenium: Update README.md file 2021-05-24 18:04:51 +00:00
wdio.conf.js selenium: Update wdio-mediawiki 2021-07-28 16:35:31 +05:30

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]