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 Feb 2, 2024
1 parent 6f7c45f commit 591c470
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/global.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ import { test as setup } from '@playwright/test';

setup("remove Storybook 'what's new' popup", async ({ page }) => {
await page.goto('/');
await page.getByRole('button', { name: 'Dismiss notification' }).click();

if (await page.isVisible("button:has-text('Dismiss notification')")) {
await page.getByRole('button', { name: 'Dismiss notification' }).click();
}
});

0 comments on commit 591c470

Please sign in to comment.