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-sound-notifications
- Adjust volume using HW keys if available
- A notification bubble should appear with the sound volume
- An audibule sound should play at the level of the audio
- Adjust volume with slider in sound indicator
- A notification bubble should appear with the sound volume
- An audibule sound should play at the level of the audio
- Open a video with sound and play in media player
- The video should play and the sound should be audible
- Adjust volume using HW keys if available
- A notification bubble should appear with the sound volume
- No notification sound should be heard
- Adjust volume with slider in sound indicator
- A notification bubble should appear with the sound volume
- No notification sound should be heard
Test-case indicator-sound/unity8-high-volume
- Plug headphones into the headphone jack
- Adjust volume so that it is at the midpoint of volume range
- The slider should be in the middle of the scale
- Increase the volume once using HW keys if available
- A notification bubble should appear with the sound volume
- There should be no text on the notification
- Increase the volume using HW keys until it is roughly 90% of the range
- A notification bubble should appear with the sound volume
- The text on the notification should read "High volume"
- The range on the notification bubble should have a different color signifying the higher volume
- Decrease the volume using HW keys until it is roughly 50% of the range
- A notification bubble should appear with the sound volume
- There should be no text on the notification
- The range on the notification bubble should have a standard color
Test-case indicator-sound/unity8-silent-mode
- NOTE: This test currently doesn't work because of a bug: http://pad.lv/1336715
- 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
Test-case indicator-sound/unity8-embedded-greeter
- NOTE: Only works with embedded greeter, split greeter will require modifications to this test
- Ensure System Settings is set to "Show Messages on Greeter"
- Play a song in the media player
- The song should be heard
- There should be an entry in the sound menu with the meta data for the song being played
- Go to the greeter. This can be done by hitting the lock button twice.
- Ensure the sound menu has song meta data
- There should be an entry in the sound menu with the meta data for the song being played
- Pause the song in the greeter
- The song should stop playing
- Resume the song in the greeter
- The song should continue to play
- Disable System Settings value "Show Messages on Greeter"
- Ensure the sound menu has song meta data
- There should be an entry in the sound menu with the meta data for the song being played
- Go to the greeter. This can be done by hitting the lock button twice.
- Ensure the sound menu does not have song meta data
- There should be an entry for the player but it should have no information on the song being played
- Pause the song in the greeter
- The song should stop playing
- Resume the song in the greeter
- The song should continue to play