From 5438c3b8bfb28896c4aa1698c332df33f3d5af2d Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 31 Jul 2026 06:21:39 +0000 Subject: [PATCH] ci(storybook-visual): raise expect timeout for slow full-page matrix captures Co-Authored-By: Claude Fable 5 --- tests/storybook-visual/playwright.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/storybook-visual/playwright.config.ts b/tests/storybook-visual/playwright.config.ts index ac11aaf1b9e..f9d11bcfd62 100644 --- a/tests/storybook-visual/playwright.config.ts +++ b/tests/storybook-visual/playwright.config.ts @@ -21,6 +21,10 @@ export default defineConfig({ fullyParallel: true, reporter: [["list"], ["html", { open: "never", outputFolder: "playwright-report" }]], expect: { + // Full-page captures of the large *-matrix stories can take >5s per + // attempt under CI worker contention; give the two-stable-screenshots + // loop room to converge instead of timing out mid-capture. + timeout: 20_000, toHaveScreenshot: { animations: "disabled", caret: "hide",