Skip to content

Commit

Permalink
try a higher timeout - don't merge
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 19, 2024
1 parent 674fb01 commit 96f0ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async function expectStoryToMatchSnapshot(
}, storyContext.parameters?.layout || 'padded')
if (waitForLoadersToDisappear) {
// The timeout is reduced so that we never allow toasts – they usually signify something wrong
await page.waitForSelector(LOADER_SELECTORS.join(','), { state: 'detached', timeout: 3000 })
await page.waitForSelector(LOADER_SELECTORS.join(','), { state: 'detached', timeout: 30000 })
}
if (typeof waitForSelector === 'string') {
await page.waitForSelector(waitForSelector)
Expand Down

0 comments on commit 96f0ac4

Please sign in to comment.