Skip to content

Commit

Permalink
test: add timeout to possibly fix switch flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Nov 3, 2023
1 parent 31e0570 commit 4f4e461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/visual-tests/src/switch.visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4f4e461

Please sign in to comment.