]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix "welcome" page reference in add-host e2e feature 69453/head
authorKefu Chai <k.chai@proxmox.com>
Sun, 14 Jun 2026 01:23:39 +0000 (09:23 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sun, 14 Jun 2026 01:27:52 +0000 (09:27 +0800)
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 <k.chai@proxmox.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/02-create-cluster-add-host.feature

index 4709f36e9c49dbc879450e3b51082717a8acebf4..7228f0c67a6204f2066af5b6eb7cf5628b3c0b3a 100644 (file)
@@ -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