Skip to content

Commit

Permalink
Fix flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcconechy committed Sep 5, 2024
1 parent 711010c commit ebdb350
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/toolbar/toolbar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ test.describe('Toolbar tests', () => {
test.describe('snapshot tests', () => {
test('should match the visual snapshot in percy', async ({ page, browserName }) => {
if (browserName !== 'chromium') return;
await page.waitForLoadState();
await percySnapshot(page, 'toolbar-light');
});
});
Expand Down

0 comments on commit ebdb350

Please sign in to comment.