aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/controls/data/tst_textarea.qml4
-rw-r--r--tests/auto/controls/data/tst_textfield.qml4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/controls/data/tst_textarea.qml b/tests/auto/controls/data/tst_textarea.qml
index adf3ff9f..bed1292c 100644
--- a/tests/auto/controls/data/tst_textarea.qml
+++ b/tests/auto/controls/data/tst_textarea.qml
@@ -83,9 +83,9 @@ TestCase {
// Long enough press duration => signal emitted
mousePress(control, 10, 10)
- // Add 10% extra time to allow the control to
+ // Add 20% extra time to allow the control to
// receive the timer event before we come back here
- wait(interval * 1.1)
+ wait(interval * 1.2)
compare(pressAndHoldSpy.count, 1)
mouseRelease(control)
compare(pressAndHoldSpy.count, 1)
diff --git a/tests/auto/controls/data/tst_textfield.qml b/tests/auto/controls/data/tst_textfield.qml
index 9ce325b3..f37b0c2e 100644
--- a/tests/auto/controls/data/tst_textfield.qml
+++ b/tests/auto/controls/data/tst_textfield.qml
@@ -83,9 +83,9 @@ TestCase {
// Long enough press duration => signal emitted
mousePress(control, 10, 10)
- // Add 10% extra time to allow the control to
+ // Add 20% extra time to allow the control to
// receive the timer event before we come back here
- wait(interval * 1.1)
+ wait(interval * 1.2)
compare(pressAndHoldSpy.count, 1)
mouseRelease(control)
compare(pressAndHoldSpy.count, 1)