summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/qquickwebview/tst_qquickwebview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp b/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp
index 139dd85..8352144 100644
--- a/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp
+++ b/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp
@@ -444,7 +444,7 @@ void tst_QQuickWebView::settings_JS()
webView()->settings()->setJavaScriptEnabled(jsEnabled);
webView()->setUrl(testUrl);
QVERIFY(waitForLoadSucceeded(webView()));
- QCOMPARE(webView()->title(), expectedTitle);
+ QTRY_COMPARE(webView()->title(), expectedTitle);
webView()->settings()->setJavaScriptEnabled(wasJsEnabled);
}