Commit a80aa1a
committed
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 <[email protected]>1 parent 09d3e67 commit a80aa1a
File tree
1 file changed
+13
-11
lines changed- src/pybind/mgr/dashboard/frontend/cypress/e2e
1 file changed
+13
-11
lines changedLines changed: 13 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments