Project

General

Profile

Actions

Cleanup #59142

closed
NA PG

mgr/dashboard: fix e2e for dashboard v3

Cleanup #59142: mgr/dashboard: fix e2e for dashboard v3

Added by Nizamudeen A over 3 years ago. Updated over 1 year 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 open — 2 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

PG Updated by Pedro González Gómez over 3 years ago Actions #1

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

NA Updated by Nizamudeen A over 3 years ago Actions #2

  • Status changed from New to Pending Backport

UB Updated by Upkeep Bot over 3 years ago Actions #3

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

UB Updated by Upkeep Bot over 3 years ago Actions #4

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

LF Updated by Laura Flores over 3 years ago Actions #6

  • 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

LF Updated by Laura Flores over 3 years ago Actions #7

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

NA Updated by Nizamudeen A over 3 years ago Actions #8

  • Pull request ID set to 50820

LF Updated by Laura Flores about 3 years ago Actions #9

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

LF Updated by Laura Flores about 3 years ago Actions #10

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

LF Updated by Laura Flores about 3 years ago Actions #11

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

MB Updated by Matan Breizman about 3 years ago Actions #12

/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

NM Updated by Nitzan Mordechai about 3 years ago Actions #13

/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

LF Updated by Laura Flores about 3 years ago Actions #14

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

NM Updated by Nitzan Mordechai about 3 years ago Actions #15

/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

LF Updated by Laura Flores about 3 years ago Actions #16

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

LF Updated by Laura Flores about 3 years ago Actions #17

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

RZ Updated by Radoslaw Zarzynski about 3 years ago Actions #18

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)

LF Updated by Laura Flores almost 3 years ago Actions #19

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

LF Updated by Laura Flores almost 3 years ago Actions #20

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

PG Updated by Pedro González Gómez almost 3 years ago Actions #21

  • Pull request ID changed from 50820 to 54965

NA Updated by Nizamudeen A almost 3 years ago Actions #22

  • Status changed from New to Pending Backport

NA Updated by Nizamudeen A almost 3 years ago Actions #24

  • Status changed from Pending Backport to Resolved

LF Updated by Laura Flores over 2 years ago Actions #25

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

UB Updated by Upkeep Bot over 1 year ago Actions #26

  • 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: PDF Atom