]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
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)
commitd688bc8f341df846d89f7c119b5528fe367ad66c
treef6e179eff512baaa8e25b714b6e582c50a81b753
parentca0bc48a2a27f64176942b54341b640905c89a3e
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 <k.chai@proxmox.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/orchestrator/workflow/02-create-cluster-add-host.feature