Project

General

Profile

Actions

Cleanup #59142

closed

mgr/dashboard: fix e2e for dashboard v3

Added by Nizamudeen A almost 3 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
Cluster
Target version:
-
% Done:

0%

Backport:
reef, quincy
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v19.0.0-614-gc7206dd6741
Released In:
v19.2.0~948
Upkeep Timestamp:
2025-07-12T16:42:09+00:00

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)

Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #59469: quincy: mgr/dashboard: fix e2e for dashboard v3ResolvedPedro González Gómez Actions
Copied to Dashboard - Backport #59470: reef: mgr/dashboard: fix e2e for dashboard v3ResolvedPedro González Gómez Actions
Actions #1

Updated by Pedro González Gómez almost 3 years ago

  • Assignee changed from Ernesto Puerta to Pedro González Gómez
Actions #2

Updated by Nizamudeen A almost 3 years ago

  • Status changed from New to Pending Backport
Actions #3

Updated by Upkeep Bot almost 3 years ago

  • Copied to Backport #59469: quincy: mgr/dashboard: fix e2e for dashboard v3 added
Actions #4

Updated by Upkeep Bot almost 3 years ago

  • Copied to Backport #59470: reef: mgr/dashboard: fix e2e for dashboard v3 added
Actions #6

Updated by Laura Flores almost 3 years ago

  • Tags 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

Actions #7

Updated by Laura Flores almost 3 years ago

/a/yuriw-2023-04-27_14:24:15-rados-wip-yuri6-testing-2023-04-26-1247-reef-distro-default-smithi/7255884

Actions #8

Updated by Nizamudeen A almost 3 years ago

  • Pull request ID set to 50820
Actions #9

Updated by Laura Flores over 2 years ago

/a/lflores-2023-09-05_22:05:24-rados-wip-yuri8-testing-2023-08-28-1340-distro-default-smithi/7389138

Actions #10

Updated by Laura Flores over 2 years ago

/a/lflores-2023-09-08_20:36:06-rados-wip-lflores-testing-2-2023-09-08-1755-distro-default-smithi/7391548

Actions #11

Updated by Laura Flores over 2 years 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

Actions #12

Updated by Matan Breizman over 2 years 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

Actions #13

Updated by Nitzan Mordechai over 2 years 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

Actions #14

Updated by Laura Flores over 2 years ago

/a/yuriw-2023-10-24_00:11:54-rados-wip-yuri4-testing-2023-10-23-0903-distro-default-smithi/7435838

Actions #15

Updated by Nitzan Mordechai over 2 years 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

Actions #16

Updated by Laura Flores over 2 years ago

/a/yuriw-2023-10-31_14:43:48-rados-wip-yuri4-testing-2023-10-30-1117-distro-default-smithi/7442145

Actions #17

Updated by Laura Flores over 2 years ago

/a/yuriw-2023-10-24_00:11:03-rados-wip-yuri2-testing-2023-10-23-0917-distro-default-smithi/7436026

Actions #18

Updated by Radoslaw Zarzynski over 2 years 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)
Actions #19

Updated by Laura Flores over 2 years ago

/a/yuriw-2023-12-07_16:42:12-rados-wip-yuri2-testing-2023-12-06-1239-distro-default-smithi/7482251

Actions #20

Updated by Laura Flores about 2 years 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.

Actions #21

Updated by Pedro González Gómez about 2 years ago

  • Pull request ID changed from 50820 to 54965
Actions #22

Updated by Nizamudeen A about 2 years ago

  • Status changed from New to Pending Backport
Actions #24

Updated by Nizamudeen A about 2 years ago

  • Status changed from Pending Backport to Resolved
Actions #25

Updated by Laura Flores about 2 years ago

/a/yuriw-2024-03-04_20:52:58-rados-reef-release-distro-default-smithi/7581558

Actions #26

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to c7206dd6741a60931526b5566d574ecbd1b4430f
  • Fixed In set to v19.0.0-614-gc7206dd6741
  • Released In set to v19.2.0~948
  • Upkeep Timestamp set to 2025-07-12T16:42:09+00:00
Actions

Also available in: Atom PDF