Merge branch 'issue1988' of https://github.com/HolySmoke86/qutebrowser into HolySmoke86-issue1988

This commit is contained in:
Florian Bruhin 2016-09-29 10:59:10 +02:00
commit 71270dd8f7

View File

@ -67,7 +67,11 @@ class CaretTester:
@pytest.fixture
def caret_tester(js_tester):
"""Helper fixture to test caret browsing positions."""
return CaretTester(js_tester)
caret_tester = CaretTester(js_tester)
# Showing webview here is necessary for test_scrolled_down_img to
# succeed in some cases, see #1988
caret_tester.js.webview.show()
return caret_tester
@pytest.mark.integration