From 1fa85db529ef36c8f9890634b2853c46be24f654 Mon Sep 17 00:00:00 2001
From: Alexander Polyankin <alexander.polyankin@metabase.com>
Date: Fri, 3 Feb 2023 14:31:35 +0200
Subject: [PATCH] Remove api call check (#28052)

---
 .../scenarios/onboarding/auth/forgot_password.cy.spec.js        | 2 --
 1 file changed, 2 deletions(-)

diff --git a/frontend/test/metabase/scenarios/onboarding/auth/forgot_password.cy.spec.js b/frontend/test/metabase/scenarios/onboarding/auth/forgot_password.cy.spec.js
index ffc210572e7..8a722782b40 100644
--- a/frontend/test/metabase/scenarios/onboarding/auth/forgot_password.cy.spec.js
+++ b/frontend/test/metabase/scenarios/onboarding/auth/forgot_password.cy.spec.js
@@ -32,11 +32,9 @@ describe("scenarios > auth > password", { tags: "@external" }, () => {
 
   it("should not show the app bar when previously logged in", () => {
     cy.signInAsAdmin();
-    cy.intercept("GET", "/api/user/current").as("getUser");
 
     cy.visit("/auth/forgot_password");
 
-    cy.get("@getUser.all").should("have.length", 0);
     cy.icon("gear").should("not.exist");
   });
 });
-- 
GitLab