Page MenuHomePhabricator

Update Wikibase to use wdio-mediawiki 6.X.0
Closed, ResolvedPublic2 Estimated Story Points

Description

This removes the mwbot dependency and make it easier for us to update our performance changes.

This needs to be done in a couple of steps:

  • Update the wdio-wikibase package. I done a PR and not sure if we need to add the functionality to add a cookie for the API calls first.
  • Update Wikibase to use the new package

Acceptance Criteria:

  • Wikibase uses wdio-mediawiki 6.X.0

Event Timeline

Change #1235793 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[mediawiki/core@master] selenium: Add option to set extra cookies for the API

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

Peter set the point value for this task to 2.Feb 3 2026, 7:06 AM
Peter edited projects, added: Test Platform (Tkaronto Marathon 22); removed: Test Platform.
Peter moved this task from Backlog to In Progress on the Test Platform (Tkaronto Marathon 22) board.

Change #1235623 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[mediawiki/extensions/Wikibase@master] webdriverio: Upgrade to wdio-mediaiki 6.1.

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

Peter changed the task status from Open to Stalled.Feb 16 2026, 6:05 AM

This needs to be merged and released before we can move on: https://github.com/wmde/wdio-wikibase/pull/97

And for that to happen, that PR needs to be updated with a released version of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1235793

Change #1235793 merged by jenkins-bot:

[mediawiki/core@master] selenium: Add option to set extra cookies for the API

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

Peter changed the task status from Stalled to In Progress.Mar 9 2026, 4:31 PM

The cookie change has been merged and released. I've updated the PR for wdio-wikibase to use the new code. When that gets merged and released, I can continue with the update in Wikibase.

Peter changed the task status from In Progress to Stalled.Mar 9 2026, 4:32 PM
Peter changed the task status from Stalled to In Progress.Apr 7 2026, 7:41 AM

The test passes however some tests are flakey so I'm doing some X amount of runs to make sure it works as good as it can.

Change #1268915 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[mediawiki/extensions/Wikibase@master] wdio: Test running the wdio tests 50 times

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

Change #1235623 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] webdriverio: Upgrade to wdio-mediaiki 6.5.1

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

Peter moved this task from In Review to Done on the Test Platform (Plovdiv 25) board.

Change #1268915 abandoned by Phedenskog:

[mediawiki/extensions/Wikibase@master] wdio: Test running the wdio tests 50 times

Reason:

This was only for testing stability

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