From c06ba504a760287293d579b68a76f098a8d13938 Mon Sep 17 00:00:00 2001 From: coutoPL Date: Thu, 17 Sep 2026 12:24:17 +0200 Subject: [PATCH 1/2] Cap the spacesPlugin wait at Kibana 9.5.3 Kibana 9.5.4 no longer loads the spaces.chunk bundle on a tenancy switch, so the intercept never fires and cy.wait('@spacesPlugin') times out. Mirrors the fix already applied in readonlyrest_kbn's automatic-tests copy (PR #1043). --- .../page-objects/RoAndRoStrictKibanaAccessAssertions.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e2e-tests/cypress/support/page-objects/RoAndRoStrictKibanaAccessAssertions.ts b/e2e-tests/cypress/support/page-objects/RoAndRoStrictKibanaAccessAssertions.ts index 76b9070a..9afcf187 100644 --- a/e2e-tests/cypress/support/page-objects/RoAndRoStrictKibanaAccessAssertions.ts +++ b/e2e-tests/cypress/support/page-objects/RoAndRoStrictKibanaAccessAssertions.ts @@ -140,11 +140,15 @@ export class RoAndRoStrictKibanaAccessAssertions { } private static changeTenancyAndAwaitSpaces(tenancyName: string) { - if (semver.gte(getKibanaVersion(), '9.4.0')) { + const shouldAwaitSpacesPlugin = semver.gte(getKibanaVersion(), '9.4.0') && semver.lte(getKibanaVersion(), '9.5.3'); + + if (shouldAwaitSpacesPlugin) { cy.intercept('*/bundles/plugin/spaces/1.0.0/spaces.chunk*').as('spacesPlugin'); } + RorMenu.changeTenancy(tenancyName); - if (semver.gte(getKibanaVersion(), '9.4.0')) { + + if (shouldAwaitSpacesPlugin) { cy.wait('@spacesPlugin'); } } From 9845e77731246d393b31647bc3906445374f02ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Ko=C5=82odziejczyk?= Date: Thu, 17 Sep 2026 12:30:30 +0200 Subject: [PATCH 2/2] versions bump --- .github/workflows/all-e2e-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/all-e2e-tests.yml b/.github/workflows/all-e2e-tests.yml index 26976577..a82c29ce 100644 --- a/.github/workflows/all-e2e-tests.yml +++ b/.github/workflows/all-e2e-tests.yml @@ -22,7 +22,7 @@ concurrency: env: APPLY_RESOURCE_LIMITS: "auto" # Newest first: a failure on the newest line is the one to see first in the run UI. - ELK_VERSIONS: "9.5.3 9.4.6 8.19.21 7.17.29" + ELK_VERSIONS: "9.5.4 9.4.7 8.19.21 7.17.29" ECK_3X: eck-3.5.0 ECK_2X: eck-2.16.1