Skip to content

Commit

Permalink
ci: do not fail immediately on a screenshot mismatch
Browse files Browse the repository at this point in the history
This will make the galata report all the mismatches at the end of the
test run, instead of failing immediately on the first mismatch.
  • Loading branch information
maartenbreddels committed Feb 8, 2024
1 parent 7265b2f commit 96f4915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-tests/tests/widgets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test.describe('Widget Visual Regression', () => {

for (let i = 0; i < cellCount; i++) {
const image = `widgets-cell-${i}.png`;
expect(captures[i]).toMatchSnapshot(image);
expect.soft(captures[i]).toMatchSnapshot(image);
}
});
});

0 comments on commit 96f4915

Please sign in to comment.