mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-23 20:23:05 +00:00
45b95f90f3
Update npm packages: @wdio/* and webdriverio. Also adding a fallback for the case, that the slider does not open as expected. It seems, that the update is causing some issues when waiting for the module state. Waiting for the lazy module in DiffPage.ready() should make sure, that the event to trigger the opening of the slider is in place. This seems to fail sometimes. Bug: T274579 Change-Id: Icd597fc5aaa857879a8af310166867d433ba0678 |
||
---|---|---|
.. | ||
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/RevisionSlider
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]