summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/tst_viewSource.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qmltests/data/tst_viewSource.qml')
-rw-r--r--tests/auto/quick/qmltests/data/tst_viewSource.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qmltests/data/tst_viewSource.qml b/tests/auto/quick/qmltests/data/tst_viewSource.qml
index 576035ef2..a9cf11f34 100644
--- a/tests/auto/quick/qmltests/data/tst_viewSource.qml
+++ b/tests/auto/quick/qmltests/data/tst_viewSource.qml
@@ -64,7 +64,7 @@ TestWebEngineView {
function init() {
webEngineView.url = Qt.resolvedUrl("test1.html");
- verify(webEngineView.waitForLoadSucceeded());
+ verify(webEngineView.waitForLoadSucceeded(20000));
newViewRequestedSpy.clear();
titleChangedSpy.clear();
@@ -113,9 +113,9 @@ TestWebEngineView {
webEngineView.url = row.userInputUrl;
if (row.loadSucceed) {
- verify(webEngineView.waitForLoadSucceeded());
+ verify(webEngineView.waitForLoadSucceeded(15000));
} else {
- verify(webEngineView.waitForLoadFailed());
+ verify(webEngineView.waitForLoadFailed(15000));
}
tryVerify(function() { return titleChangedSpy.count == 1; });