Skip to content

Commit

Permalink
Screenshot comparison: threshold=2
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Jul 5, 2024
1 parent c8c6157 commit a3981b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
JUPYTER_TOKEN = getenv("JUPYTER_TOKEN", "secret")


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

0 comments on commit a3981b0

Please sign in to comment.