Mark test_appendchild as xfail on Qt 5.12

See #4244
This commit is contained in:
Florian Bruhin 2018-12-11 11:05:06 +01:00
parent 184e41b538
commit 0aa342eae6

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 from qutebrowser.utils import javascript, qtutils
DEFAULT_BODY_BG = "rgba(0, 0, 0, 0)" DEFAULT_BODY_BG = "rgba(0, 0, 0, 0)"
@ -128,6 +128,8 @@ def test_set_error(stylesheet_tester, config_stub):
stylesheet_tester.check_set(GREEN_BODY_BG) stylesheet_tester.check_set(GREEN_BODY_BG)
@pytest.mark.xfail(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()