Repository navigation
fix(ci): pin e2e runner to ubuntu-24.04 so Playwright can install - #618
Merged
Merged
Conversation
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.
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 19.0 #618 +/- ##
=======================================
Coverage 77.34% 77.34%
=======================================
Files 751 751
Lines 48899 48899
=======================================
Hits 37822 37822
Misses 11077 11077
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:ubuntu-latestnow resolves to the Ubuntu 26.04 image, and the Playwright version ine2e/package-lock.json(1.60.0) cannot install its browser dependencies there. The previous E2E run on19.0(2026-10-08) was green, so this is unrelated to #605.How was the change implemented?
Pin the
e2ejob toruns-on: ubuntu-24.04. Thenotifyjob does not install Playwright and stays onubuntu-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.0and onworkflow_dispatch, so it does not run on this PR by itself. A manual dispatch on this branch is linked in the comments below.