Page MenuHomePhabricator

Only take screenshots on failures to even more lessen the CPU burden on CI
Closed, ResolvedPublic1 Estimated Story Points

Description

I've been going through optimizations we can do for our webdriverIO tests and the last thing I found that will make a little difference is to make it possible to configure our setup to only take screenshots on failures.

Acceptance Criteria:

  • Make it possible to configure WebdriverIO to only take screenshots on failure
  • Add settings so you a user can enable screenshots for all tests

Details

Related Changes in Gerrit:

Event Timeline

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

[mediawiki/core@master] selenium: Take screenshot only on failures

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

Change #1237495 merged by jenkins-bot:

[mediawiki/core@master] selenium: Take screenshot only on failures

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