From d688bc8f341df846d89f7c119b5528fe367ad66c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 14 Jun 2026 09:23:39 +0800 Subject: [PATCH] mgr/dashboard: fix "welcome" page reference in add-host e2e feature 0fb99092ef2 renamed the cypress page-registry key "welcome" to "onboarding" in urls.po.ts and updated 01-create-cluster-welcome.feature, but missed the Background of 02-create-cluster-add-host.feature. so urlsCollection.pages["welcome"] is undefined and the step fails with TypeError: Cannot read properties of undefined (reading 'url') at cypress/e2e/common/global.feature.po.ts:12 this fails the Background of every scenario in the spec, and cascades to the later create-cluster specs that depend on the expanded cluster. update the reference to "onboarding" to match the registry. Signed-off-by: Kefu Chai --- .../orchestrator/workflow/02-create-cluster-add-host.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/02-create-cluster-add-host.feature b/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/02-create-cluster-add-host.feature index 4709f36e9c4..7228f0c67a6 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/02-create-cluster-add-host.feature +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/02-create-cluster-add-host.feature @@ -6,7 +6,7 @@ Feature: Cluster expansion host addition Background: Cluster expansion wizard Given I am logged in - And I am on the "welcome" page + And I am on the "onboarding" page And I click on "Add Storage" button Scenario Outline: Add hosts -- 2.47.3