From 3392437acd5f8d3a1a84f9199bccc7e03dc41d5d Mon Sep 17 00:00:00 2001
From: Ariya Hidayat <ariya@metabase.com>
Date: Sat, 19 Mar 2022 21:08:48 -0700
Subject: [PATCH] Dashboard drill E2E tests: ensure element visibility before
 assertions (#21114)

---
 .../test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frontend/test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js b/frontend/test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js
index ce6767b4036..af0463bc038 100644
--- a/frontend/test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js
+++ b/frontend/test/metabase/scenarios/dashboard/dashboard-drill.cy.spec.js
@@ -670,6 +670,7 @@ describe("scenarios > dashboard > dashboard drill", () => {
         cy.visit(`/dashboard/${DASHBOARD_ID}?date_filter=past30years`);
       });
     });
+    cy.findByTextEnsureVisible("Quantity");
     cy.get(".Table-ID")
       .first()
       // Mid-point check that this cell actually contains ID = 1
-- 
GitLab