Skip to content

A local-first personal finance app

:wrench: (vrt) make screenshot comparisons more strict (#1960)

Matiss Janis Aboltins516f0c259ff3
diff --git a/packages/desktop-client/playwright.config.js b/packages/desktop-client/playwright.config.js
index 412a7ac28f..91e007f8e6 100644
--- a/packages/desktop-client/playwright.config.js
+++ b/packages/desktop-client/playwright.config.js
@@ -54,4 +54,7 @@ export default defineConfig({
trace: 'on-first-retry',
ignoreHTTPSErrors: true,
},
+ expect: {
+ toHaveScreenshot: { maxDiffPixels: 5 },
+ },
});
diff --git a/upcoming-release-notes/1960.md b/upcoming-release-notes/1960.md
new file mode 100644
index 0000000000..fdfb6c2908
--- /dev/null
+++ b/upcoming-release-notes/1960.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Make screenshot comparisons more strict to improve reliability