summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/tst_loadUrl.qml
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-02-08 13:41:15 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-01 12:06:35 +0000
commit70a76770763a4abd5cc9ce27659db16746dce06c (patch)
tree949350035ce0c254926cbfb24f413992aa8cd3a7 /tests/auto/quick/qmltests/data/tst_loadUrl.qml
parenta6e3b9113ba28fee9f705bb93cddaadfec43a917 (diff)
Update auto tests for Chromium 55
Load failures now have a Chromium side timeout of 10s so we need to wait longer than that. Additionally error-pages no longer have descriptive titles, so we can not rely on that in our tests any longer. Change-Id: I33ac8b9f1247403eb214f7260267edb887fe10d0 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests/auto/quick/qmltests/data/tst_loadUrl.qml')
-rw-r--r--tests/auto/quick/qmltests/data/tst_loadUrl.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qmltests/data/tst_loadUrl.qml b/tests/auto/quick/qmltests/data/tst_loadUrl.qml
index 2a43e1577..2cb9f6b81 100644
--- a/tests/auto/quick/qmltests/data/tst_loadUrl.qml
+++ b/tests/auto/quick/qmltests/data/tst_loadUrl.qml
@@ -126,7 +126,7 @@ TestWebEngineView {
// Test failed load
var bogusSite = "http://www.somesitethatdoesnotexist.abc/";
webEngineView.url = bogusSite;
- tryCompare(loadRequestArray, "length", 2);
+ tryCompare(loadRequestArray, "length", 2, 12000);
loadRequest = loadRequestArray[0];
compare(loadRequest.status, WebEngineView.LoadStartedStatus);
@@ -217,7 +217,7 @@ TestWebEngineView {
}
webEngineView.loadingChanged.connect(handleLoadFailed);
webEngineView.url = bogusSite
- tryCompare(loadRequestArray, "length", 4);
+ tryCompare(loadRequestArray, "length", 4, 12000);
webEngineView.loadingChanged.disconnect(handleLoadFailed);
loadRequest = loadRequestArray[0];