Skip to content

Commit

Permalink
Even such a little image is rendered differently on MacOS ans GHA. :-(
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed May 4, 2021
1 parent 60f45d2 commit 2086cd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gocept/selenium/tests/test_wd_selenese.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ def test_successful_comparison(self):
reason='This test is for chrome only.')
def test_successful_comparison_chrome(self):
self.selenium.open('screenshot.html')
self.selenium.assertScreenshot('screenshot-chrome', 'css=#block-1')
self.selenium.assertScreenshot(
'screenshot-chrome', 'css=#block-1', threshold=14)

@pytest.mark.skipif(
os.environ.get('GOCEPT_WEBDRIVER_BROWSER').lower() != 'edge',
Expand Down

0 comments on commit 2086cd3

Please sign in to comment.