mediawiki-extensions-Visual.../tests/selenium
Ed Sanders ea03287908 Convert MWPopupTool into MWHelpListToolGroup
The popup contains three buttons, one of which already exists
in core as a tool. By converting them all to tools we can reduce
some duplication, and better integrate with other features
that use the tool factory, such as HelpCompletionAction.

Bug: T339153
Change-Id: I81d217bc1ab9a1a6a9bf7c7ad588c2a3216b10db
2023-07-01 11:10:53 +01:00
..
pageobjects Convert MWPopupTool into MWHelpListToolGroup 2023-07-01 11:10:53 +01:00
specs selenium: Disable flaky test 2023-06-21 22:07:17 +02:00
.eslintrc.json selenium: Add EditPage.saveComplete() 2022-06-09 14:42:02 +01:00
README.md
wdio.conf.js selenium: run tests concurrently 2023-06-29 15:14:05 +02:00

Selenium tests

For more information see https://www.mediawiki.org/wiki/Selenium

Setup

See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/VisualEditor

Run all tests

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]