From 4c44055413ef6482aa66478cf8217c1da47b7ff1 Mon Sep 17 00:00:00 2001
From: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
Date: Fri, 25 Feb 2022 11:33:25 +0100
Subject: [PATCH] Fix a flake where Cypress cannot click "Exit admin" (#20738)

---
 .../test/metabase/scenarios/smoketest/admin_setup.cy.spec.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/test/metabase/scenarios/smoketest/admin_setup.cy.spec.js b/frontend/test/metabase/scenarios/smoketest/admin_setup.cy.spec.js
index 183c97a68c7..1792ddbc248 100644
--- a/frontend/test/metabase/scenarios/smoketest/admin_setup.cy.spec.js
+++ b/frontend/test/metabase/scenarios/smoketest/admin_setup.cy.spec.js
@@ -380,7 +380,7 @@ describe("smoketest > admin_setup", () => {
 
     it("should reflect changes to column name, visibility, and formatting in the notebook editor for admin", () => {
       // Navigate
-      cy.findByText("Exit admin").click();
+      cy.findByText("Exit admin").click({ force: true });
 
       // Checking table name
 
-- 
GitLab