From 7cdfe773bab783f2d9510ca74cb2d232828bd115 Mon Sep 17 00:00:00 2001 From: Mario Lukac Date: Mon, 30 Nov 2026 09:34:15 +0100 Subject: [PATCH] UoE/ci(e2e): pin Chrome 157 until Cypress supports Chrome 158 Since GitHub runners moved to Chrome 158 (2026-11-26), Cypress 14.5.4 aborts at the start of the second spec with "* is not a valid URL" (cypress-io/cypress#35195), so every e2e run fails. Use the existing CHROME_VERSION switch to install Chrome 157. Upstream fixes this by upgrading to Cypress 15 (DSpace/dspace-angular#6560), which drops Node 18 from CI; unpin once that lands here. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a045679fe79..5c7ed28ea0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,7 +56,9 @@ jobs: DSPACE_INFO_ENABLECOOKIECONSENTPOPUP: false # When Chrome version is specified, we pin to a specific version of Chrome # Comment this out to use the latest release - #CHROME_VERSION: "90.0.4430.212-1" + # Pinned to 157: Cypress 14.x aborts on Chrome 158 ("* is not a valid URL", cypress-io/cypress#35195). + # Unpin after upgrading to Cypress 15 (upstream DSpace/dspace-angular#6560). + CHROME_VERSION: "157.0.8103.78-1" # Bump Node heap size (OOM in CI after upgrading to Angular 15) NODE_OPTIONS: '--max-old-space-size=4096' # Project name to use when running "docker compose" prior to e2e tests