From 179135611b1e96eced64db972d0692788455175e Mon Sep 17 00:00:00 2001 From: Karolina Rakoczy Date: Thu, 11 Feb 2021 16:26:37 +0100 Subject: [PATCH] add wait for request --- cypress/integration/dashboard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/integration/dashboard.js b/cypress/integration/dashboard.js index f5c911141..e71f33ce3 100644 --- a/cypress/integration/dashboard.js +++ b/cypress/integration/dashboard.js @@ -130,8 +130,7 @@ describe("User authorization", () => { .get(HEADER_SELECTORS.channelSelectList) .contains(randomName) .click() - .get(DASHBOARD_SELECTORS.dataAreLoading) - .should("be.visible") + .waitForGraph("Home") .get(DASHBOARD_SELECTORS.dataAreLoading) .should("not.exist"); const regex = /^1\D+/;