diff --git a/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js b/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js index b29fdb4556ecd86324e52417296fe3ade1987e33..c244a6b97ed51ddd2cf3acfcf39cd682c13e50c5 100644 --- a/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js +++ b/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js @@ -738,7 +738,7 @@ describe("issue 31274", () => { size_x: 2, size_y: 2, row: (length - index - 1) * 2, - text: `Text ${index + 1}`, + text: `Text card ${index + 1}`, }); }); }; @@ -769,11 +769,13 @@ describe("issue 31274", () => { scrollBehavior: "top", // prevents flaky tests }); + visibleActionsPanel().should("have.length", 1); + cy.log( "Make sure cypress can click the element, which means it is not covered by another", ); - visibleActionsPanel().should("have.length", 1).icon("close").click({ + visibleActionsPanel().icon("close").click({ position: "top", });