summaryrefslogtreecommitdiff
path: root/units/input
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2017-09-18 20:56:16 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2017-09-18 20:56:16 +0200
commit06ebc0457992bddfca74c3decc554d70ffdd310d (patch)
treeddc2038690c7e0bbd7146b3375681b919e91ab95 /units/input
parenta2cbc59e55ed21f755f45a5db2df5695a2220315 (diff)
Move all jobs definition files into pxu units
Diffstat (limited to 'units/input')
-rw-r--r--units/input/jobs.pxu77
1 files changed, 77 insertions, 0 deletions
diff --git a/units/input/jobs.pxu b/units/input/jobs.pxu
new file mode 100644
index 0000000..0bf880d
--- /dev/null
+++ b/units/input/jobs.pxu
@@ -0,0 +1,77 @@
+unit: template
+template-resource: device
+template-filter: device.category == 'MOUSE' or device.category == 'TOUCHPAD' or device.category == 'TOUCHSCREEN'
+plugin: manual
+category_id: com.canonical.plainbox::input
+id: input/pointing_{product_slug}_{category}_{__index__}
+estimated_duration: 30.0
+_summary: Check pointing functionality for {product}
+_purpose:
+ This will test your {product} device
+_steps:
+ 1. Move the cursor with your {product}.
+_verification:
+ Did the cursor move?
+
+plugin: manual
+category_id: com.canonical.plainbox::input
+id: input/mouse
+estimated_duration: 30.0
+_description:
+ PURPOSE:
+ This test will test your pointing device
+ STEPS:
+ 1. Move the cursor using the pointing device or touch the screen.
+ 2. Perform some single/double/right click operations.
+ VERIFICATION:
+ Did the pointing device work as expected?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::input
+id: input/keyboard
+estimated_duration: 30.0
+command: keyboard_test
+requires: device.category == 'KEYBOARD'
+_description:
+ PURPOSE:
+ This test will test your keyboard
+ STEPS:
+ 1. Click on Test
+ 2. On the open text area, use your keyboard to type something
+ VERIFICATION:
+ Is your keyboard working properly?
+
+plugin: user-interact
+category_id: com.canonical.plainbox::input
+id: input/accelerometer
+estimated_duration: 60.0
+user: root
+requires: device.category == 'ACCELEROMETER'
+command: accelerometer_test -m
+_description:
+ PURPOSE:
+ This test will test your accelerometer to see if it is detected
+ and operational as a joystick device.
+ STEPS:
+ 1. Click on Test
+ 2. Tilt your hardware in the directions onscreen until the axis threshold is met.
+ VERIFICATION:
+ Is your accelerometer properly detected? Can you use the device?
+
+unit: template
+template-resource: device
+template-filter: device.category == 'MOUSE' or device.category == 'TOUCHPAD'
+plugin: manual
+category_id: com.canonical.plainbox::input
+id: input/clicking_{product_slug}_{category}_{__index__}
+estimated_duration: 30.0
+_summary: Check button functionality for {product}
+_purpose:
+ This will test the buttons of your {product} device
+_steps:
+ 1. Click the left button with your {product}.
+ 2. Click the right button with your {product}.
+ 3. Click the middle button with your {product} (if available).
+ 4. Double-click the left button with your {product}.
+_verification:
+ Did these buttons work as expected?