Re-enable stylesheet tests for Qt 5.12

This partially reverts commit 0953596ed6.
This reverts commit 0aa342eae6.
This commit is contained in:
Florian Bruhin 2019-02-24 19:50:37 +01:00
parent 102b1091af
commit 0e11b85474

View File

@ -25,7 +25,7 @@ import pytest
QtWebEngineWidgets = pytest.importorskip("PyQt5.QtWebEngineWidgets") QtWebEngineWidgets = pytest.importorskip("PyQt5.QtWebEngineWidgets")
QWebEngineProfile = QtWebEngineWidgets.QWebEngineProfile QWebEngineProfile = QtWebEngineWidgets.QWebEngineProfile
from qutebrowser.utils import javascript, qtutils from qutebrowser.utils import javascript
DEFAULT_BODY_BG = "rgba(0, 0, 0, 0)" DEFAULT_BODY_BG = "rgba(0, 0, 0, 0)"
@ -128,8 +128,6 @@ def test_set_error(stylesheet_tester, config_stub):
stylesheet_tester.check_set(GREEN_BODY_BG) stylesheet_tester.check_set(GREEN_BODY_BG)
@pytest.mark.skip(qtutils.version_check('5.12', compiled=False),
reason='Broken with Qt 5.12')
def test_appendchild(stylesheet_tester): def test_appendchild(stylesheet_tester):
stylesheet_tester.js.load('stylesheet/simple.html') stylesheet_tester.js.load('stylesheet/simple.html')
stylesheet_tester.init_stylesheet() stylesheet_tester.init_stylesheet()