~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-checkbox/jobs/touchpad.txt.in

  • Committer: Tarmac
  • Author(s): Brendan Donegan
  • Date: 2013-06-03 11:12:58 UTC
  • mfrom: (2154.2.1 bug1185759)
  • Revision ID: tarmac-20130603111258-1b3m5ydvkf1accts
"[r=zkrynicki][bug=1185759][author=brendan-donegan] automatic merge by tarmac"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
plugin: manual
2
 
category_id: 2013.com.canonical.plainbox::touchpad
3
 
id: touchpad/basic
4
 
requires: dmi.product in ['Notebook','Laptop','Portable']
5
 
estimated_duration: 120.0
6
 
_description:
7
 
 PURPOSE:
8
 
     Touchpad manual verification
9
 
 STEPS:
10
 
     1. Make sure that touchpad is enabled.
11
 
     2. Move cursor using the touchpad.
12
 
 VERIFICATION:
13
 
     Did the cursor move?
14
 
 
15
 
plugin: user-interact
16
 
category_id: 2013.com.canonical.plainbox::touchpad
17
 
id: touchpad/horizontal
18
 
requires:
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
23
 
_description:
24
 
 PURPOSE:
25
 
     Touchpad horizontal scroll verification
26
 
 STEPS:
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.
29
 
 VERIFICATION:
30
 
     Could you scroll right and left?
31
 
 
32
 
plugin: user-interact
33
 
category_id: 2013.com.canonical.plainbox::touchpad
34
 
id: touchpad/vertical
35
 
requires:
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
40
 
_description:
41
 
 PURPOSE:
42
 
     Touchpad vertical scroll verification
43
 
 STEPS:
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.
46
 
 VERIFICATION:
47
 
     Could you scroll up and down?
48
 
 
49
 
plugin: shell
50
 
category_id: 2013.com.canonical.plainbox::touchpad
51
 
id: touchpad/singletouch-automated
52
 
requires:
53
 
  dmi.product in ['Notebook','Laptop','Portable']
54
 
  xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'dependent'
55
 
command: true
56
 
estimated_duration: 1.2
57
 
_description:
58
 
 Determine whether the touchpad is detected as a singletouch device automatically.
59
 
 
60
 
plugin: shell
61
 
category_id: 2013.com.canonical.plainbox::touchpad
62
 
id: touchpad/multitouch-automated
63
 
estimated_duration: 1.2
64
 
requires:
65
 
  dmi.product in ['Notebook','Laptop','Portable']
66
 
  xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent'
67
 
command: true
68
 
_description:
69
 
 Determine whether the touchpad is detected as a multitouch device automatically.
70
 
 
71
 
plugin: manual
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
77
 
_description:
78
 
 PURPOSE:
79
 
     Touchpad manual detection of multitouch.
80
 
 STEPS:
81
 
     1. Look at the specifications for your system.
82
 
 VERIFICATION:
83
 
     Is the touchpad supposed to be multitouch?
84
 
 
85
 
plugin: manual
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
90
 
_description:
91
 
 PURPOSE:
92
 
     Determine that the hot corner feature is working as expected
93
 
 STEPS:
94
 
     1. Launch a browser.
95
 
     2. Go to a website, and hover the cursor over a link.
96
 
     3. Tap the upper right corner on the touchpad.
97
 
 VERIFICATION:
98
 
     Did the tap trigger a new tab to be opened?
99
 
 
100
 
plugin: manual
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
105
 
_description:
106
 
 PURPOSE:
107
 
     Determine that the selection window function is working as expected.
108
 
 STEPS:
109
 
     1. Open a file folder
110
 
     2. Double tap and drag the cursor across several file.
111
 
 VERIFICATION:
112
 
     Did a selection window open and were several files selected?
113
 
 
114
 
plugin: manual
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
120
 
_description:
121
 
 PURPOSE:
122
 
     Determine that the right click function is working as expected.
123
 
 STEPS:
124
 
     1. Open a file folder
125
 
     2. Hover cursor over file in folder
126
 
     3. 2-touch tap.
127
 
 VERIFICATION:
128
 
     Did the right click pop up menu appear?
129
 
 
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
136
 
_description:
137
 
 PURPOSE:
138
 
     Touchpad 2-touch horizontal scroll verification
139
 
 STEPS:
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.
142
 
 VERIFICATION:
143
 
     Could you scroll right and left?
144
 
 
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
151
 
_description:
152
 
 PURPOSE:
153
 
     Touchpad 2-touch vertical scroll verification
154
 
 STEPS:
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.
157
 
 VERIFICATION:
158
 
     Could you scroll up and down?
159
 
 
160
 
plugin: manual
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
165
 
_description:
166
 
 PURPOSE:
167
 
     Determine that the drag and drop function is working as expected.
168
 
 STEPS:
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.
172
 
 VERIFICATION:
173
 
     Did a selected folder move to the desktop?
174
 
 
175
 
plugin: manual
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
182
 
_description:
183
 
 PURPOSE:
184
 
     Check touchpad pinch gesture for zoom
185
 
 STEPS:
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
189
 
 VERIFICATION:
190
 
     Does the image zoom in and out?
191
 
 
192
 
plugin: manual
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
199
 
_description:
200
 
 PURPOSE:
201
 
     Validate that 4-touch tap is operating as expected
202
 
 STEPS:
203
 
     1. 4-touch tap (tap with 4 fingers) anywhere on the touchpad
204
 
 VERIFICATION:
205
 
     Did the tap open the Dash?
206
 
 
207
 
plugin: shell
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
212
 
command:
213
 
    info=`touchpad_driver_info`
214
 
    if [ $? -eq 0 ]; then
215
 
        echo -e "touchpad detected with:\n$info"
216
 
    else
217
 
        echo "$info"
218
 
        exit 1
219
 
    fi 
220
 
_description:
221
 
 This test will check if your touchpad was detected as a mouse.
222
 
 
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
229
 
_description:
230
 
 PURPOSE:
231
 
     Touchpad continuous move verification
232
 
 STEPS:
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.
235
 
 VERIFICATION:
236
 
     Did the mouse cursor move without interruption?