Page MenuHomePhabricator

Fix running selenium/cypress tests for Wikibase
Open, Needs TriagePublic

Description

AC

Fix for Cypress: https://gitlab.wikimedia.org/repos/test-platform/mediawiki-quickstart/-/merge_requests/68/diffs

Fix for Selenium: see note https://phabricator.wikimedia.org/T384032#11613051

Notes

  • Local P87990
    • ✖ 12 of 12 failed (100%)
  • CI P87989
    • ✖ 12 of 12 failed (100%)

Event Timeline

zeljkofilipin renamed this task from Fix Wikibase manifest so Selenium tests pass to Fix running selenium/cypress tests for Wikibase.Jan 27 2026, 11:47 AM
zeljkofilipin changed the task status from Open to In Progress.Jan 28 2026, 10:46 AM
zeljkofilipin claimed this task.
zeljkofilipin triaged this task as High priority.
zeljkofilipin moved this task from Backlog 🪒 to Deep work 🌊 on the User-zeljkofilipin board.
zeljkofilipin changed the task status from Stalled to Open.Jan 29 2026, 5:45 PM
zeljkofilipin changed the task status from Open to Stalled.
zeljkofilipin removed zeljkofilipin as the assignee of this task.
zeljkofilipin raised the priority of this task from High to Needs Triage.
zeljkofilipin moved this task from Doing to Prioritized on the Browser Test Platform board.
zeljkofilipin moved this task from Deep work 🌊 to Waiting 🏹 on the User-zeljkofilipin board.
zeljkofilipin changed the task status from Stalled to Open.Feb 9 2026, 3:02 PM

Cypress tests now pass with this patch

Wikibase's wdio selenium tests fail because repo/tests/selenium/wdio.conf.js and client/tests/selenium/wdio.conf.js use __dirname (CommonJS) while running in ES module context

Fix: update wdio-mediawiki from 5.1.0 to latest (6.2.0) and replace bare __dirname in those two files with the new Util.dirname() helper

@zeljkofilipin @Peter Could you guys handle the wdio-mediawiki upgrade?

Mhurd updated the task description. (Show Details)

Wikibase's wdio selenium tests fail because repo/tests/selenium/wdio.conf.js and client/tests/selenium/wdio.conf.js use __dirname (CommonJS) while running in ES module context

Fix: update wdio-mediawiki from 5.1.0 to latest (6.2.0) and replace bare __dirname in those two files with the new Util.dirname() helper

@zeljkofilipin @Peter Could you guys handle the wdio-mediawiki upgrade?

I'll take care of that.

Mhurd removed Mhurd as the assignee of this task.Fri, Mar 13, 8:38 PM
Mhurd subscribed.