From: Kefu Chai Date: Sun, 14 Jun 2026 01:23:39 +0000 (+0800) Subject: mgr/dashboard: fix "welcome" page reference in add-host e2e feature X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d688bc8f341df846d89f7c119b5528fe367ad66c;p=ceph.git 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 --- 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