aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-09-30 09:06:49 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-09-30 16:18:26 +0200
commitcd120976218f9a62014b5e7571250e3d4b6c6fa1 (patch)
tree6e807c524c9f7a1a57085398ed3ae52161d8c0ea
parent0ef66bfacd15cd6101522dbb2ffab1ada6a0834b (diff)
tst_abstrbutton: do press/move/release sequence not press/press/release
Amends 6115585477bea66d90acbbd8a25b898d121bd50e Task-number: QTBUG-87018 Change-Id: I3c742bd8fc593f4d3a4f33104e708344fdafe3ec Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--tests/auto/controls/data/tst_abstractbutton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_abstractbutton.qml b/tests/auto/controls/data/tst_abstractbutton.qml
index bb1dfac2..74538053 100644
--- a/tests/auto/controls/data/tst_abstractbutton.qml
+++ b/tests/auto/controls/data/tst_abstractbutton.qml
@@ -210,7 +210,7 @@ TestCase {
if (data.touch)
touch.move(0, control, control.width + 1, control.height + 1).commit()
else
- mousePress(control, control.width + 1, control.height + 1)
+ mouseMove(control, control.width + 1, control.height + 1)
compare(control.pressX, control.width + 1)
compare(control.pressY, control.height + 1)
compare(pressXSpy.count, ++pressXChanges)