Test-case indicator-sound/unity7-items-check
Log in to a Unity 7 user session
Go to the panel and click on the Sound indicator
Ensure there are items in the menu
Test-case indicator-sound/unity7-greeter-items-check
Start a system and wait for the greeter or logout of the current user session
Go to the panel and click on the Sound indicator
Ensure there are items in the menu
Test-case indicator-sound/unity8-items-check
Login to a user session running Unity 8
Pull down the top panel until it sticks open
Navigate through the tabs until "Sound" is shown
Sound is at the top of the menu
The menu is populated with items
Test-case indicator-sound/unity8-silent-mode
NOTE: This test currently doesn't work because of a bug:
Open the Sound menu
The sound menu includes an item "Silent Mode" which is a check box
The checkbox is not checked
Enable silent mode
Selecting the "Silent Mode" item should cause the box to be checked
Open the sound panel in system settings
The sound panel includes an item "Silent Mode" which is a check box
The checkbox is checked
Disable silent mode in system settings
The checkbox is not checked
Open the Sound menu
The sound menu includes an item "Silent Mode" which is a check box
The checkbox is not checked
Test-case indicator-sound/unity8-audio-roles
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
The audio stream should reflect the volume set on the indicator
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)
The audio stream should not be affected by the volume set on the indicator when there was no other active stream
Play a multimedia stream (music-app, webrowser) and change the volume on the indicator when the stream is active
The multimedia audio stream should reflect the volume set on the indicator
When stopping/closing the multimedia stream, it should automatically show up the volume for the alert role (ringtone, notification, etc)
No other role should be affected by the volume level used by the multimedia role
Play a alarm stream (clock-app) and change the volume on the indicator when the stream is active
The alarm audio stream should reflect the volume set on the indicator
When stopping/closing the alarm stream, it should automatically show up the volume for the alert role (ringtone, notification, etc)
No other role should be affected by the volume level used by the alarm role
Start a voice call using the dialer-app and change the volume on the indicator when the call is active
The phone audio stream should reflect the volume set on the indicator
When hanging up the voice call it should automatically show up the volume for the alert role (ringtone, notification, etc)
No other role should be affected by the volume level used by the phone role