diff --git a/tests/auto/quick/qmltests/data/tst_keyboardEvents.qml b/tests/auto/quick/qmltests/data/tst_keyboardEvents.qml
index 677727632f6c18eb97a18c8d84c2efff6f175191..2536f319b983bce46bb7234fd50ba50e847bb8da 100644
--- a/tests/auto/quick/qmltests/data/tst_keyboardEvents.qml
+++ b/tests/auto/quick/qmltests/data/tst_keyboardEvents.qml
@@ -143,7 +143,7 @@ TestWebEngineView {
             keyPress(Qt.Key_B);
             compareElementValue("combobox", "b");
             // Must wait with the second key press to simulate selection of another element
-            wait(1000);
+            wait(1100); // blink::typeAheadTimeout + 0.1s
             keyPress(Qt.Key_C);
             compareElementValue("combobox", "c");
 
diff --git a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
index ce88ace16747f51e07de39d199d31c282b3771ea..32a518ad8e80da99fb122a8ff01f6e3ab7dddcc3 100644
--- a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
+++ b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
@@ -1109,7 +1109,7 @@ void tst_QWebEngineView::keyboardEvents()
     QTest::keyPress(view.focusProxy(), Qt::Key_B);
     QTRY_COMPARE(evaluateJavaScriptSync(view.page(), "document.getElementById('combobox').value").toString(), QStringLiteral("b"));
     // Must wait with the second key press to simulate selection of another element
-    QTest::keyPress(view.focusProxy(), Qt::Key_C, Qt::NoModifier, 1000);
+    QTest::keyPress(view.focusProxy(), Qt::Key_C, Qt::NoModifier, 1100 /* blink::typeAheadTimeout + 0.1s */);
     QTRY_COMPARE(evaluateJavaScriptSync(view.page(), "document.getElementById('combobox').value").toString(), QStringLiteral("c"));
 
     // Test the Enter key by loading a page with a hyperlink