From c1e98036406513a1cc18afec5e6f26fa2a2aaf67 Mon Sep 17 00:00:00 2001 From: Karolina Rakoczy Date: Thu, 11 Feb 2021 16:04:56 +0100 Subject: [PATCH] add data-test-id --- cypress/integration/dashboard.js | 2 ++ .../__snapshots__/Stories.test.ts.snap | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/cypress/integration/dashboard.js b/cypress/integration/dashboard.js index 471634092..f5c911141 100644 --- a/cypress/integration/dashboard.js +++ b/cypress/integration/dashboard.js @@ -131,6 +131,8 @@ describe("User authorization", () => { .contains(randomName) .click() .get(DASHBOARD_SELECTORS.dataAreLoading) + .should("be.visible") + .get(DASHBOARD_SELECTORS.dataAreLoading) .should("not.exist"); const regex = /^1\D+/; sales = sales.toFixed(2).replace(".", ","); diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index bf8586f6b..56c382ea2 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -92177,6 +92177,7 @@ exports[`Storyshots Views / HomePage default 1`] = ` >