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);