Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: fix Ubuntu 22.04 WebKit on 20.04 host (#28068)
Max Schmitt6d3913f45957
diff --git a/utils/docker/Dockerfile.jammy b/utils/docker/Dockerfile.jammyindex fc0364de5c..d7c70a729c 100644--- a/utils/docker/Dockerfile.jammy+++ b/utils/docker/Dockerfile.jammy@@ -40,6 +40,15 @@ RUN mkdir /ms-playwright && \npm i /tmp/playwright-core.tar.gz && \npm exec --no -- playwright-core mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \npm exec --no -- playwright-core install --with-deps && rm -rf /var/lib/apt/lists/* && \+ # Workaround for https://github.com/microsoft/playwright/issues/27313+ # While the gstreamer plugin load process can be in-process, it ended up throwing+ # an error that it can't have libsoup2 and libsoup3 in the same process because+ # libgstwebrtc is linked against libsoup2. So we just remove the plugin.+ if [ "$(uname -m)" = "aarch64" ]; then \+ rm /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstwebrtc.so; \+ else \+ rm /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtc.so; \+ fi && \rm /tmp/playwright-core.tar.gz && \rm -rf /ms-playwright-agent && \rm -rf ~/.npm/ && \