Page MenuHomePhabricator

Evaluate how to make it easy for the user to record videos in the CI for webdriverIO
Closed, ResolvedPublicSpike

Description

With the upcoming changes in T411784 we plan to disable automatic recording to reduce overhead. What's then the easiest way for CI users to record a video of failing tests? Or for retries?

You can turn on the video recording by a setting in the wdio-configuration, however today it's in the capabilities section. That means instead of adding just the key/value you need to spread the values and make sure you add the old capabilities. That makes things a little bit harder.

There's a couple of different alternatives:

  • Change how we configure on/off video recording, so it's easier for developers to enable it.
  • Could it be a button in Gerrit?
  • Automatically record tests that do a retry
  • Other solutions
  • Keep as is

Acceptance criteria:

  • Evaluate different ways of doing and document pros and cons and if something should be done, create a follow up task

Details

Event Timeline

Restricted Application changed the subtype of this task from "Task" to "Spike". · View Herald TranscriptJan 20 2026, 12:55 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

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

[mediawiki/core@master] selenium: Move video and headless out of capabilities

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

Change #1229514 merged by jenkins-bot:

[mediawiki/core@master] selenium: Move video and headless out of capabilities

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

zeljkofilipin subscribed.

@Peter can this task be resolved?

We did "Change how we configure on/off video recording, so it's easier for developers to enable it."