aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmltest')
-rw-r--r--tests/auto/qmltest/events/tst_events.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qmltest/events/tst_events.qml b/tests/auto/qmltest/events/tst_events.qml
index f22863753f..e3d0b13579 100644
--- a/tests/auto/qmltest/events/tst_events.qml
+++ b/tests/auto/qmltest/events/tst_events.qml
@@ -74,13 +74,13 @@ Rectangle {
function test_key_click() {
keyClick(Qt.Key_Left)
- tryCompare(top, "leftKeyPressed", true)
- tryCompare(top, "leftKeyReleased", true)
+ tryCompare(top, "leftKeyPressed", true, 10000)
+ tryCompare(top, "leftKeyReleased", true, 10000)
}
function test_mouse_click() {
mouseClick(top, 25, 30)
- tryCompare(top, "mouseHasBeenClicked", true)
+ tryCompare(top, "mouseHasBeenClicked", true, 10000)
}
}
}