diff options
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/quick/qmltests/BLACKLIST | 3 | ||||
-rw-r--r-- | tests/auto/quick/qmltests/data/tst_userScripts.qml | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/quick/qmltests/BLACKLIST b/tests/auto/quick/qmltests/BLACKLIST index 85dc845e4..e271f59a6 100644 --- a/tests/auto/quick/qmltests/BLACKLIST +++ b/tests/auto/quick/qmltests/BLACKLIST @@ -22,8 +22,5 @@ windows [WebEngineViewUnhandledKeyEventPropagation::test_keyboardModifierMapping] windows -[WebEngineViewUserScripts::test_bigScript] -windows - [WebEngineViewSource::test_viewSourceURL] windows diff --git a/tests/auto/quick/qmltests/data/tst_userScripts.qml b/tests/auto/quick/qmltests/data/tst_userScripts.qml index 92ae71f0b..a6249d128 100644 --- a/tests/auto/quick/qmltests/data/tst_userScripts.qml +++ b/tests/auto/quick/qmltests/data/tst_userScripts.qml @@ -153,8 +153,7 @@ Item { function test_bigScript() { webEngineView.userScripts = [ bigUserScript ]; webEngineView.url = Qt.resolvedUrl("test1.html"); - webEngineView.waitForLoadSucceeded(); - compare(webEngineView.title, "Big user script changed title"); + tryCompare(webEngineView , "title", "Big user script changed title"); } function test_parseMetadataHeader() { |