~azzar1/unity/fix-1028810

« back to all changes in this revision

Viewing changes to manual-tests/Preview.txt

  • Committer: Andrea Azzarone
  • Date: 2012-08-22 13:14:18 UTC
  • mfrom: (2516.1.92 unity)
  • Revision ID: azzaronea@gmail.com-20120822131418-mrfwx82k39xnvl9e
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Preview Tests
 
2
=============
 
3
 
 
4
Application Preview Open
 
5
------------
 
6
This tests that the dash preview opens using mouse right-click
 
7
 
 
8
Setup:
 
9
#. Open application lens (Super+A)
 
10
#. Enter arbitrary search string and ensure a result is available.
 
11
 
 
12
Actions:
 
13
#. Right-click the mouse on one of the results.
 
14
 
 
15
Expected Result:
 
16
  A application preview view will replace the dash lens view.
 
17
  If multiple results were available in the dash, there will be navigator
 
18
  buttons on either side of the preview.
 
19
 
 
20
 
 
21
File Preview Open
 
22
------------
 
23
This tests that the dash preview opens using mouse right-click
 
24
 
 
25
Setup:
 
26
#. Open file lens (Super+F)
 
27
#. Enter arbitrary search string and ensure a result is available.
 
28
 
 
29
Actions:
 
30
#. Right-click the mouse on one of the results.
 
31
 
 
32
Expected Result:
 
33
  A file preview view will replace the dash lens view.
 
34
  If multiple results were available in the dash, there will be navigator
 
35
  icons on either side of the preview.
 
36
 
 
37
 
 
38
Music Preview Open
 
39
note: Should be automated.
 
40
------------
 
41
This tests that the dash preview opens using mouse right-click
 
42
 
 
43
Setup:
 
44
#. Open music lens (Super+M)
 
45
#. Enter arbitrary search string and ensure a result is available.
 
46
 
 
47
Actions:
 
48
#. Right-click the mouse on one of the results.
 
49
 
 
50
Expected Result:
 
51
  A music preview view will replace the dash lens view.
 
52
  If multiple results were available in the dash, there will be navigator
 
53
  icons on either side of the preview.
 
54
 
 
55
 
 
56
Video Preview Open
 
57
note: Should be automated.
 
58
------------
 
59
This tests that the dash preview opens using mouse right-click
 
60
 
 
61
Setup:
 
62
#. Open video lens (Super+V)
 
63
#. Enter arbitrary search string and ensure a result is available.
 
64
 
 
65
Actions:
 
66
#. Right-click the mouse on one of the results.
 
67
 
 
68
Expected Result:
 
69
  A video preview view will replace the dash lens view.
 
70
  If multiple results were available in the dash, there will be navigator
 
71
  icons on either side of the preview.
 
72
 
 
73
 
 
74
Preview Left Navigation
 
75
------------
 
76
This tests the dash preview animation
 
77
 
 
78
Setup:
 
79
#. Open dash super
 
80
#. Open a lens which supports previeing (eg Application, Music, File)
 
81
#. Enter arbitrary search string and ensure at least 2 results are available.
 
82
 
 
83
Actions:
 
84
#. Right-click the mouse on at least the second result.
 
85
#. Wait for the preview window to open and finish animating.
 
86
#. Click the 'navigate left' icon.
 
87
 
 
88
Expected Result:
 
89
  The current preview will be replaced with a preview modelled on the previous result
 
90
  in the dash.
 
91
  
 
92
 
 
93
Preview Right Navigation
 
94
------------
 
95
This tests the dash preview animation
 
96
 
 
97
Setup:
 
98
#. Open dash super
 
99
#. Open a lens which supports previeing (eg Application, Music, File)
 
100
#. Enter arbitrary search string and ensure at least 2 results are available.
 
101
 
 
102
Actions:
 
103
#. Right-click the mouse on at most the second last result.
 
104
#. Wait for the preview window to open and finish animating.
 
105
#. Click the 'navigate right' icon.
 
106
 
 
107
Expected Result:
 
108
  The current preview will be replaced with a preview modelled on the next result
 
109
  in the dash.
 
110
 
 
111
 
 
112
Preview Open Animation
 
113
note: Should be automated.
 
114
------------
 
115
This tests the dash preview open animation
 
116
 
 
117
Setup:
 
118
#. Open dash super
 
119
#. Open a lens which supports previeing (eg Application, Music, File)
 
120
#. Enter arbitrary search string and ensure a result is available.
 
121
 
 
122
Actions:
 
123
#. Open preview for result.
 
124
 
 
125
Expected Result:
 
126
  A preview will open by animating a swipe from left to right using an
 
127
  ease in-out curve progression.
 
128
 
 
129
 
 
130
Preview Left Navigation Animation
 
131
note: Should be automated.
 
132
------------
 
133
This tests the dash preview navigate left animation
 
134
 
 
135
Setup:
 
136
#. Open dash super
 
137
#. Open a lens which supports previeing (eg Application, Music, File)
 
138
#. Enter arbitrary search string and ensure at least 2 results are available.
 
139
#. Right-click the mouse on at least the second result.
 
140
#. Wait for the preview window to open and finish animating.
 
141
 
 
142
Actions:
 
143
#. Click the 'navigate left' icon.
 
144
 
 
145
Expected Result:
 
146
  The current preview will swipe out and the new prevew result will swipe from right
 
147
  to left using an ease in-out curve progression.
 
148
 
 
149
 
 
150
Preview Right Navigation Animation
 
151
note: Should be automated.
 
152
------------
 
153
This tests the dash preview navigate right animation
 
154
 
 
155
Setup:
 
156
#. Open dash super
 
157
#. Open a lens which supports previeing (eg Application, Music, File)
 
158
#. Enter arbitrary search string and ensure at least 2 results are available.
 
159
#. Right-click the mouse on at most the second last result.
 
160
#. Wait for the preview window to open and finish animating.
 
161
 
 
162
Actions:
 
163
#. Click the navigate right icon.
 
164
 
 
165
Expected Result:
 
166
  The current preview will swipe out and the new prevew result will swipe from right
 
167
  to left using an ease in-out curve progression.
 
168
 
 
169
 
 
170
Preview Navigate Many
 
171
------------
 
172
This tests the dash preview multi-navigation support
 
173
 
 
174
Setup:
 
175
#. Open dash super
 
176
#. Open a lens which supports previeing (eg Application, Music, File)
 
177
#. Enter arbitrary search string and ensure at least 3 results are available.
 
178
#. Right-click first result.
 
179
#. Wait for the preview window to open and finish animating.
 
180
 
 
181
Actions:
 
182
#. Click 'navigate right' icon twice quickly.
 
183
 
 
184
Expected Result:
 
185
  The current preview will swipe out, being replaced intermittently by the next preview,
 
186
  which will then be replaced by the next preview.
 
187
 
 
188
 
 
189
Preview Music Tracks
 
190
note: Should be automated.
 
191
------------
 
192
This tests the dash music preview track play
 
193
 
 
194
Setup:
 
195
#. Open music lens (Super+M)
 
196
#. Enter arbitrary search string and ensure a result is available.
 
197
 
 
198
Actions:
 
199
#. Open a preview for a result.
 
200
 
 
201
Expected Result:
 
202
  A music preview will open and tracks for the music result will be populated.
 
203
  The Track information will contain a title and duration.
 
204
 
 
205
 
 
206
Preview Music Play
 
207
note: Should be automated.
 
208
------------
 
209
This tests the dash music preview track play
 
210
 
 
211
Setup:
 
212
#. Open music lens (Super+M)
 
213
#. Enter arbitrary search string and ensure a result is available.
 
214
#. Open a preview for a result which contains tracks.
 
215
 
 
216
Actions:
 
217
#. Play first track.
 
218
 
 
219
Expected Result:
 
220
  Music Player daemon will start playing track and update status of the track
 
221
  in the preview to playing as well as update it's progress.
 
222
 
 
223
 
 
224
Preview Music Pause
 
225
note: Should be automated.
 
226
------------
 
227
This tests the dash preview preview navigate right animation
 
228
 
 
229
Setup:
 
230
#. Open music lens (Super+M)
 
231
#. Enter arbitrary search string and ensure a result is available.
 
232
#. Open a preview for a result which contains tracks.
 
233
#. Play first track.
 
234
 
 
235
Actions:
 
236
#. Pause playing track.
 
237
 
 
238
Expected Result:
 
239
  Music Player daemon will pause the playing track and update it's status
 
240
  to paused. Progress will stop incresing.
 
241
 
 
242
 
 
243
Preview Application Launch
 
244
note: Should be automated.
 
245
------------
 
246
This tests the dash application preview launch action
 
247
 
 
248
Setup:
 
249
#. Open application lens (Super+F)
 
250
#. Enter 'gedit' search string.
 
251
#. Wait for result.
 
252
#. Open preview for result. (Right-click)
 
253
 
 
254
Actions:
 
255
#. Click 'Launch' action button.
 
256
 
 
257
Expected Result:
 
258
  Preview should close and launch the gedit application.