Skip to content

Commit

Permalink
chore: ignore Playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Feb 2, 2024
1 parent a9a4f12 commit 13b5760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/global.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { test as setup } from '@playwright/test';
setup("remove Storybook 'what's new' popup", async ({ page }) => {
await page.goto('/');

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

0 comments on commit 13b5760

Please sign in to comment.