From ab29ee486cfcf74a5fda5596d383d7dd04af2113 Mon Sep 17 00:00:00 2001 From: mkosir Date: Fri, 1 Nov 2024 20:11:35 +0100 Subject: [PATCH] chore(deps): update dependencies --- e2e/global.setup.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e2e/global.setup.ts b/e2e/global.setup.ts index 199b3594..5feedbdd 100644 --- a/e2e/global.setup.ts +++ b/e2e/global.setup.ts @@ -5,6 +5,11 @@ setup("remove Storybook 'what's new' popup", async ({ page }) => { await page.getByRole('link', { name: 'Keep floating' }).isVisible(); + console.log( + '🔎 Log ~ setup ~ await page.isVisible("text=Learn whats new in Storybook"):', + await page.isVisible("text='Learn what's new in Storybook'"), + ); + if (await page.isVisible("text='Learn what's new in Storybook'")) { await page.getByRole('button', { name: 'Dismiss notification' }).click(); }