summaryrefslogtreecommitdiff
path: root/units/touchpad
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2019-09-03 10:41:44 +0200
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2019-09-03 14:34:32 +0200
commit622c9b5cf6069b10d6bbb45cd036e26b760e527a (patch)
treee60db339a826c0d31ebcfbc5df81ef8c07466b70 /units/touchpad
parent6a3e68b7979ac6dbcd36d062b355e639932ba468 (diff)
change palm-rejection test to user-itneract
Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
Diffstat (limited to 'units/touchpad')
-rw-r--r--units/touchpad/jobs.pxu13
1 files changed, 8 insertions, 5 deletions
diff --git a/units/touchpad/jobs.pxu b/units/touchpad/jobs.pxu
index 2fba8ad..a7b7e35 100644
--- a/units/touchpad/jobs.pxu
+++ b/units/touchpad/jobs.pxu
@@ -219,14 +219,17 @@ _siblings:
[{ "id": "touchpad/continuous-move-after-suspend",
"depends": "suspend/suspend_advanced touchpad/continuous-move" }]
-plugin: qml
-category_id: com.canonical.plainbox::touchpad
id: touchpad/palm-rejection
-requires: dmi.product in ['Notebook','Laptop','Portable','Convertible']
-estimated_duration: 20
+plugin: user-interact
+category_id: com.canonical.plainbox::touchpad
+command: qmlscene -qt5 --fullscreen $PLAINBOX_PROVIDER_DATA/palm_rejection.qml 2>&1 | grep -o PASS
_purpose:
This test checks if touchpad ignores palm touches
-qml_file: palm_rejection.qml
+_steps:
+ Select "Test" and follow the instruction on the screen
+_verification:
+ Cursor should not have moved.
_siblings:
[{ "id": "touchpad/palm-rejection-after-suspend",
"depends": "suspend/suspend_advanced touchpad/palm-rejection" }]
+estimated_duration: 40