mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-18 18:20:51 +00:00
c2b840a561
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 |
||
---|---|---|
.. | ||
fixtures | ||
pageobjects | ||
specs | ||
.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]