2
category_id: 2013.com.canonical.plainbox::touchpad
4
requires: dmi.product in ['Notebook','Laptop','Portable']
5
estimated_duration: 120.0
8
Touchpad manual verification
10
1. Make sure that touchpad is enabled.
11
2. Move cursor using the touchpad.
16
category_id: 2013.com.canonical.plainbox::touchpad
17
id: touchpad/horizontal
19
dmi.product in ['Notebook','Laptop','Portable']
20
'Button Horiz Wheel Left' in xinput.button_labels and 'Button Horiz Wheel Right' in xinput.button_labels
21
command: touchpad_test right left --edge-scroll
22
estimated_duration: 120.0
25
Touchpad horizontal scroll verification
27
1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
28
2. Verify that you can move the horizontal slider by moving your finger right and left in the lower part of the touchpad.
30
Could you scroll right and left?
33
category_id: 2013.com.canonical.plainbox::touchpad
36
dmi.product in ['Notebook','Laptop','Portable']
37
'Button Wheel Up' in xinput.button_labels and 'Button Wheel Down' in xinput.button_labels
38
command: touchpad_test up down --edge-scroll
39
estimated_duration: 120.0
42
Touchpad vertical scroll verification
44
1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
45
2. Verify that you can move the vertical slider by moving your finger up and down in the right part of the touchpad.
47
Could you scroll up and down?
50
category_id: 2013.com.canonical.plainbox::touchpad
51
id: touchpad/singletouch-automated
53
dmi.product in ['Notebook','Laptop','Portable']
54
xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'dependent'
56
estimated_duration: 1.2
58
Determine whether the touchpad is detected as a singletouch device automatically.
61
category_id: 2013.com.canonical.plainbox::touchpad
62
id: touchpad/multitouch-automated
63
estimated_duration: 1.2
65
dmi.product in ['Notebook','Laptop','Portable']
66
xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent'
69
Determine whether the touchpad is detected as a multitouch device automatically.
72
category_id: 2013.com.canonical.plainbox::touchpad
73
id: touchpad/multitouch-manual
74
requires: dmi.product in ['Notebook','Laptop','Portable']
75
depends: touchpad/singletouch-automated
76
estimated_duration: 120.0
79
Touchpad manual detection of multitouch.
81
1. Look at the specifications for your system.
83
Is the touchpad supposed to be multitouch?
86
category_id: 2013.com.canonical.plainbox::touchpad
87
id: touchpad/singletouch-corner
88
requires: dmi.product in ['Notebook','Laptop','Portable']
89
estimated_duration: 120.0
92
Determine that the hot corner feature is working as expected
95
2. Go to a website, and hover the cursor over a link.
96
3. Tap the upper right corner on the touchpad.
98
Did the tap trigger a new tab to be opened?
101
category_id: 2013.com.canonical.plainbox::touchpad
102
id: touchpad/singletouch-selection
103
requires: dmi.product in ['Notebook','Laptop','Portable']
104
estimated_duration: 120.0
107
Determine that the selection window function is working as expected.
109
1. Open a file folder
110
2. Double tap and drag the cursor across several file.
112
Did a selection window open and were several files selected?
115
category_id: 2013.com.canonical.plainbox::touchpad
116
id: touchpad/multitouch-rightclick
117
requires: dmi.product in ['Notebook','Laptop','Portable']
118
depends: touchpad/multitouch-automated
119
estimated_duration: 120.0
122
Determine that the right click function is working as expected.
124
1. Open a file folder
125
2. Hover cursor over file in folder
128
Did the right click pop up menu appear?
130
plugin: user-interact
131
category_id: 2013.com.canonical.plainbox::touchpad
132
id: touchpad/multitouch-horizontal
133
requires: dmi.product in ['Notebook','Laptop','Portable']
134
command: touchpad_test right left
135
estimated_duration: 120.0
138
Touchpad 2-touch horizontal scroll verification
140
1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
141
2. Verify that you can move the horizontal slider by moving 2 fingers right and left along the touchpad.
143
Could you scroll right and left?
145
plugin: user-interact
146
category_id: 2013.com.canonical.plainbox::touchpad
147
id: touchpad/multitouch-vertical
148
requires: dmi.product in ['Notebook','Laptop','Portable']
149
command: touchpad_test up down
150
estimated_duration: 120.0
153
Touchpad 2-touch vertical scroll verification
155
1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
156
2. Verify that you can move the vertical slider by moving 2 fingers up and down along the touchpad.
158
Could you scroll up and down?
161
category_id: 2013.com.canonical.plainbox::touchpad
162
id: touchpad/drag-and-drop
163
requires: dmi.product in ['Notebook','Laptop','Portable']
164
estimated_duration: 120.0
167
Determine that the drag and drop function is working as expected.
169
1. Browse to the examples folder in the current user's home directory
170
2. Double tap and hold to select the "Ubuntu_Free_Culture_Showcase" folder
171
2. Drag the selected folder to the desktop and remove finger from touchpad.
173
Did a selected folder move to the desktop?
176
category_id: 2013.com.canonical.plainbox::touchpad
177
id: touchpad/multitouch-zoom
178
requires: dmi.product in ['Notebook','Laptop','Portable']
179
depends: touchpad/multitouch-automated
180
estimated_duration: 120.0
181
_summary: Check touchpad pinch-to-zoom gesture
184
Check touchpad pinch gesture for zoom
186
1. Open gallery-app with an image
187
2. Place two fingers on the touchpad and pinch them together
188
3. Place two fingers on the touchpad and move them apart
190
Does the image zoom in and out?
193
category_id: 2013.com.canonical.plainbox::touchpad
194
id: touchpad/multitouch-dash
195
requires: dmi.product in ['Notebook','Laptop','Portable']
196
depends: touchpad/multitouch-automated
197
estimated_duration: 120.0
198
_summary: Check 4-finger tap gesture
201
Validate that 4-touch tap is operating as expected
203
1. 4-touch tap (tap with 4 fingers) anywhere on the touchpad
205
Did the tap open the Dash?
208
category_id: 2013.com.canonical.plainbox::touchpad
209
id: touchpad/detected-as-mouse
210
requires: dmi.product in ['Notebook','Laptop','Portable']
211
estimated_duration: 1.2
213
info=`touchpad_driver_info`
214
if [ $? -eq 0 ]; then
215
echo -e "touchpad detected with:\n$info"
221
This test will check if your touchpad was detected as a mouse.
223
plugin: user-interact
224
category_id: 2013.com.canonical.plainbox::touchpad
225
id: touchpad/continuous-move
226
requires: dmi.product in ['Notebook','Laptop','Portable']
227
estimated_duration: 12
228
command: qmlscene -qt5 --fullscreen $PLAINBOX_PROVIDER_DATA/touch_continuous_move_test.qml 2>&1 | grep -o PASS
231
Touchpad continuous move verification
233
1. Select "Test" when ready and continuously move your cursor within the borders of the displayed test window.
234
You'll need to keep moving your finger on the touchpad for 10 seconds.
236
Did the mouse cursor move without interruption?