Lower image diff threshold

We want to catch smaller changes. The threshold was too high to catch
the rounded corners change in a full-page screenshot.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-02-13 14:40:58 +01:00
parent 847c18b2e5
commit a0f0cc549a
+1 -1
View File
@@ -45,7 +45,7 @@ const config: PlaywrightTestConfig = {
expect: {
timeout: 30_000,
toHaveScreenshot: {
threshold: 0.1,
threshold: 0.01,
scale: "device",
animations: "disabled",
},