diff --git a/.github/workflows/e2e-tests-split.yml b/.github/workflows/e2e-tests-split.yml index f4aab083..7f54e397 100644 --- a/.github/workflows/e2e-tests-split.yml +++ b/.github/workflows/e2e-tests-split.yml @@ -200,18 +200,17 @@ jobs: - name: Install dependencies run: npm ci - - name: Install Playwright system dependencies - run: npx playwright install-deps chromium - - name: Install Playwright Chromium run: | echo "📦 Installing Chromium..." npx playwright install --with-deps chromium - echo "✅ Install command completed (exit code: $?)" + EXIT_CODE=$? + echo "✅ Install command completed (exit code: $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" + exit $EXIT_CODE - name: Run Chromium tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }}) run: | @@ -366,18 +365,17 @@ jobs: - name: Install dependencies run: npm ci - - name: Install Playwright system dependencies - run: npx playwright install-deps firefox - - name: Install Playwright Firefox run: | echo "📦 Installing Firefox..." npx playwright install --with-deps firefox - echo "✅ Install command completed (exit code: $?)" + EXIT_CODE=$? + echo "✅ Install command completed (exit code: $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" + exit $EXIT_CODE - name: Run Firefox tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }}) run: | @@ -532,18 +530,17 @@ jobs: - name: Install dependencies run: npm ci - - name: Install Playwright system dependencies - run: npx playwright install-deps webkit - - name: Install Playwright WebKit run: | echo "📦 Installing WebKit..." npx playwright install --with-deps webkit - echo "✅ Install command completed (exit code: $?)" + EXIT_CODE=$? + echo "✅ Install command completed (exit code: $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" + exit $EXIT_CODE - name: Run WebKit tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }}) run: |