Cleanup #59142
closedmgr/dashboard: fix e2e for dashboard v3
0%
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)
Updated by Pedro González Gómez about 1 year ago
- Assignee changed from Ernesto Puerta to Pedro González Gómez
Updated by Nizamudeen A about 1 year ago
- Status changed from New to Pending Backport
Updated by Backport Bot about 1 year ago
- Copied to Backport #59469: quincy: mgr/dashboard: fix e2e for dashboard v3 added
Updated by Backport Bot about 1 year ago
- Copied to Backport #59470: reef: mgr/dashboard: fix e2e for dashboard v3 added
Updated by Laura Flores about 1 year ago
- 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
Updated by Laura Flores about 1 year ago
/a/yuriw-2023-04-27_14:24:15-rados-wip-yuri6-testing-2023-04-26-1247-reef-distro-default-smithi/7255884
Updated by Laura Flores 8 months ago
/a/lflores-2023-09-05_22:05:24-rados-wip-yuri8-testing-2023-08-28-1340-distro-default-smithi/7389138
Updated by Laura Flores 8 months ago
/a/lflores-2023-09-08_20:36:06-rados-wip-lflores-testing-2-2023-09-08-1755-distro-default-smithi/7391548
Updated by Laura Flores 7 months ago
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
Updated by Matan Breizman 7 months ago
/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
Updated by Nitzan Mordechai 7 months ago
/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
Updated by Laura Flores 7 months ago
/a/yuriw-2023-10-24_00:11:54-rados-wip-yuri4-testing-2023-10-23-0903-distro-default-smithi/7435838
Updated by Nitzan Mordechai 6 months ago
/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
Updated by Laura Flores 6 months ago
/a/yuriw-2023-10-31_14:43:48-rados-wip-yuri4-testing-2023-10-30-1117-distro-default-smithi/7442145
Updated by Laura Flores 6 months ago
/a/yuriw-2023-10-24_00:11:03-rados-wip-yuri2-testing-2023-10-23-0917-distro-default-smithi/7436026
Updated by Radoslaw Zarzynski 6 months ago
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)
Updated by Laura Flores 5 months ago
/a/yuriw-2023-12-07_16:42:12-rados-wip-yuri2-testing-2023-12-06-1239-distro-default-smithi/7482251
Updated by Laura Flores 5 months ago
- 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.
Updated by Pedro González Gómez 4 months ago
- Tags deleted (
backport_processed) - Pull request ID changed from 50820 to 54965
Updated by Nizamudeen A 4 months ago
- Status changed from New to Pending Backport
Updated by Nizamudeen A 4 months ago
- Status changed from Pending Backport to Resolved
Updated by Laura Flores 2 months ago
/a/yuriw-2024-03-04_20:52:58-rados-reef-release-distro-default-smithi/7581558