Commits

Anonymous committed e26481e

be more graceful with the threshold

Comments (0)

Files changed (1)

src/gocept/selenium/tests/test_wd_selenese.py

     def test_does_not_fail_if_threshold_greater_than_distance(self):
         self.selenium.open('screenshot_threshold.html')
         self.selenium.assertScreenshot(
-            'screenshot_threshold', 'css=#block-2', threshold=5)
+            'screenshot_threshold', 'css=#block-2', threshold=8)
 
     def test_does_fail_if_threshold_less_than_distance(self):
         self.selenium.open('screenshot_threshold.html')