]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: cypress failure after angular upgrade
authorNizamudeen A <nia@redhat.com>
Sun, 9 Feb 2025 16:12:59 +0000 (21:42 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 13 Mar 2025 04:47:18 +0000 (10:17 +0530)
commita80aa1a84a324296106d4de7f2cb9b3c52b7a134
tree76699694216f8c9761e536a4b6a096bb8a036bf1
parent09d3e67fd2ff45a669ad39cd1d19276b92b1e775
mgr/dashboard: cypress failure after angular upgrade

after angular upgrade, the tests started failing with
An uncaught error was detected outside of a test:
     TypeError: The following error originated from your test code, not from Cypress.
Cannot read properties of undefined (reading 'value')

which seems to originate from the page-helper.po. So handling the
undefined value.

Example run: https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/17541/consoleFull#204663575173a8703b-5adb-41c5-84a0-8cf4e065ba3d

Fixes: https://tracker.ceph.com/issues/68871
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/page-helper.po.ts