mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
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:
@@ -45,7 +45,7 @@ const config: PlaywrightTestConfig = {
|
||||
expect: {
|
||||
timeout: 30_000,
|
||||
toHaveScreenshot: {
|
||||
threshold: 0.1,
|
||||
threshold: 0.01,
|
||||
scale: "device",
|
||||
animations: "disabled",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user