From 96f0ac41624093c5d4ce46950e63f7838c2d34fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obermu=CC=88ller?= Date: Thu, 19 Dec 2024 19:58:27 +0100 Subject: [PATCH] try a higher timeout - don't merge --- .storybook/test-runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.storybook/test-runner.ts b/.storybook/test-runner.ts index a5f81f95f58d8..74bfeb342186b 100644 --- a/.storybook/test-runner.ts +++ b/.storybook/test-runner.ts @@ -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)