Skip to content

fix: simplify Playwright browser installation steps#652

Merged
Wikid82 merged 2 commits intomainfrom
hotfix/ci
Feb 4, 2026
Merged

fix: simplify Playwright browser installation steps#652
Wikid82 merged 2 commits intomainfrom
hotfix/ci

Conversation

@Wikid82
Copy link
Owner

@Wikid82 Wikid82 commented Feb 4, 2026

Remove overly complex verification logic that was causing all browser jobs to fail. Browser installation should fail fast and clearly if there are issues.

Changes:

  • Remove multi-line verification scripts from all 3 browser install steps
  • Simplify to single command: npx playwright install --with-deps {browser}
  • Let install step show actual errors if it fails
  • Let test execution show "browser not found" errors if install incomplete

Rationale:

  • Previous complex verification (using grep/find) was the failure point
  • Simpler approach provides clearer error messages for debugging
  • Tests themselves will fail clearly if browsers aren't available

Expected outcome:

  • Install steps show actual error messages if they fail
  • If install succeeds, tests execute normally
  • If install "succeeds" but browser is missing, test step shows clear error

Timeout remains at 45 minutes (accommodates 10-15 min install + execution)

Remove overly complex verification logic that was causing all browser
jobs to fail. Browser installation should fail fast and clearly if
there are issues.

Changes:
- Remove multi-line verification scripts from all 3 browser install steps
- Simplify to single command: npx playwright install --with-deps {browser}
- Let install step show actual errors if it fails
- Let test execution show "browser not found" errors if install incomplete

Rationale:
- Previous complex verification (using grep/find) was the failure point
- Simpler approach provides clearer error messages for debugging
- Tests themselves will fail clearly if browsers aren't available

Expected outcome:
- Install steps show actual error messages if they fail
- If install succeeds, tests execute normally
- If install "succeeds" but browser is missing, test step shows clear error

Timeout remains at 45 minutes (accommodates 10-15 min install + execution)
Copilot AI review requested due to automatic review settings February 4, 2026 17:09
@Wikid82 Wikid82 merged commit e56e765 into main Feb 4, 2026
7 of 8 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the Playwright browser installation process in the E2E test workflow by removing complex verification logic that was causing all browser jobs to fail. The change replaces multi-line bash scripts with a single, straightforward installation command for each browser (Chromium, Firefox, WebKit).

Changes:

  • Simplified browser installation from 27 lines to 1 line per browser job
  • Removed verification scripts that used grep/find commands to check for browser executables
  • Retained fail-fast behavior where installation errors will immediately halt the workflow
  • Maintained consistent 45-minute timeout for installation and test execution

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

❌ E2E Test Results: FAILED (Split Browser Jobs)

Some browser tests failed. Each browser runs independently.

Browser Results (Sequential Execution)

Browser Status Shards Execution
Chromium ⚠️ cancelled 1 Sequential
Firefox ❌ Failed 1 Sequential
WebKit ❌ Failed 1 Sequential

Phase 1 Hotfix Active: Each browser runs in a separate job. One browser failure does not block others.

📊 View workflow run & download reports


🤖 Phase 1 Emergency Hotfix - See docs/plans/browser_alignment_triage.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants