1. gocept gmbh & co. kg
  2. Open Source
  3. gocept.selenium

Commits

nilo  committed e26481e

be more graceful with the threshold

  • Participants
  • Parent commits 165946f
  • Branches default

Comments (0)

Files changed (1)

File src/gocept/selenium/tests/test_wd_selenese.py

View file
  • Ignore whitespace
     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')