Commit 2b953bf8 authored by Alexandru Croitor's avatar Alexandru Croitor
Browse files

Fix flaky tst_QQuickWebEngineView::loadProgress test


Change-Id: I102bda62bfaa16a8c9ff4c4929e6b5a055de3e25
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent 90fd7fd2
Branches
Tags
No related merge requests found
Showing with 2 additions and 3 deletions
......@@ -238,9 +238,8 @@ void tst_QQuickWebEngineView::loadProgress()
QSignalSpy loadProgressChangedSpy(webEngineView(), SIGNAL(loadProgressChanged()));
QVERIFY(waitForLoadSucceeded(webEngineView()));
QVERIFY(loadProgressChangedSpy.count() >= 1);
QCOMPARE(webEngineView()->loadProgress(), 100);
loadProgressChangedSpy.wait();
QTRY_COMPARE(webEngineView()->loadProgress(), 100);
}
void tst_QQuickWebEngineView::show()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment