From 7e2e0c4ff1185edf88a516c52099044758d9f9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbyn=C4=9Bk=20Dr=C3=A1pela?= Date: Mon, 9 Nov 2026 15:21:31 +0100 Subject: [PATCH] fix(e2e): mark Quick Access fixme on Kubernetes and seed the upgrade provider - Mark both Quick Access content tests test.fixme when IS_OPENSHIFT=false. The /developer-hub proxy target (test-backstage-customization-provider) is OpenShift-only, so AKS/GKE render the card's "Could not fetch data." state. Tracked in RHDHBUGS-4096; the previous RHDHBUGS-3950 was closed without restoring the coverage. - Deploy test-backstage-customization-provider in the OCP upgrade lane, which never provisioned it and left /api/proxy/developer-hub answering 503. Assisted-by: OpenCode --- .ci/pipelines/jobs/upgrade.sh | 2 ++ e2e-tests/playwright/e2e/guest-signin-happy-path.spec.ts | 4 ++-- e2e-tests/playwright/e2e/home-page-customization.spec.ts | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.ci/pipelines/jobs/upgrade.sh b/.ci/pipelines/jobs/upgrade.sh index 997a309de5..38c6f2ccf9 100644 --- a/.ci/pipelines/jobs/upgrade.sh +++ b/.ci/pipelines/jobs/upgrade.sh @@ -145,6 +145,8 @@ handle_ocp_helm_upgrade() { initiate_upgrade_base_deployments \ "${RELEASE_NAME}" "${NAME_SPACE}" "${url}" "${upgrade_artifacts_subdir}" "${previous_release_version}" + deploy_test_backstage_customization_provider "${NAME_SPACE}" + UPGRADE_PHASE="baseline-readiness" postgres::wait_ready "${NAME_SPACE}" "${RELEASE_NAME}" if ! testing::check_backstage_running "${RELEASE_NAME}" "${NAME_SPACE}" "${url}" "${upgrade_artifacts_subdir}/baseline"; then diff --git a/e2e-tests/playwright/e2e/guest-signin-happy-path.spec.ts b/e2e-tests/playwright/e2e/guest-signin-happy-path.spec.ts index 575248fd8e..4ee71c9ba5 100644 --- a/e2e-tests/playwright/e2e/guest-signin-happy-path.spec.ts +++ b/e2e-tests/playwright/e2e/guest-signin-happy-path.spec.ts @@ -33,9 +33,9 @@ test.describe("Guest Signing Happy path", () => { // only resolves to real content against the CI cluster's test-backstage-customization-provider // (DH_TARGET_URL); the cluster-free harness has no such target, so this can't run there. test("Verify the Homepage renders with Quick Access", async () => { - test.skip( + test.fixme( process.env.IS_OPENSHIFT === "false", - "Requires the OpenShift-only customization provider; restore Kubernetes coverage in RHDHBUGS-3950.", + "Requires the OpenShift-only customization provider; restore Kubernetes coverage in RHDHBUGS-4096.", ); await homePage.verifyWelcomeHeading(); await homePage.openHomeSidebar(); diff --git a/e2e-tests/playwright/e2e/home-page-customization.spec.ts b/e2e-tests/playwright/e2e/home-page-customization.spec.ts index 4b716b0b37..005aa0536c 100644 --- a/e2e-tests/playwright/e2e/home-page-customization.spec.ts +++ b/e2e-tests/playwright/e2e/home-page-customization.spec.ts @@ -54,9 +54,9 @@ test.describe("Home page customization", () => { ); test("Verify Customized Quick Access", async () => { - test.skip( + test.fixme( process.env.IS_OPENSHIFT === "false", - "Requires the OpenShift-only customization provider; restore Kubernetes coverage in RHDHBUGS-3950.", + "Requires the OpenShift-only customization provider; restore Kubernetes coverage in RHDHBUGS-4096.", ); // Expanded by default await homePage.verifyQuickAccess("Developer Tools", "Podman Desktop");