Skip to content

Commit a3981b0

Browse files
committed
Screenshot comparison: threshold=2
1 parent c8c6157 commit a3981b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
JUPYTER_TOKEN = getenv("JUPYTER_TOKEN", "secret")
1515

1616

17-
def compare_screenshot(test_image, threshold=1):
17+
def compare_screenshot(test_image, threshold=2):
1818
# Compare images by calculating the mean absolute difference
1919
# Images must be the same size
2020
# threshold: Average difference per pixel, this depends on the image type

0 commit comments

Comments
 (0)