From 5cca4fb2a1feb90be70202cb70a5d856445aa66d Mon Sep 17 00:00:00 2001 From: felixw Date: Fri, 3 Nov 2023 14:55:20 +0100 Subject: [PATCH] test: possibly flix switch flakey test by waiting --- packages/visual-tests/src/switch.visual.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/visual-tests/src/switch.visual.spec.js b/packages/visual-tests/src/switch.visual.spec.js index 54d6cc566f..1ea18fbe3f 100644 --- a/packages/visual-tests/src/switch.visual.spec.js +++ b/packages/visual-tests/src/switch.visual.spec.js @@ -31,6 +31,7 @@ describe('Switch', () => { test.each([['standard']])('focus %p', async (variant) => { await global.runSetup(`components-switch--${variant}`); + await global.page.waitFor(300); await global.page.keyboard.press('Tab'); await global.page.waitFor(300); await global.visualCheck();