Skip to content

Make local E2E runner reuse Chrome - #7

Merged
chudodey merged 1 commit into
mainfrom
codex/e2e-local-runner-fallback
Aug 1, 2026
Merged

chudodey merged 1 commit into
mainfrom
codex/e2e-local-runner-fallback

Conversation

@chudodey

@chudodey chudodey commented Aug 1, 2026

Copy link
Copy Markdown
Owner

What changed

  • probe Playwright Chromium and the system Chrome before downloading a browser
  • download Chromium only when neither local option can launch
  • document the fallback behavior

Why

The first Playwright browser download stalled on this development machine even though system Chrome was already available. The documented one-command E2E runner should succeed in that common setup instead of performing an unnecessary network download.

Validation

  • python scripts/run_e2e.py — 5 passed using the local Chrome fallback
  • ruff check scripts/run_e2e.py

@chudodey
chudodey marked this pull request as ready for review August 1, 2026 13:13
@chudodey
chudodey merged commit 56317e1 into main Aug 1, 2026
3 checks passed
@chudodey
chudodey deleted the codex/e2e-local-runner-fallback branch August 1, 2026 13:15
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.

1 participant