Page MenuHomePhabricator

Speed up webdriverIO tests for VisualEditor
Closed, ResolvedPublic

Description

With the update to wdio-mediawiki 6.3.0 we run tests run in parallel in CI. Let's use that and try to make the VisualEditor tests to run faster, so that the gated extension job also is faster.

There's a couple of speed improvements that we can do:

  • Try to get rid of the browser.reloadSession that is known to be slow
  • Split the longest test suite into multiple. Today there are two test suites and we can run six in parallel in CI. If We split them, they can run in parallel

Acceptance criteria:

  • TODO

Event Timeline

Change #1247564 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[mediawiki/extensions/VisualEditor@master] selenium: Remove the browser.reloadSession

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

Change #1247583 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[mediawiki/extensions/VisualEditor@master] selenium: Split the editable tests to two test suites, one for formatting text

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

Peter updated the task description. (Show Details)

Change #1247583 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] selenium: Split the editable tests to two test suites

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

Change #1247564 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] selenium: Remove the browser.reloadSession since it's slow

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

Peter moved this task from In Review to Done on the Test Platform (Wernigerode 23) board.