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
| Repository | Task | WebdriverIO | v9 T363704 | Gerrit | Error | Fixed | Comment |
|---|---|---|---|---|---|---|---|
| mediawiki/extensions/AbuseFilter | T396434 | 7 | โ | 1190998 | element () still not clickable after 10000ms | Tests 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/AchievementBadges | T396435 | 7 | โ | 1191000 | Cannot 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/AdvancedSearch | T405457 | 7 | โ | 1191001 | received?.getElement is not a function | Tests fail | |
| Error: expect(received).toStrictEqual(expected) // deep equality | |||||||
| mediawiki/extensions/CentralNotice | T405458 | 9 | โ | 1191002 | Tests don't run in CI | ||
| โ | Blocked on T406565 | ||||||
| mediawiki/extensions/CirrusSearch/tests/integration | T405466 | 7 | โ | 1191013 | I ran tests for your patch and there were some errors: Encountered 0 failures. | Tests don't run in CI | |
| mediawiki/extensions/CirrusSearch/tests/selenium | T405466 | 7 | โ | ||||
| mediawiki/extensions/ContentTranslation | T398096 | 9 | โ | 1191015 | Tests don't run in CI | ||
| mediawiki/extensions/OpenIDConnect | T405563 | 9 | โ | 1191316 | Tests don't run in CI | ||
| mediawiki/extensions/ReportIncident | T396939 | 7 | โ | 1191320 | Element <> did not become interactable | Tests fail | |
| mediawiki/extensions/Sanctions | T396949 | 9 | โ | 1191325 | Cannot read properties of undefined (reading 'mwUser') | โ | |
| The setValue/addValue command only take string or number values | โ | ||||||
| mediawiki/extensions/TwoColConflict | T396966 | 7 | โ | 1191331 | Cannot 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/client | T405566 | 7 | โ | ||||
| mediawiki/extensions/Wikibase/repo | T405566 | 7 | โ | 1191340 | npm error ERESOLVE could not resolve | Blocked on T406844 | |
| mediawiki/extensions/WikiLambda | T398984 | 7 | โ | 1191345 | expect(...).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 |