Skip to content

fix(e2e): stabilize playwright chromium tests and prune non-chromium browsers#2764

Merged
DerekRoberts merged 4 commits into
mainfrom
feat/stabilize-chromium-e2e
Jun 13, 2026
Merged

fix(e2e): stabilize playwright chromium tests and prune non-chromium browsers#2764
DerekRoberts merged 4 commits into
mainfrom
feat/stabilize-chromium-e2e

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Jun 13, 2026

Copy link
Copy Markdown
Member

This PR stabilizes the E2E test runs in CI and cleans up unused browser configurations to optimize pipeline execution.

Changes Included:

  • Playwright Configuration:
    • Added --no-sandbox and --disable-setuid-sandbox launch arguments for Chromium, gated behind process.env.CI === 'true' to bypass unprivileged namespace restrictions in GHA runners (ubuntu-24.04).
    • Gated ignoreHTTPSErrors under process.env.CI === 'true' || process.env.E2E_IGNORE_HTTPS_ERRORS === 'true' to allow bypassing self-signed cert checks in target test environments without exposing local dev setups.
    • Removed Firefox, Safari (WebKit), and Microsoft Edge browser projects from local configurations.
  • Workflow Optimization:
    • Removed matrix strategy from the e2e-tests job in .github/workflows/reusable-tests.yml to rename the job from E2E (chromium) to just E2E.
    • Pruned Firefox and Safari from the E2E matrix to reduce pipeline execution time and resource utilization, focusing E2E verification purely on Chromium.

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:

Copilot AI review requested due to automatic review settings June 13, 2026 06:17

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

This PR updates the frontend Playwright E2E setup to reduce browser-launch/navigation flakiness in CI by adjusting browser launch flags, TLS handling, and navigation wait conditions.

Changes:

  • Configure Playwright to ignore HTTPS certificate errors during tests.
  • Add Chromium-based launch arguments (--no-sandbox, --disable-setuid-sandbox) for Chromium/Chrome/Edge projects.
  • Update the dashboard page navigation to wait for domcontentloaded.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
frontend/playwright.config.ts Adjusts shared Playwright use options and adds Chromium launch flags to improve CI stability.
frontend/e2e/pages/dashboard.ts Tweaks initial navigation wait condition to reduce load-event-related timeouts/flakes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread frontend/playwright.config.ts
Comment thread frontend/playwright.config.ts Outdated
Comment thread frontend/playwright.config.ts Outdated
Comment thread frontend/playwright.config.ts Outdated
@DerekRoberts DerekRoberts self-assigned this Jun 13, 2026
@DerekRoberts DerekRoberts changed the title fix(frontend): stabilize playwright chromium browser launch and timeouts fix(e2e): stabilize playwright chromium tests and prune non-chromium browsers Jun 13, 2026
@DerekRoberts DerekRoberts merged commit 913b9f6 into main Jun 13, 2026
34 of 37 checks passed
@DerekRoberts DerekRoberts deleted the feat/stabilize-chromium-e2e branch June 13, 2026 07:43
@github-project-automation github-project-automation Bot moved this from New to Done in DevOps (NR) Jun 13, 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