From 1b662578687103e87a37f72891a4ba9232b63863 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 4 Feb 2026 17:27:35 +0000 Subject: [PATCH] fix(ci): enhance Playwright installation steps with system dependencies and cache checks --- .github/workflows/e2e-tests-split.yml | 36 ++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-tests-split.yml b/.github/workflows/e2e-tests-split.yml index 8523a175..f4aab083 100644 --- a/.github/workflows/e2e-tests-split.yml +++ b/.github/workflows/e2e-tests-split.yml @@ -200,8 +200,18 @@ jobs: - name: Install dependencies run: npm ci + - name: Install Playwright system dependencies + run: npx playwright install-deps chromium + - name: Install Playwright Chromium - run: npx playwright install --with-deps chromium + run: | + echo "📦 Installing Chromium..." + npx playwright install --with-deps chromium + echo "✅ Install command completed (exit code: $?)" + echo "📁 Checking browser cache..." + ls -lR ~/.cache/ms-playwright/ 2>/dev/null || echo "Cache directory not found" + echo "🔍 Searching for chromium executable..." + find ~/.cache/ms-playwright -name "*chromium*" -o -name "*chrome*" 2>/dev/null | head -10 || echo "No chromium files found" - name: Run Chromium tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }}) run: | @@ -356,8 +366,18 @@ jobs: - name: Install dependencies run: npm ci + - name: Install Playwright system dependencies + run: npx playwright install-deps firefox + - name: Install Playwright Firefox - run: npx playwright install --with-deps firefox + run: | + echo "📦 Installing Firefox..." + npx playwright install --with-deps firefox + echo "✅ Install command completed (exit code: $?)" + echo "📁 Checking browser cache..." + ls -lR ~/.cache/ms-playwright/ 2>/dev/null || echo "Cache directory not found" + echo "🔍 Searching for firefox executable..." + find ~/.cache/ms-playwright -name "*firefox*" 2>/dev/null | head -10 || echo "No firefox files found" - name: Run Firefox tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }}) run: | @@ -512,8 +532,18 @@ jobs: - name: Install dependencies run: npm ci + - name: Install Playwright system dependencies + run: npx playwright install-deps webkit + - name: Install Playwright WebKit - run: npx playwright install --with-deps webkit + run: | + echo "📦 Installing WebKit..." + npx playwright install --with-deps webkit + echo "✅ Install command completed (exit code: $?)" + echo "📁 Checking browser cache..." + ls -lR ~/.cache/ms-playwright/ 2>/dev/null || echo "Cache directory not found" + echo "🔍 Searching for webkit executable..." + find ~/.cache/ms-playwright -name "*webkit*" -o -name "*MiniBrowser*" 2>/dev/null | head -10 || echo "No webkit files found" - name: Run WebKit tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }}) run: |