Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Nov 1, 2024
1 parent 220b59f commit 4ffaa12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/global.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { test as setup } from '@playwright/test';
setup("remove Storybook 'what's new' popup", async ({ page }) => {
await page.goto('/');

if (await page.isVisible("text='Learn what's new in Storybook'", { timeout: 10000 })) {
await page.getByRole('link', { name: 'Keep floating' }).isVisible();

if (await page.isVisible("text='Learn what's new in Storybook'")) {
await page.getByRole('button', { name: 'Dismiss notification' }).click();
}
});

0 comments on commit 4ffaa12

Please sign in to comment.