Skip to content

perf(ci): scope playwright install to chromium in e2e tests - #2827

Merged
DerekRoberts merged 1 commit into
mainfrom
feat/optimize-e2e-playwright-install
Aug 18, 2026
Merged

perf(ci): scope playwright install to chromium in e2e tests#2827
DerekRoberts merged 1 commit into
mainfrom
feat/optimize-e2e-playwright-install

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary of Changes

Scopes npx playwright install --with-deps in .github/workflows/reusable-tests.yml to chromium.

Rationale

  • The E2E test step only executes tests under the Chromium project (--project="chromium").
  • Running npx playwright install --with-deps without a browser target downloads browser binaries for WebKit and Firefox and installs 180+ multimedia/desktop APT packages via sudo apt-get, causing jobs to hit the 10-minute timeout before tests even begin.
  • Explicitly targeting chromium restricts downloads and dependency checks strictly to what the test suite runs.

Verification

  • Inspected reusable-tests.yml to confirm command and test invocation alignment.

Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Target chromium in npx playwright install --with-deps to avoid downloading and installing unused WebKit/Firefox APT packages, preventing job timeouts.
Copilot AI balanced review requested due to automatic review settings August 18, 2026 19:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Scopes Playwright installation to the Chromium browser used by CI, reducing setup time and dependencies.

Changes:

  • Installs only Chromium and its system dependencies.
  • Aligns installation with the existing Chromium-only test command.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@DerekRoberts
DerekRoberts merged commit 943ca59 into main Aug 18, 2026
22 checks passed
@DerekRoberts
DerekRoberts deleted the feat/optimize-e2e-playwright-install branch August 18, 2026 20:02
@github-project-automation github-project-automation Bot moved this from New to Done in DevOps (NR) Aug 18, 2026
@DerekRoberts DerekRoberts self-assigned this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants