Page MenuHomePhabricator

Upgrade WebdriverIO to the latest version 7 in MobileFrontend
Closed, ResolvedPublic

Description

Status

  • Upgrading webdriverIO to v7 is failing with the Error : Unable to load spec files quite likely because they rely on browser object that is not fully initialised.
  • Selenium test in MobileFrontend needs Node v12 supports, but still running on Node v10. refer : T284731
  • Installing Dependencies on Node v12 are creating package-lock.json version 2 instead of 1
  • Refer : Patch

Event Timeline

Change 702977 had a related patch set uploaded (by Zfilipin; author: Sahilgrewalhere):

[mediawiki/extensions/MobileFrontend@master] selenium: Upgrade WebdriverIO to v7

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

zeljkofilipin raised the priority of this task from Medium to Needs Triage.Sep 17 2021, 9:50 AM
zeljkofilipin changed the task status from Open to In Progress.Sep 28 2021, 4:58 PM
zeljkofilipin claimed this task.
zeljkofilipin triaged this task as Medium priority.

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

[mediawiki/extensions/MobileFrontend@master] selenium: Upgrade WebdriverIO to v7

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

Change 702977 abandoned by Zfilipin:

[mediawiki/extensions/MobileFrontend@master] selenium: Upgrade WebdriverIO to v7

Reason:

I'm not sure what went wrong with this commit. I've created a new one and there are no problems. https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/724731

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

Change 724731 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] selenium: Upgrade WebdriverIO to v7

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