mediawiki-extensions-Relate.../tests/selenium
Jon Robson 71de06a682 Simplify the RelatedArticles extension to use Codex CSS components
Changes:
- Removes redundant styles now inside Codex
- With the new component, it's not possible to display 3 cards in a
single line at a tablet resolution, so the media query responsible
is bumped to apply only at the desktop threshold
- Decisions are documented in ADR

Bug: T286835
Change-Id: I493e8e601ccc31b3cf1f16c0b5a8975f12ef336c
2024-01-30 09:16:34 -08:00
..
pageobjects Simplify the RelatedArticles extension to use Codex CSS components 2024-01-30 09:16:34 -08:00
specs selenium: Enable one skipped test, delete one failing test 2022-11-24 12:40:45 +00:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.2 2020-06-23 20:30:43 +01:00
LocalSettings.php Rename RelatedArticlesFooterWhitelistedSkins to RelatedArticlesFooterAllowedSkins 2021-04-20 19:00:26 +01:00
README.md selenium: Update README.md file 2021-05-24 18:00:35 +00:00
wdio.conf.js selenium: Update wdio-mediawiki 2021-06-21 20:46:30 +05:30

Selenium tests

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

Setup

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

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]