Skip to content

Commit

Permalink
chore: try to fix flickering tests
Browse files Browse the repository at this point in the history
  • Loading branch information
v-gevak committed Feb 9, 2023
1 parent 820dcf0 commit 0032ba4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/form-control/src/Component.screenshots.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ describe('FormControl | screenshots main props', () => {
screenshotOpts: {
fullPage: true,
},
evaluate: (page) => page.waitForTimeout(300),
evaluate: (page) => page.waitForTimeout(500),
theme,
})();

['default', 'inverted'].forEach((colors) => {
['default', 'site', 'mobile'].forEach((theme) => testCase(theme, colors));
['site', 'default', 'mobile'].forEach((theme) => testCase(theme, colors));
});
});

Expand Down
4 changes: 2 additions & 2 deletions packages/input/src/component.screenshots.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ describe('Input | screenshots main props', () => {
screenshotOpts: {
fullPage: true,
},
evaluate: (page) => page.waitForTimeout(300),
evaluate: (page) => page.waitForTimeout(500),
theme,
})();

['default', 'inverted'].forEach((colors) => {
['default', 'site', 'mobile'].forEach((theme) => testCase(theme, colors));
['site', 'default', 'mobile'].forEach((theme) => testCase(theme, colors));
});
});

Expand Down

0 comments on commit 0032ba4

Please sign in to comment.