diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2014-04-28 14:03:14 +0800 |
---|---|---|
committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2014-04-28 14:03:14 +0800 |
commit | 44ca6a4d018b72693b2b3c522128637659493d02 (patch) | |
tree | 785d16eb4d3a1faea7f62f6005ea3bfc6ffc1a65 | |
parent | dfac983f781343ae2420ea30a6e7481a9bcabe14 (diff) |
Added explicit manual clicking jobs for input devices
-rw-r--r-- | jobs/input.txt.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/jobs/input.txt.in b/jobs/input.txt.in index e0f2fcb..ba005d8 100644 --- a/jobs/input.txt.in +++ b/jobs/input.txt.in @@ -65,3 +65,24 @@ _description: 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? + +plugin: local +id: input/clicking +requires: + device.category == 'MOUSE' or device.category == 'TOUCHPAD' +_description: Click tests for pointing devices. +command: + cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=MOUSE" -w "category=TOUCHPAD"' + plugin: manual + id: input/clicking_`echo "${product}_${category}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`_`basename $path` + requires: device.path == "$path" + description: + 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). + VERIFICATION: + Did these buttons work as expected? + EOF |