Merge lp:~nskaggs/ubuntu-clock-app/manual-tests-from-pilot into lp:ubuntu-clock-app

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Bartosz Kosiorek
Approved revision: 423
Merged at revision: 423
Proposed branch: lp:~nskaggs/ubuntu-clock-app/manual-tests-from-pilot
Merge into: lp:ubuntu-clock-app
Diff against target: 318 lines (+73/-45)
9 files modified
tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-alarms.pxu (+37/-30)
tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-setting.pxu (+10/-3)
tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-stopwatch.pxu (+9/-2)
tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-worldcity.pxu (+8/-1)
tests/manual/2014.com.ubuntu.clock:clock-tests/launcher/clock-test-cli (+5/-5)
tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-alarm.whitelist (+1/-1)
tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-setting.whitelist (+1/-1)
tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-stopwatch.whitelist (+1/-1)
tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-worldcity.whitelist (+1/-1)
To merge this branch: bzr merge lp:~nskaggs/ubuntu-clock-app/manual-tests-from-pilot
Reviewer Review Type Date Requested Status
Bartosz Kosiorek Approve
Jenkins Bot continuous-integration Approve
Review via email: mp+280779@code.launchpad.net

Commit message

Merge back the tweaks needed for Pilot to the manual tests

Description of the change

Merge back the tweaks needed for Pilot to the manual tests

Ugh, newline and whitespace changes, my apologies. We needed to add 'clock-' to the front of things and we added a resource plugin to the top. Since this runs on the desktop, the plugin should fail silently, but feel free to leave feedback on it's inclusion. This is simply a straight copy of what ran in Pilot. I'd like to sync them; apologies for taking so long.

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

For me it looks fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/alarms.pxu' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-alarms.pxu' (properties changed: -x to +x)
2--- tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/alarms.pxu 2015-08-23 00:32:24 +0000
3+++ tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-alarms.pxu 2015-12-16 22:30:29 +0000
4@@ -1,6 +1,13 @@
5-id: alarm/trigger-alarm
6+plugin: resource
7+id: clock-alarm/system-image
8+_summary: [Automated] gather system information
9+command: system-image-cli -i
10+_description:
11+ Gather system info
12+
13+id: clock-alarm/trigger-alarm
14 plugin: manual
15-_summary: Trigger alarm test
16+_summary: Trigger alarm test
17 estimated_duration: 120
18 _description:
19 This test checks if an alarm is triggered at the correct time by the datetime indicator.
20@@ -13,14 +20,14 @@
21 minute. Do not change any other options. Save Alarm.
22 The saved alarm should be displayed in the alarms page.
23 4. Wait for the alarm to ring.
24- The alarm should ring (with haptic feedback) at the time set in the previous step and
25+ The alarm should ring (with haptic feedback) at the time set in the previous step and
26 should show a notification with the buttons "Snooze" and "Ok".
27 5. Press "Ok" to dismiss the alarm.
28 The alarm should be dismissed.
29
30-id: alarm/edit-alarm-sound
31+id: clock-alarm/edit-alarm-sound
32 plugin: manual
33-depends: alarm/trigger-alarm
34+depends: clock-alarm/trigger-alarm
35 _summary: Edit alarm sound test
36 estimated_duration: 120
37 _description:
38@@ -44,14 +51,14 @@
39 7. Press the back button and then save the alarm.
40 You should be taken back to the alarms page after you save the alarm.
41 8. Wait for the alarm to ring.
42- The alarm should ring (with haptic feedback) at the time set in the previous step and
43+ The alarm should ring (with haptic feedback) at the time set in the previous step and
44 should show a notification with the buttons "Snooze" and "Ok".
45 9. Press "Ok" to dismiss the alarm.
46 The alarm should be dismissed.
47
48-id: alarm/edit-alarm-focus
49+id: clock-alarm/edit-alarm-focus
50 plugin: manual
51-depends: alarm/trigger-alarm
52+depends: clock-alarm/trigger-alarm
53 _summary: Edit Alarm focus test
54 estimated_duration: 660
55 _description:
56@@ -73,20 +80,20 @@
57 7. Change the alarm time to ring in the next minute. Do not change any other options. Save Alarm.
58 The saved alarm should be displayed in the alarms page.
59 8. Wait for the alarm to ring.
60- The alarm should ring (with haptic feedback) at the time set in the previous step and
61+ The alarm should ring (with haptic feedback) at the time set in the previous step and
62 should show a notification with the buttons "Snooze" and "Ok".
63 9. Press "Ok" to dismiss the alarm.
64 The alarm should be dismissed.
65
66-id: alarm/silence-setting
67+id: clock-alarm/silence-setting
68 plugin: manual
69-depends: alarm/trigger-alarm
70+depends: clock-alarm/trigger-alarm
71 _summary: Alarm Silence after setting test
72 estimated_duration: 660
73 _description:
74 This test checks if the alarm's "silence after" setting is obeyed.
75 1. Launch the clock app.
76- Clock app opens showing the current local time.
77+ Clock app opens showing the current local time.
78 2. Click the settings icon shown in the top right.
79 The settings page is visible showing the alarm settings.
80 3. Set the silence after setting to 10 minutes.
81@@ -99,23 +106,23 @@
82 message being displayed that "No saved alarms".
83 6. Press the plus icon to create a new alarm. Change the alarm time to ring in the next
84 minute. Do not change any other options. Save Alarm.
85- The saved alarm should be displayed in the alarms page.
86+ The saved alarm should be displayed in the alarms page.
87 7. Wait for the alarm to ring.
88- The alarm should ring (with haptic feedback) at the time set in the previous step and
89+ The alarm should ring (with haptic feedback) at the time set in the previous step and
90 should show a notification with the buttons "Snooze" and "Ok".
91 8. Allow the alarm to keep ringing.
92 The alarm should keep ringing and be silenced automatically by the phone only after
93 the duration set in step three.
94
95-id: alarm/vibration-setting
96+id: clock-alarm/vibration-setting
97 plugin: manual
98-depends: alarm/trigger-alarm
99+depends: clock-alarm/trigger-alarm
100 _summary: Alarm vibration setting test
101 estimated_duration: 120
102 _description:
103 This test checks if the alarm vibration settings enables/disables the alarm vibration.
104 1. Launch the clock app.
105- Clock app opens showing the current local time.
106+ Clock app opens showing the current local time.
107 2. Click the settings icon shown in the top right.
108 The settings page is visible showing the alarm settings.
109 3. Toggle the alarm vibration settings to off position.
110@@ -127,22 +134,22 @@
111 message being displayed that "No saved alarms".
112 6. Press the plus icon to create a new alarm. Change the alarm time to ring in the next
113 minute. Do not change any other options. Save Alarm.
114- The saved alarm should be displayed in the alarms page.
115+ The saved alarm should be displayed in the alarms page.
116 7. Wait for the alarm to ring.
117 Wait for the alarm to ring.
118 The alarm should ring at the time set in the previous step and should show a
119 notification with the buttons "Snooze" and "Ok". However there should be no
120 vibration when the alarm rings.
121
122-id: alarm/snooze-setting
123+id: clock-alarm/snooze-setting
124 plugin: manual
125-depends: alarm/trigger-alarm
126+depends: clock-alarm/trigger-alarm
127 estimated_duration: 360
128 _summary: Test the alarm snooze setting options
129 _description:
130 This test checks if the alarm snooze settings works as expected.
131 1. Launch the clock app.
132- Clock app opens showing the current local time.
133+ Clock app opens showing the current local time.
134 2. Click the settings icon shown in the top right.
135 The settings page is visible showing the alarm settings.
136 3. Set the snooze duration to 2 minutes.
137@@ -155,9 +162,9 @@
138 message being displayed that "No saved alarms".
139 6. Press the plus icon to create a new alarm. Change the alarm time to ring in the next
140 minute. Do not change any other options. Save Alarm.
141- The saved alarm should be displayed in the alarms page.
142+ The saved alarm should be displayed in the alarms page.
143 7. Wait for the alarm to ring.
144- The alarm should ring (with haptic feedback) at the time set in the previous step and
145+ The alarm should ring (with haptic feedback) at the time set in the previous step and
146 should show a notification with the buttons "Snooze" and "Ok".
147 8. Press the "Snooze" button.
148 The alarm should be snoozed.
149@@ -165,10 +172,10 @@
150 The alarm should ring again (with haptic feedback). Note that if an alarm is set to ring
151 originally at 10:00:00 and you snooze it the first time at 10:01:30, it should ring the next
152 time at 10:03:30 and not at 10:02:00.
153-
154-id: alarm/disable-alarm
155+
156+id: clock-alarm/disable-alarm
157 plugin: manual
158-depends: alarm/trigger-alarm
159+depends: clock-alarm/trigger-alarm
160 estimated_duration: 360
161 _summary: Test the alarm disable feature
162 _description:
163@@ -186,9 +193,9 @@
164 5. Wait for the time to pass the alarm time.
165 The alarm should not ring since it was disabled.
166
167-id: alarm/refresh-one-alarm
168+id: clock-alarm/refresh-one-alarm
169 plugin: manual
170-depends: alarm/trigger-alarm
171+depends: clock-alarm/trigger-alarm
172 estimated_duration: 120
173 _summary: Test the alarm page refresh issue
174 _description:
175@@ -208,9 +215,9 @@
176 6. Check the status of the one-time alarm you just dismissed.
177 The one-time alarm must be disabled since it was triggered and dismissed by the user.
178
179-id: alarm/refresh-recurring-alarm
180+id: clock-alarm/refresh-recurring-alarm
181 plugin: manual
182-depends: alarm/trigger-alarm
183+depends: clock-alarm/trigger-alarm
184 estimated_duration: 120
185 _summary: Test the alarm switch disable issue
186 _description:
187
188=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/setting.pxu' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-setting.pxu' (properties changed: -x to +x)
189--- tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/setting.pxu 2014-09-12 17:33:02 +0000
190+++ tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-setting.pxu 2015-12-16 22:30:29 +0000
191@@ -1,11 +1,18 @@
192-id: setting/timezone-change
193+plugin: resource
194+id: clock-setting/system-image
195+_summary: [Automated] gather system information
196+command: system-image-cli -i
197+_description:
198+ Gather system info
199+
200+id: clock-setting/timezone-change
201 plugin: manual
202 _summary: Test to check if system timezone change is also done in the clock app
203 estimated_duration: 60
204 _description:
205 Test to check if system timezone change also updates the time in the clock app.
206 1. Launch the clock app.
207- Clock app opens showing the current local time.
208+ Clock app opens showing the current local time.
209 2. Click the settings icon shown in the top right.
210 The settings page is visible showing the alarm settings.
211 3. Press the "Change time and date" settings option.
212@@ -19,4 +26,4 @@
213 the new timezone time.
214 6. Press the back button.
215 The main clock page is shown and the main clock also shows the new
216- timezone time.
217+ timezone time.
218
219=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/stopwatch.pxu' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-stopwatch.pxu'
220--- tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/stopwatch.pxu 2015-09-11 13:13:17 +0000
221+++ tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-stopwatch.pxu 2015-12-16 22:30:29 +0000
222@@ -1,4 +1,11 @@
223-id: stopwatch/language-change
224+plugin: resource
225+id: clock-stopwatch/system-image
226+_summary: [Automated] gather system information
227+command: system-image-cli -i
228+_description:
229+ Gather system info
230+
231+id: clock-stopwatch/language-change
232 plugin: manual
233 _summary: Test to check if stopwatch is working properly after timezone change, without closing Stopwatch
234 estimated_duration: 600
235@@ -11,7 +18,7 @@
236 3. Press the Start button.
237 The main display starts counting time. The Start button disappears and the buttons Stop and Lap appear.
238 4. Press the Lap button.
239- New lap row appears together with the lap header.
240+ New lap row appears together with the lap header.
241 5. Switch to the system settings app. Navigate to Date & Time.
242 The field with current timezone should be visible. Remember current timezone setting.
243 6. Press the current timezone field and change system timezone to something different.
244
245=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/worldcity.pxu' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-worldcity.pxu' (properties changed: -x to +x)
246--- tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/worldcity.pxu 2015-09-17 13:05:07 +0000
247+++ tests/manual/2014.com.ubuntu.clock:clock-tests/jobs/clock-worldcity.pxu 2015-12-16 22:30:29 +0000
248@@ -1,4 +1,11 @@
249-id: worldcity/language-change
250+plugin: resource
251+id: clock-worldcity/system-image
252+_summary: [Automated] gather system information
253+command: system-image-cli -i
254+_description:
255+ Gather system info
256+
257+id: clock-worldcity/language-change
258 plugin: manual
259 _summary: Test to check if world city language changes when the system language is changed
260 estimated_duration: 600
261
262=== modified file 'tests/manual/2014.com.ubuntu.clock:clock-tests/launcher/clock-test-cli'
263--- tests/manual/2014.com.ubuntu.clock:clock-tests/launcher/clock-test-cli 2014-09-12 17:10:18 +0000
264+++ tests/manual/2014.com.ubuntu.clock:clock-tests/launcher/clock-test-cli 2015-12-16 22:30:29 +0000
265@@ -3,19 +3,19 @@
266 [welcome]
267 text= Welcome to Clock App Manual Tests!
268 This application will guide you through some manual test cases which
269- confirm the workings of the Clock application (part of Ubuntu Core
270+ confirm the workings of the Clock application (part of Ubuntu Core
271 Applications) and its interaction with the system. The test suites are
272- split into various groups based on their functionality like alarm,
273+ split into various groups based on their functionality like alarm,
274 settings etc.
275-
276+
277 If all the actions produce the expected results listed, please submit
278 a 'passed' result.
279-
280+
281 If an action fails, or produces an unexpected results, please submit a
282 'failed' result and file a bug. Please be sure to include the bug number
283 when you submit your result.
284
285 [suite]
286-whitelist_filter = clock-app-.*
287+whitelist_filter = clock-.*
288 whitelist_selection=.*
289 skip_test_selection = True
290
291=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-alarm.whitelist' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-alarm.whitelist' (properties changed: -x to +x)
292--- tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-alarm.whitelist 2014-09-12 13:36:45 +0000
293+++ tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-alarm.whitelist 2015-12-16 22:30:29 +0000
294@@ -1,2 +1,2 @@
295-alarm/.*
296+clock-alarm/.*
297
298
299=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-setting.whitelist' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-setting.whitelist' (properties changed: -x to +x)
300--- tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-setting.whitelist 2014-09-12 13:36:45 +0000
301+++ tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-setting.whitelist 2015-12-16 22:30:29 +0000
302@@ -1,1 +1,1 @@
303-setting/.*
304+clock-setting/.*
305
306=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-stopwatch.whitelist' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-stopwatch.whitelist'
307--- tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-stopwatch.whitelist 2015-09-10 08:49:17 +0000
308+++ tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-stopwatch.whitelist 2015-12-16 22:30:29 +0000
309@@ -1,1 +1,1 @@
310-stopwatch/.*
311+clock-stopwatch/.*
312
313=== renamed file 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-worldcity.whitelist' => 'tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-worldcity.whitelist' (properties changed: -x to +x)
314--- tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-app-worldcity.whitelist 2015-08-23 09:35:44 +0000
315+++ tests/manual/2014.com.ubuntu.clock:clock-tests/whitelists/clock-worldcity.whitelist 2015-12-16 22:30:29 +0000
316@@ -1,1 +1,1 @@
317-worldcity/.*
318+clock-worldcity/.*

Subscribers

People subscribed via source and target branches