Cleanup #59142
closed
mgr/dashboard: fix e2e for dashboard v3
Added by Nizamudeen A about 1 year ago.
Updated 3 months ago.
Category:
Component - Landing Page
Description
After we enabled the dashboard v3 in our branches, the e2e's are failing since those are not adapted. We should create e2e's for those.
Also the applitools are failing, probably we'll need to update it with the screenshots.
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/12381/consoleFull
Dashboard Main Page
1) Should check that dashboard cards have correct information
Check that all hyperlinks on info cards lead to the correct page and fields exist
2) should ensure that all linked info cards lead to correct page
3) should verify that info cards exist on dashboard in proper order
4) should verify that info card group titles are present and in the right order
0 passing (17m)
4 failing
1) Dashboard Main Page
Should check that dashboard cards have correct information:
AssertionError: Timed out retrying after 120000ms: Expected to find element: `cd-info-card`, but never found it.
at DashboardPageHelper.infoCard (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1072:12)
at DashboardPageHelper.infoCardBodyText (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1081:21)
at _loop_1 (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1014:23)
at Context.eval (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1033:13)
2) Dashboard Main Page
Check that all hyperlinks on info cards lead to the correct page and fields exist
should ensure that all linked info cards lead to correct page:
AssertionError: Timed out retrying after 120000ms: Expected to find element: `cd-info-card[cardtitle="Monitors"]`, but never found it.
at DashboardPageHelper.clickInfoCardLink (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1069:12)
at Context.eval (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:956:31)
3) Dashboard Main Page
Check that all hyperlinks on info cards lead to the correct page and fields exist
should verify that info cards exist on dashboard in proper order:
AssertionError: Timed out retrying after 120000ms: Expected to find element: `cd-info-card`, but never found it.
at DashboardPageHelper.infoCard (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1072:12)
at Context.eval (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:992:27)
4) Dashboard Main Page
Check that all hyperlinks on info cards lead to the correct page and fields exist
should verify that info card group titles are present and in the right order:
AssertionError: Timed out retrying after 120000ms: Expected to find element: `.info-group-title`, but never found it.
at DashboardPageHelper.infoGroupTitle (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:1066:19)
at Context.eval (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/ui/dashboard.e2e-spec.ts:997:23)
- Assignee changed from Ernesto Puerta to Pedro González Gómez
- Status changed from New to Pending Backport
- Copied to Backport #59469: quincy: mgr/dashboard: fix e2e for dashboard v3 added
- Copied to Backport #59470: reef: mgr/dashboard: fix e2e for dashboard v3 added
- Tags set to backport_processed
- Translation missing: en.field_tag_list set to test-failure
/a/lflores-2023-04-28_19:31:46-rados-wip-yuri10-testing-2023-04-18-0735-reef-distro-default-smithi/7257787
/a/yuriw-2023-04-27_14:24:15-rados-wip-yuri6-testing-2023-04-26-1247-reef-distro-default-smithi/7255884
- Pull request ID set to 50820
/a/lflores-2023-09-05_22:05:24-rados-wip-yuri8-testing-2023-08-28-1340-distro-default-smithi/7389138
/a/lflores-2023-09-08_20:36:06-rados-wip-lflores-testing-2-2023-09-08-1755-distro-default-smithi/7391548
I am still seeing this fail in main:
/a/yuriw-2023-10-02_20:49:32-rados-wip-yuri5-testing-2023-10-02-1105-distro-default-smithi/7409239
/a/yuriw-2023-10-11_14:08:36-rados-wip-yuri11-testing-2023-10-10-1226-reef-distro-default-smithi/7421686
/a/yuriw-2023-10-11_14:08:36-rados-wip-yuri11-testing-2023-10-10-1226-reef-distro-default-smithi/7421841
/a/yuriw-2023-10-16_14:44:27-rados-wip-yuri10-testing-2023-10-11-0812-distro-default-smithi/7429832
/a/yuriw-2023-10-16_14:44:27-rados-wip-yuri10-testing-2023-10-11-0812-distro-default-smithi/7429989
/a/yuriw-2023-10-24_00:11:54-rados-wip-yuri4-testing-2023-10-23-0903-distro-default-smithi/7435838
/a/yuriw-2023-10-30_15:34:36-rados-wip-yuri10-testing-2023-10-27-0804-distro-default-smithi/7441240
/a/yuriw-2023-10-30_15:34:36-rados-wip-yuri10-testing-2023-10-27-0804-distro-default-smithi/7441396
/a/yuriw-2023-10-31_14:43:48-rados-wip-yuri4-testing-2023-10-30-1117-distro-default-smithi/7442145
/a/yuriw-2023-10-24_00:11:03-rados-wip-yuri2-testing-2023-10-23-0917-distro-default-smithi/7436026
https://pulpito.ceph.com/yuriw-2023-11-05_15:32:58-rados-reef-release-distro-default-smithi/7448355
2023-11-05T22:41:10.272 INFO:tasks.workunit.client.0.smithi081.stdout: 0 passing (5m)
2023-11-05T22:41:10.273 INFO:tasks.workunit.client.0.smithi081.stdout: 1 failing
2023-11-05T22:41:10.273 INFO:tasks.workunit.client.0.smithi081.stdout:
2023-11-05T22:41:10.273 INFO:tasks.workunit.client.0.smithi081.stdout: 1) OSDs page
2023-11-05T22:41:10.273 INFO:tasks.workunit.client.0.smithi081.stdout: when Orchestrator is available
2023-11-05T22:41:10.273 INFO:tasks.workunit.client.0.smithi081.stdout: should create and delete OSDs:
2023-11-05T22:41:10.274 INFO:tasks.workunit.client.0.smithi081.stdout: AssertionError: Timed out retrying after 300000ms: Expected to find element: `cd-info-card`, but never found it.
2023-11-05T22:41:10.274 INFO:tasks.workunit.client.0.smithi081.stdout: at DashboardPageHelper.infoCard (cypress/e2e/ui/dashboard.po.ts:15:7)
2023-11-05T22:41:10.274 INFO:tasks.workunit.client.0.smithi081.stdout: at DashboardPageHelper.infoCardBody (cypress/e2e/ui/dashboard.po.ts:29:16)
2023-11-05T22:41:10.274 INFO:tasks.workunit.client.0.smithi081.stdout: at Context.eval (cypress/e2e/orchestrator/04-osds.e2e-spec.ts:28:20)
https://pulpito.ceph.com/yuriw-2023-11-05_15:32:58-rados-reef-release-distro-default-smithi/7448508
2023-11-06T00:11:26.856 INFO:tasks.workunit.client.0.smithi167.stdout: 1 failing
2023-11-06T00:11:26.856 INFO:tasks.workunit.client.0.smithi167.stdout:
2023-11-06T00:11:26.856 INFO:tasks.workunit.client.0.smithi167.stdout: 1) OSDs page
2023-11-06T00:11:26.856 INFO:tasks.workunit.client.0.smithi167.stdout: when Orchestrator is available
2023-11-06T00:11:26.856 INFO:tasks.workunit.client.0.smithi167.stdout: should create and delete OSDs:
2023-11-06T00:11:26.857 INFO:tasks.workunit.client.0.smithi167.stdout: AssertionError: Timed out retrying after 300000ms: Expected to find element: `cd-info-card`, but never found it.
2023-11-06T00:11:26.857 INFO:tasks.workunit.client.0.smithi167.stdout: at DashboardPageHelper.infoCard (cypress/e2e/ui/dashboard.po.ts:15:7)
2023-11-06T00:11:26.857 INFO:tasks.workunit.client.0.smithi167.stdout: at DashboardPageHelper.infoCardBody (cypress/e2e/ui/dashboard.po.ts:29:16)
2023-11-06T00:11:26.857 INFO:tasks.workunit.client.0.smithi167.stdout: at Context.eval (cypress/e2e/orchestrator/04-osds.e2e-spec.ts:28:20)
/a/yuriw-2023-12-07_16:42:12-rados-wip-yuri2-testing-2023-12-06-1239-distro-default-smithi/7482251
- Status changed from Pending Backport to New
/a/lflores-2023-12-15_16:16:51-rados-wip-yuri10-testing-2023-12-12-1229-distro-default-smithi/7493314
This needs a new fix for main.
- Tags deleted (
backport_processed)
- Pull request ID changed from 50820 to 54965
- Status changed from New to Pending Backport
- Tags set to backport_processed
- Status changed from Pending Backport to Resolved
/a/yuriw-2024-03-04_20:52:58-rados-reef-release-distro-default-smithi/7581558
Also available in: Atom
PDF