From af89a1b8d4de937b5265a41e180bf6931d3c7c0c Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 22 Apr 2018 16:10:58 +0200 Subject: [PATCH] WebViewTest: Adjust expected loadFinished signal count --- autotests/webviewtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/webviewtest.cpp b/autotests/webviewtest.cpp index a21e6939c..40b0a5735 100644 --- a/autotests/webviewtest.cpp +++ b/autotests/webviewtest.cpp @@ -82,7 +82,7 @@ void WebViewTest::loadSignalsChangePageTest() view.setPage(page2); // WebPage: Workaround for broken load started/finished signals in QtWebEngine 5.10 - const int loadFinishedEmitCount = qstrncmp(qVersion(), "5.10.", 5) == 0 ? 2 : 1; + const int loadFinishedEmitCount = qstrncmp(qVersion(), "5.11.", 5) == 0 ? 1 : 2; QTRY_COMPARE(loadFinishedSpy.count(), loadFinishedEmitCount); QCOMPARE(loadStartedSpy.count(), 0);