Skip to content

fix(ci): pin e2e runner to ubuntu-24.04 so Playwright can install - #618

Merged
gonzalesedwin1123 merged 1 commit into
19.0from
fix-e2e-runner-pin
Dec 2, 2026
Merged

gonzalesedwin1123 merged 1 commit into
19.0from
fix-e2e-runner-pin

Conversation

@gonzalesedwin1123

Copy link
Copy Markdown
Member

Why is this change needed?

The E2E Tests workflow is red on 19.0 (run 46836562077, on the #605 merge). Both e2e jobs fail at "Install Playwright", before any test runs:

BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu26.04-x64 as a fallback.
Cannot install dependencies for ubuntu26.04-x64 with Playwright 1.60.0!
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

ubuntu-latest now resolves to the Ubuntu 26.04 image, and the Playwright version in e2e/package-lock.json (1.60.0) cannot install its browser dependencies there. The previous E2E run on 19.0 (2026-10-08) was green, so this is unrelated to #605.

How was the change implemented?

Pin the e2e job to runs-on: ubuntu-24.04. The notify job does not install Playwright and stays on ubuntu-latest.

Bumping Playwright is the alternative, but it changes the browser under every e2e test and I have not confirmed which release supports 26.04, so it is left for a separate change.

How to test

The workflow only triggers on push to 19.0 and on workflow_dispatch, so it does not run on this PR by itself. A manual dispatch on this branch is linked in the comments below.

ubuntu-latest now resolves to Ubuntu 26.04, which the locked Playwright (1.60.0) cannot install chromium dependencies on, so both e2e jobs fail before any test runs.
@gonzalesedwin1123

Copy link
Copy Markdown
Member Author

Manual E2E dispatch on this branch: https://github.com/OpenSPP/OpenSPP2/actions/runs/46885008933 — the "Install Playwright" step now succeeds on both jobs (it was the failing step on 19.0); the specs themselves are still running.

@codecov

codecov Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.34%. Comparing base (9ef9366) to head (8b75c94).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             19.0     #618   +/-   ##
=======================================
  Coverage   77.34%   77.34%           
=======================================
  Files         751      751           
  Lines       48899    48899           
=======================================
  Hits        37822    37822           
  Misses      11077    11077           
Flag Coverage Δ
spp_base_common 91.07% <ø> (ø)
spp_programs 67.58% <ø> (ø)
spp_registry 89.00% <ø> (ø)
spp_security 69.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gonzalesedwin1123
gonzalesedwin1123 merged commit 49212ab into 19.0 Dec 2, 2026
22 checks passed
@gonzalesedwin1123
gonzalesedwin1123 deleted the fix-e2e-runner-pin branch December 2, 2026 13:31
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