parent
184e41b538
commit
0aa342eae6
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user