22
22
<dd>The menu is populated with items</dd>
25
Test-case indicator-sound/unity8-sound-notifications
27
<dt>Adjust volume using HW keys if available</dt>
28
<dd>A notification bubble should appear with the sound volume</dd>
29
<dd>An audibule sound should play at the level of the audio</dd>
30
<dt>Adjust volume with slider in sound indicator</dt>
31
<dd>A notification bubble should appear with the sound volume</dd>
32
<dd>An audibule sound should play at the level of the audio</dd>
33
<dt>Open a video with sound and play in media player</dt>
34
<dd>The video should play and the sound should be audible</dd>
35
<dt>Adjust volume using HW keys if available</dt>
36
<dd>A notification bubble should appear with the sound volume</dd>
37
<dd>No notification sound should be heard</dd>
38
<dt>Adjust volume with slider in sound indicator</dt>
39
<dd>A notification bubble should appear with the sound volume</dd>
40
<dd>No notification sound should be heard</dd>
43
Test-case indicator-sound/unity8-high-volume
45
<dt>Plug headphones into the headphone jack</dt>
46
<dt>Adjust volume so that it is at the midpoint of volume range</dt>
47
<dd>The slider should be in the middle of the scale</dd>
48
<dt>Increase the volume once using HW keys if available</dt>
49
<dd>A notification bubble should appear with the sound volume</dd>
50
<dd>There should be no text on the notification</dd>
51
<dt>Increase the volume using HW keys until it is roughly 90% of the range</dt>
52
<dd>A notification bubble should appear with the sound volume</dd>
53
<dd>The text on the notification should read "High volume"</dd>
54
<dd>The range on the notification bubble should have a different color signifying the higher volume</dd>
55
<dt>Decrease the volume using HW keys until it is roughly 50% of the range</dt>
56
<dd>A notification bubble should appear with the sound volume</dd>
57
<dd>There should be no text on the notification</dd>
58
<dd>The range on the notification bubble should have a standard color</dd>
61
Test-case indicator-sound/unity8-silent-mode
63
<dt>NOTE: This test currently doesn't work because of a bug: http://pad.lv/1336715</dt>
64
<dt>Open the Sound menu</dt>
65
<dd>The sound menu includes an item "Silent Mode" which is a check box</dd>
66
<dd>The checkbox is not checked</dd>
67
<dt>Enable silent mode</dt>
68
<dd>Selecting the "Silent Mode" item should cause the box to be checked</dd>
69
<dt>Open the sound panel in system settings</dt>
70
<dd>The sound panel includes an item "Silent Mode" which is a check box</dd>
71
<dd>The checkbox is checked</dd>
72
<dt>Disable silent mode in system settings</dt>
73
<dd>The checkbox is not checked</dd>
74
<dt>Open the Sound menu</dt>
75
<dd>The sound menu includes an item "Silent Mode" which is a check box</dd>
76
<dd>The checkbox is not checked</dd>
79
Test-case indicator-sound/unity8-audio-roles
81
<dt>Without playing anything (no active audio stream), change the volume on the indicator or with the volume buttons and then try playing one of the following audio streams: camera shutter, ringtone, message notification, dtmf</dt>
82
<dd>The audio stream should reflect the volume set on the indicator</dd>
83
<dt>Without playing anything (no active audio stream), change the volume on the indicator or with volume buttons and then try playing one of the following audio streams: music-app, webrowser (youtube)</dt>
84
<dd>The audio stream should not be affected by the volume set on the indicator when there was no other active stream</dt>
85
<dt>Play a multimedia stream (music-app, webrowser) and change the volume on the indicator when the stream is active</dt>
86
<dd>The multimedia audio stream should reflect the volume set on the indicator</dd>
87
<dd>When stopping/closing the multimedia stream, it should automatically show up the volume for the alert role (ringtone, notification, etc)</dd>
88
<dd>No other role should be affected by the volume level used by the multimedia role</dd>
89
<dt>Play a alarm stream (clock-app) and change the volume on the indicator when the stream is active</dt>
90
<dd>The alarm audio stream should reflect the volume set on the indicator</dd>
91
<dd>When stopping/closing the alarm stream, it should automatically show up the volume for the alert role (ringtone, notification, etc)</dd>
92
<dd>No other role should be affected by the volume level used by the alarm role</dd>
93
<dt>Start a voice call using the dialer-app and change the volume on the indicator when the call is active</dt>
94
<dd>The phone audio stream should reflect the volume set on the indicator</dd>
95
<dd>When hanging up the voice call it should automatically show up the volume for the alert role (ringtone, notification, etc)</dd>
96
<dd>No other role should be affected by the volume level used by the phone role</dd>
99
Test-case indicator-sound/unity8-embedded-greeter
101
<dt>NOTE: Only works with embedded greeter, split greeter will require modifications to this test</dt>
102
<dt>Ensure System Settings is set to "Show Messages on Greeter"</dt>
103
<dt>Play a song in the media player</dt>
104
<dd>The song should be heard</dd>
105
<dd>There should be an entry in the sound menu with the meta data for the song being played</dd>
106
<dt>Go to the greeter. This can be done by hitting the lock button twice.</dt>
107
<dt>Ensure the sound menu has song meta data</dt>
108
<dd>There should be an entry in the sound menu with the meta data for the song being played</dd>
109
<dt>Pause the song in the greeter</dt>
110
<dd>The song should stop playing</dd>
111
<dt>Resume the song in the greeter</dt>
112
<dd>The song should continue to play</dd>
113
<dt>Disable System Settings value "Show Messages on Greeter"</dt>
114
<dt>Ensure the sound menu has song meta data</dt>
115
<dd>There should be an entry in the sound menu with the meta data for the song being played</dd>
116
<dt>Go to the greeter. This can be done by hitting the lock button twice.</dt>
117
<dt>Ensure the sound menu does not have song meta data</dt>
118
<dd>There should be an entry for the player but it should have no information on the song being played</dd>
119
<dt>Pause the song in the greeter</dt>
120
<dd>The song should stop playing</dd>
121
<dt>Resume the song in the greeter</dt>
122
<dd>The song should continue to play</dd>