mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
a11d459ef1
The previous selector in the case of the first reference link matches two elements - one in the "Reference links" section and one in the "References" section. My hunch is this leads to the test failures we have been seeing Bug: T344072 Change-Id: Icda37b4f46add4049344f7a8c452082d7b0df5c8 |
||
---|---|---|
.. | ||
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]