From 96f4915529934f74261f613522f8821df6a49682 Mon Sep 17 00:00:00 2001 From: "Maarten A. Breddels" Date: Thu, 8 Feb 2024 14:51:24 +0100 Subject: [PATCH] ci: do not fail immediately on a screenshot mismatch This will make the galata report all the mismatches at the end of the test run, instead of failing immediately on the first mismatch. --- ui-tests/tests/widgets.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-tests/tests/widgets.test.ts b/ui-tests/tests/widgets.test.ts index 9943840bd7..fff3d44555 100644 --- a/ui-tests/tests/widgets.test.ts +++ b/ui-tests/tests/widgets.test.ts @@ -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); } }); });