Skip to content

Commit

Permalink
test: possibly flix switch flakey test by waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Nov 3, 2023
1 parent e42c984 commit 5cca4fb
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 5cca4fb

Please sign in to comment.