From 16b56f268eab72e3102276ebb76dbd62c8edc924 Mon Sep 17 00:00:00 2001
From: Kamil Mielnik <kamil@kamilmielnik.com>
Date: Wed, 6 Nov 2024 21:08:20 +0700
Subject: [PATCH] Revert previous changes

---
 .../scenarios/dashboard/dashboard-reproductions.cy.spec.js  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js b/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js
index b29fdb4556e..c244a6b97ed 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",
       });
 
-- 
GitLab