Page MenuHomePhabricator

Upgrade WebdriverIO to v9 in all repositories
Closed, ResolvedPublic5 Estimated Story PointsSpike

Description

Proposed process to check which repositories can be migrated from WebdriverIO v7 to v9 with minimal effort.

  • If the task for updating the repository to v9 does not exist, create it. Check T363704: Upgrade WebdriverIO to v9 in all repositories.
  • Create a commit for all repositories with Selenium tests updating the repository to v9.
  • The commit updates only dependencies.
  • Push the commit to Gerrit.
  • Do not test locally.
  • In case of failure, fix it only if it's something simple. For example, configuration change. (Example.)
  • Limit the debugging of failures to 15 minutes.
  • Do not spend more than 8 hours on this task in total.
  • In case it's not easy to update the repository to v9, create a patch updating the repository to v8. See T402312: Upgrade WebdriverIO to v8 in all repositories.

AC

  • There is a commit for all repositories with Selenium tests updating the repository to v9

Notes

RepositoryTaskWebdriverIOv9 T363704GerritErrorFixedComment
mediawiki/extensions/AbuseFilterT3964347โŒ1190998element () still not clickable after 10000msTests fail
Element <> did not become interactable
Expected values to be strictly equal
Can't call setValue on element with selector "" because element wasn't found
mediawiki/extensions/AchievementBadgesT3964357โŒ1191000Cannot read properties of undefined (reading 'mwUser')โœ…Selenium tests pass. Blocked on T406830.
Error: The setValue/addValue command only take string or number values.โœ…
mediawiki/extensions/AdvancedSearchT4054577โŒ1191001received?.getElement is not a functionTests fail
Error: expect(received).toStrictEqual(expected) // deep equality
mediawiki/extensions/CentralNoticeT4054589โœ…1191002Tests don't run in CI
โœ…Blocked on T406565
mediawiki/extensions/CirrusSearch/tests/integrationT4054667โŒ1191013I ran tests for your patch and there were some errors: Encountered 0 failures.Tests don't run in CI
mediawiki/extensions/CirrusSearch/tests/seleniumT4054667โŒ
mediawiki/extensions/ContentTranslationT3980969โœ…1191015Tests don't run in CI
mediawiki/extensions/OpenIDConnectT4055639โœ…1191316Tests don't run in CI
mediawiki/extensions/ReportIncidentT3969397โŒ1191320Element <> did not become interactableTests fail
mediawiki/extensions/SanctionsT3969499โœ…1191325Cannot read properties of undefined (reading 'mwUser')โœ…
The setValue/addValue command only take string or number valuesโœ…
mediawiki/extensions/TwoColConflictT3969667โŒ1191331Cannot read properties of undefined (reading 'baseUrl')โœ…Tests fail
expect(...).toHaveAttributeContaining is not a functionโœ…
WebDriverError: javascript error: mw.loader.using is not a function
Expect $() not to be displayed
element () still not displayed after 5000ms
mediawiki/extensions/Wikibase/clientT4055667โŒ
mediawiki/extensions/Wikibase/repoT4055667โŒ1191340npm error ERESOLVE could not resolveBlocked on T406844
mediawiki/extensions/WikiLambdaT3989847โŒ1191345expect(...).toHaveUrlContaining is not a functionโœ…Tests fail
expect(received).toBe(expected) // Object.is equalityโœ…
WebDriverError: element click intercepted
waitUntil condition timed out after 10000ms
element () still not displayed after 15000ms

Event Timeline

Restricted Application changed the subtype of this task from "Task" to "Spike". ยท View Herald TranscriptAug 19 2025, 2:36 PM
Restricted Application added a subscriber: Aklapper. ยท View Herald Transcript

I like this approach, fixing all low hanging fruits. If we split the job between us we should be doable within one sprint. We can time box the time we spend so it will fit into one sprint,

zeljkofilipin changed the task status from Open to In Progress.Sep 23 2025, 4:33 PM
zeljkofilipin claimed this task.
zeljkofilipin triaged this task as High priority.