diff options
-rw-r--r-- | jobs/touchpad.txt.in | 162 |
1 files changed, 76 insertions, 86 deletions
diff --git a/jobs/touchpad.txt.in b/jobs/touchpad.txt.in index d46e6dd..ed23ad2 100644 --- a/jobs/touchpad.txt.in +++ b/jobs/touchpad.txt.in @@ -3,14 +3,13 @@ category_id: com.canonical.plainbox::touchpad id: touchpad/basic requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 120.0 -_description: - PURPOSE: - Touchpad manual verification - STEPS: - 1. Make sure that touchpad is enabled. - 2. Move cursor using the touchpad. - VERIFICATION: - Did the cursor move? +_purpose: + Touchpad manual verification +_steps: + 1. Make sure that touchpad is enabled. + 2. Move cursor using the touchpad. +_verification: + Did the cursor move? _siblings: [{ "id": "touchpad/basic-after-suspend", "depends": "suspend/suspend_advanced touchpad/basic" }] @@ -23,13 +22,12 @@ requires: 'Button Horiz Wheel Left' in xinput.button_labels and 'Button Horiz Wheel Right' in xinput.button_labels command: touchpad_test right left --edge-scroll estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Touchpad horizontal scroll verification - STEPS: - 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. - 2. Verify that you can move the horizontal slider by moving your finger right and left in the lower part of the touchpad. - VERIFICATION: +_steps: + 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. + 2. Verify that you can move the horizontal slider by moving your finger right and left in the lower part of the touchpad. +_verification: Could you scroll right and left? _siblings: [{ "id": "touchpad/horizontal-after-suspend", @@ -43,13 +41,12 @@ requires: 'Button Wheel Up' in xinput.button_labels and 'Button Wheel Down' in xinput.button_labels command: touchpad_test up down --edge-scroll estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Touchpad vertical scroll verification - STEPS: - 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. - 2. Verify that you can move the vertical slider by moving your finger up and down in the right part of the touchpad. - VERIFICATION: +_steps: + 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. + 2. Verify that you can move the vertical slider by moving your finger up and down in the right part of the touchpad. +_verification: Could you scroll up and down? _siblings: [{ "id": "touchpad/vertical-after-suspend", @@ -63,7 +60,7 @@ requires: xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'dependent' command: true estimated_duration: 1.2 -_description: +_purpose: Determine whether the touchpad is detected as a singletouch device automatically. plugin: shell @@ -74,7 +71,7 @@ requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent' command: true -_description: +_purpose: Determine whether the touchpad is detected as a multitouch device automatically. plugin: manual @@ -83,27 +80,28 @@ id: touchpad/multitouch-manual requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] depends: touchpad/singletouch-automated estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Touchpad manual detection of multitouch. - STEPS: - 1. Look at the specifications for your system. - VERIFICATION: +_steps: + 1. Look at the specifications for your system. +_verification: Is the touchpad supposed to be multitouch? +_siblings: + [{ "id": "touchpad/multitouch-manual-after-suspend", + "depends": "suspend/suspend_advanced touchpad/multitouch-manual" }] plugin: manual category_id: com.canonical.plainbox::touchpad id: touchpad/singletouch-corner requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Determine that the hot corner feature is working as expected - STEPS: - 1. Launch a browser. - 2. Go to a website, and hover the cursor over a link. - 3. Tap the upper right corner on the touchpad. - VERIFICATION: +_steps: + 1. Launch a browser. + 2. Go to a website, and hover the cursor over a link. + 3. Tap the upper right corner on the touchpad. +_verification: Did the tap trigger a new tab to be opened? plugin: manual @@ -111,13 +109,12 @@ category_id: com.canonical.plainbox::touchpad id: touchpad/singletouch-selection requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Determine that the selection window function is working as expected. - STEPS: - 1. Open a file folder - 2. Double tap and drag the cursor across several file. - VERIFICATION: +_steps: + 1. Open a file folder + 2. Double tap and drag the cursor across several file. +_verification: Did a selection window open and were several files selected? _siblings: [{ "id": "touchpad/singletouch-selection-after-suspend", @@ -129,14 +126,13 @@ id: touchpad/multitouch-rightclick requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] depends: touchpad/multitouch-automated estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Determine that the right click function is working as expected. - STEPS: - 1. Open a file folder - 2. Hover cursor over file in folder - 3. 2-touch tap. - VERIFICATION: +_steps: + 1. Open a file folder + 2. Hover cursor over file in folder + 3. 2-touch tap. +_verification: Did the right click pop up menu appear? _siblings: [{ "id": "touchpad/multitouch-rightclick-after-suspend", @@ -148,13 +144,12 @@ id: touchpad/multitouch-horizontal requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] command: touchpad_test right left estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Touchpad 2-touch horizontal scroll verification - STEPS: - 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. - 2. Verify that you can move the horizontal slider by moving 2 fingers right and left along the touchpad. - VERIFICATION: +_steps: + 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. + 2. Verify that you can move the horizontal slider by moving 2 fingers right and left along the touchpad. +_verification: Could you scroll right and left? _siblings: [{ "id": "touchpad/multitouch-horizontal-after-suspend", @@ -166,13 +161,12 @@ id: touchpad/multitouch-vertical requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] command: touchpad_test up down estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Touchpad 2-touch vertical scroll verification - STEPS: - 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. - 2. Verify that you can move the vertical slider by moving 2 fingers up and down along the touchpad. - VERIFICATION: +_steps: + 1. Select "Test" when ready and place your cursor within the borders of the displayed test window. + 2. Verify that you can move the vertical slider by moving 2 fingers up and down along the touchpad. +_verification: Could you scroll up and down? _siblings: [{ "id": "touchpad/multitouch-vertical-after-suspend", @@ -183,14 +177,13 @@ category_id: com.canonical.plainbox::touchpad id: touchpad/drag-and-drop requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 120.0 -_description: - PURPOSE: +_purpose: Determine that the drag and drop function is working as expected. - STEPS: - 1. Browse to the examples folder in the current user's home directory - 2. Double tap and hold to select the "Ubuntu_Free_Culture_Showcase" folder - 2. Drag the selected folder to the desktop and remove finger from touchpad. - VERIFICATION: +_steps: + 1. Browse to the examples folder in the current user's home directory + 2. Double tap and hold to select the "Ubuntu_Free_Culture_Showcase" folder + 3. Drag the selected folder to the desktop and remove finger from touchpad. +_verification: Did a selected folder move to the desktop? _siblings: [{ "id": "touchpad/drag-and-drop-after-suspend", @@ -203,14 +196,13 @@ requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] depends: touchpad/multitouch-automated estimated_duration: 120.0 _summary: Check touchpad pinch-to-zoom gesture -_description: - PURPOSE: +_purpose: Check touchpad pinch gesture for zoom - STEPS: - 1. Open gallery-app with an image - 2. Place two fingers on the touchpad and pinch them together - 3. Place two fingers on the touchpad and move them apart - VERIFICATION: +_steps: + 1. Open gallery-app with an image + 2. Place two fingers on the touchpad and pinch them together + 3. Place two fingers on the touchpad and move them apart +_verification: Does the image zoom in and out? plugin: manual @@ -220,12 +212,11 @@ requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] depends: touchpad/multitouch-automated estimated_duration: 120.0 _summary: Check 4-finger tap gesture -_description: - PURPOSE: +_purpose: Validate that 4-touch tap is operating as expected - STEPS: - 1. 4-touch tap (tap with 4 fingers) anywhere on the touchpad - VERIFICATION: +_steps: + 1. 4-touch tap (tap with 4 fingers) anywhere on the touchpad +_verification: Did the tap open the Dash? _siblings: [{ "id": "touchpad/multitouch-dash-after-suspend", @@ -245,7 +236,7 @@ command: echo "$info" exit 1 fi -_description: +_purpose: This test will check if your touchpad was detected as a mouse. _siblings: [{ "id": "touchpad/detected-as-mouse-after-suspend", @@ -257,13 +248,12 @@ id: touchpad/continuous-move requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 12 command: qmlscene -qt5 --fullscreen $PLAINBOX_PROVIDER_DATA/touch_continuous_move_test.qml 2>&1 | grep -o PASS -_description: - PURPOSE: +_purpose: Touchpad continuous move verification - STEPS: - 1. Select "Test" when ready and continuously move your cursor within the borders of the displayed test window. - You'll need to keep moving your finger on the touchpad for 10 seconds. - VERIFICATION: +_steps: + 1. Select "Test" when ready and continuously move your cursor within the borders of the displayed test window. + You'll need to keep moving your finger on the touchpad for 10 seconds. +_verification: Did the mouse cursor move without interruption? _siblings: [{ "id": "touchpad/continuous-move-after-suspend", @@ -274,7 +264,7 @@ category_id: com.canonical.plainbox::touchpad id: touchpad/palm-rejection requires: dmi.product in ['Notebook','Laptop','Portable','Convertible'] estimated_duration: 20 -_description: +_purpose: This test checks if touchpad ignores palm touches qml_file: palm_rejection.qml _siblings: |