Skip to content

Commit ddfecdc

Browse files
authored
Switch e2e screenshot browser to firefox-esr (#881)
Chrome 147+ fails to produce --headless --screenshot images in the e2e container (Page.captureScreenshot regression), which made the e2e-test job exhaust its 30-min polling window and fail. Replace google-chrome-stable with firefox-esr from the Mozilla Team PPA (base image is Ubuntu 24.04 Noble). The shared browser-helpers.sh in ghcr.io/guysoft/custompios:devel now prefers firefox-esr/firefox and falls back to Chrome, so this pairs with the CustomPiOS helper update. Validated locally: firefox-esr 140.13.0esr installs and --headless --no-remote --screenshot emits a real PNG.
1 parent b24c43a commit ddfecdc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

testing/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ FROM ptrsr/pi-ci:latest
66
ENV LIBGUESTFS_BACKEND=direct
77

88
RUN apt-get update && apt-get install -y --no-install-recommends \
9-
sshpass openssh-client curl socat imagemagick wget gnupg \
10-
dbus dbus-x11 fonts-liberation tesseract-ocr \
11-
&& wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg \
12-
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
13-
&& apt-get update && apt-get install -y --no-install-recommends google-chrome-stable \
9+
sshpass openssh-client curl socat imagemagick wget gnupg ca-certificates \
10+
dbus dbus-x11 fonts-liberation fonts-noto-cjk tesseract-ocr \
11+
software-properties-common \
12+
&& add-apt-repository -y ppa:mozillateam/ppa \
13+
&& apt-get update && apt-get install -y --no-install-recommends firefox-esr \
1414
&& rm -rf /var/lib/apt/lists/*
1515

1616
COPY --from=custompios /CustomPiOS/distro_testing/scripts/ /test/scripts/

0 commit comments

Comments
 (0)