From ae306cb147c66cf0292cb4ab0ab3dde85adea7f3 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Tue, 21 Apr 2026 22:42:47 +0200 Subject: [PATCH] fix installation --- tools/test-e2e.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/test-e2e.sh b/tools/test-e2e.sh index bce3973a9d0..5328ddc4f11 100755 --- a/tools/test-e2e.sh +++ b/tools/test-e2e.sh @@ -62,7 +62,11 @@ detect_playwright_mode if [ "$CMD" = "install" ]; then if [ "$PLAYWRIGHT_MODE" = "local" ]; then # on Github Actions VMs, playwright's system deps are preinstalled - pnpm exec playwright install "$(if [ -z "${GITHUB_ACTIONS:-}" ]; then echo "--with-deps"; fi)" chromium firefox ${PLAYWRIGHT_FLAGS:-} + if [ -z "${GITHUB_ACTIONS:-}" ]; then + pnpm exec playwright install --with-deps chromium firefox ${PLAYWRIGHT_FLAGS:-} + else + pnpm exec playwright install chromium firefox ${PLAYWRIGHT_FLAGS:-} + fi else echo "Running playwright in container as host distro is not supported by playwright directly" ${CONTAINER_RUNTIME:-docker} pull "mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble"