Page MenuHomePhabricator

Make `tests/selenium/docs/Stack/webdriverio.js` run in CI
Closed, ResolvedPublic3 Estimated Story Points

Description

The tests/selenium/docs/Stack/webdriverio.js is not currently being trigged in CI. This was identified because after migrating everything but this file to ESM, the CI is not failing due to this file not being upgraded.

To quote Željko: Where this could cause trouble is migrations. For example, in T373125: Use ESM in core for selenium tests this file didn't change and the CI didn't fail. (CI should fail because the rest of the codebase is using ESM.)

The file is currently located in tests/selenium/docs/Stack/ instead of in tests/selenium/docs/Stack/spec, to make it explicit that it doesn't run in the CI.

An idea from @Peter is to add && node tests/selenium/docs/Stack/webdriverio.js to selenium-test.

AC

Event Timeline

AMarkossyan-WMF renamed this task from `tests/selenium/docs/Stack/webdriverio.js` does not run in CI to Make `tests/selenium/docs/Stack/webdriverio.js` run in CI.Aug 11 2025, 3:59 PM
zeljkofilipin changed the task status from Open to In Progress.Aug 13 2025, 10:44 AM
zeljkofilipin triaged this task as Medium priority.
zeljkofilipin moved this task from Backlog to In Progress on the Test Platform (dek unu 11) board.

Change #1178510 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/core@master] WIP selenium: Run webdriverio.js in CI

https://gerrit.wikimedia.org/r/1178510

Change #1178510 merged by jenkins-bot:

[mediawiki/core@master] selenium: Run `webdriverio.js` in CI

https://gerrit.wikimedia.org/r/1178510

Change #1181102 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/core@master] WIP selenium: Fix selenium-test

https://gerrit.wikimedia.org/r/1181102

Change #1181102 merged by jenkins-bot:

[mediawiki/core@master] selenium: Fix Selenium tests in Quickstart

https://gerrit.wikimedia.org/r/1181102

SDunlap moved this task from dek du 12 to dek tri 13 on the Test Platform board.
SDunlap moved this task from dek tri 13 to dek du 12 on the Test Platform board.