Page MenuHomePhabricator

Update Code after patching WDIO-Mediawiki and WDIO-Wikibase
Closed, ResolvedPublic2 Estimated Story Points

Description

Current Situation:
we have implemented patches in wdio-mw and wdio-wb. After we make sure that mw and wb work like our patches would we want to do some spring cleaning. wdio-mw is what mw uses to test themselves. They do not use wdio8. Us moving up to wdio8 may break our tests sooner or later.

This library is also an interface that may change over time so that we would be forced to adapt.

To patch wb we know how to. Patching up mw is still an unknown task to this team.

Starting point:
Remove patches in:

  • test/helpers/WikibaseApiPatch.js
  • test/helpers/PagePatch.js
  • test/helpers/saveScreenshot.js
  • test/helpers/pages/SuiteLoginPage.js

Ensure code works

Note:
Requires T346623 and T347137 to be done

Event Timeline

RickiJay-WMDE changed the task status from Open to In Progress.Oct 30 2023, 4:21 PM
RickiJay-WMDE claimed this task.

Status:

wdio-wikibase is merged, and the updates to our code are merged as well.

wdio-mediawiki is in review, and we have a draft of the changes to our code needed.