Page MenuHomePhabricator

🚧 [MEX] E2E tests refactoring for better performance (Experimental)
Closed, ResolvedPublic

Description

Introduce new approaches for the E2E Cypress tests for the extension Wikibase to boost the performance and reduce the execution time.

The introduced new approaches:

  • Implement the login with session to avoid the manual login and use the existing login for each spec only once.
  • Dividing the E2E specs into multiple parallel processes to reduce the execution time (might consume more resources).
  • Use the MwApi:GetOrCreatePropertyIdByDataType instead of MwApi:CreateProperty when possible.

Note:
The E2E parallel processes will be handled in a different task.

Event Timeline

Change #1228594 had a related patch set uploaded (by Mahmoud-abdelsattar; author: Mahmoud-abdelsattar):

[mediawiki/extensions/Wikibase@master] E2E performance optimization new approaches

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

mahmoud.abdelsattar.wmde renamed this task from [MEX] E2E tests refactoring for better performance (Experimental) to 🚧 [MEX] E2E tests refactoring for better performance (Experimental).Jan 22 2026, 1:50 PM

Change #1228594 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] E2E performance optimization new approaches

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