Page MenuHomePhabricator

Add configuration to enable/disable video recording for webdriverio tests
Closed, ResolvedPublic1 Estimated Story Points

Description

Background:
Today we always record the screen of a webdriver.io test if the test do not run the browser with --headless. This makes it hard to measure the overhead of video recording, since you always need to hack the code to disable it. By adding a configuration you can more easily turn on/off the recording.

This is similar to T410607: Add configuration to enable/disable headless for webdriver.io tests.

Acceptance Criteria:

  • Add a configuration in wdio-defaults.conf.js for core that by default enables recording
  • If the configuration is switched, recording is turned off

Event Timeline

zeljkofilipin renamed this task from Add configuration to enable/disable video recording for webdriver.io tests to Add configuration to enable/disable video recording for webdriverio tests.Nov 20 2025, 3:18 PM
zeljkofilipin updated the task description. (Show Details)

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

[mediawiki/core@master] selenium: Add configuration to enable/disable video recording

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

Change #1210367 merged by jenkins-bot:

[mediawiki/core@master] selenium: Add configuration to enable/disable video recording

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

AMarkossyan-WMF set the point value for this task to 1.