Page MenuHomePhabricator

Cleanup run-with-xvfb in CI
Open, Needs TriagePublic3 Estimated Story Points

Description

We can cleanup the run-with-xvfb.sh scripts we use in CI to make it cleaner,

  • In our CI we start chromedriver even though that webdrviver.io handles that itself, so that part could be removed.
  • We set the screen size to 1280x1024x24 (see T408325 on how that can be improved). With the fixes for xvfb we can remove the xvfb start/stop in CI (but then everyone needs to have upgraded to that wdio-mediawiki version). Maybe we can update the script to check if xvfb is running to have a smooth change.

https://gerrit.wikimedia.org/r/plugins/gitiles/integration/config/+/refs/heads/master/dockerfiles/node20-test-browser/run-with-xvfb.sh

AC:

  • Check if any extension/skin use a so old version of webdriver.io so it need Chromedriver to be started. If not, remove the chromedriver start/stop in the run-with-xvfb.sh script
  • Create a plan on how to change the XVFB screen size so that videos will record the new screen size and the fix can be rolled out without breaking extensions/skins that isn't updated yet.

Event Timeline

Peter set the point value for this task to 3.
Peter edited projects, added Test Platform (Taormina One 16); removed Test Platform.

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

[integration/config@master] Dockerfiles: Remove Chromedriver start/stop from browser images

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

Peter removed Peter as the assignee of this task.Jan 19 2026, 4:17 PM
Peter moved this task from Ready to Refine to Backlog on the Test Platform board.