Skip to content

Commit bdfcc8a

Browse files
authored
Switch to Chrome for Testing and drop support for Chromium (#824)
We started installing Chromium because there is no linux ARM support for Chrome yet. However, trying to run tests on Chromium seems to be extra challenging. For example, upgrading to Debian 12 causes our Javascript tests to fail on Chromium but not on Chrome. Chrome for Testing was built specifically for web app testing so let's follow Google's recommendation.
1 parent 21a0351 commit bdfcc8a

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

image/discourse_test/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ RUN chown -R discourse . &&\
1717

1818
FROM base AS with_browsers
1919

20-
ENV TESTEM_DEFAULT_BROWSER Chromium
21-
ADD install-chrome /tmp/install-chrome
22-
RUN /tmp/install-chrome &&\
20+
RUN npx @puppeteer/browsers install chrome@stable &&\
2321
apt update &&\
2422
apt install -y libgconf-2-4 libxss1 firefox-esr &&\
2523
cd /tmp && wget -q "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" -O firefox.tar.bz2 &&\

image/discourse_test/install-chrome

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)