Test-case indicator-datetime/unity7-items-check
- Log in to a Unity 7 user session
- Go to the panel and click on the DateTime indicator
- Ensure there are items in the menu
Test-case indicator-datetime/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 DateTime indicator
- Ensure there are items in the menu
Test-case indicator-datetime/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 "Time & Date" is shown
- Upcoming is at the top of the menu
- The menu is populated with items
Test-case indicator-datetime/timestamp-wakeup
- Unplug the phone from any USB connection and put it to sleep
- Reawaken the device.
- The indicator should be showing the correct time.
Test-case indicator-datetime/new-alarm-wakeup
- Create and save an upcoming alarm in ubuntu-clock-app
- Unplug the phone from any USB connection and put it to sleep
- Confirm that the alarm sounds on time even if the phone is asleep. (Note: if in doubt about sleep you can see in the syslog whether the device actually suspended or whether the suspend was aborted)
- Confirm that the screen comes on when the alarm is triggered.
-
- If the device supports haptic feedback, confirm the alarm vibrates.
Test-case indicator-datetime/disabled-alarms
- Create and save an upcoming alarm in ubuntu-clock-app
- Confirm that the alarm icon appears next to the current time in unity's indicator display
- Disable the alarm in ubuntu-clock-app
- When all alarms are disabled or removed, the alarm icon should disappear.
- Re-enable the alarm in ubuntu-clock-app
- When the alarm is enabled, the alarm icon should reappear.
Test-case indicator-datetime/disable-one-time-alarms-after-notification
- Create and save an upcoming nonrepeating alarm in ubuntu-clock-app
- Confirm that the alarm icon appears next to the current time in unity's indicator display
- Wait until the alarm time is reached
- Confirm that the alarm notification is shown
- Confirm that the alarm's sound is played while the alarm notification is present
- Confirm that the one-time alarm is disabled after the notification is shown. NOTE: due to a refresh bug in clock-app you may need to refresh its alarms page (by swapping back to the main page, then the alarm page again, this is tracked in #1362341) in order to see the alarm change from enabled to disabled.
- Create and save an upcoming repeating alarm in ubuntu-clock-app
- Confirm that the alarm icon appears next to the current time in unity's indicator display
- Wait until the alarm time is reached
- Confirm that the alarm notification is shown
- Confirm that the alarm's sound is played while the alarm notification is present
- Confirm that the repeating alarm is not disabled after the notification is shown. NOTE: due to a refresh bug in clock-app you may need to refresh its alarms page (by swapping back to the main page, then the alarm page again, this is tracked in #1362341) in order to see the alarm change from enabled to disabled.
Test-case indicator-datetime/calendar-event-notification
- In the calendar app, create and save a new upcoming calendar event that will occur in the next few minutes.
- The datetime indicator's event list should update itself to show this new event.
- Calendar events do not get the alarm icon, so no alarm icon should be shown in the header unless there is also an upcoming alarm set.
- Wait for the event's time to be reached
- The datetime indicator should pop up a non-interactive notification that plays a nonlooping sound.
- The notification should disappear after a moment without requiring user intervention.
Test-case indicator-datetime/alarm-timezone
- In ubuntu-system-settings, change your timezone to a zone you're not in
- In ubuntu-clock-app, create and save an upcoming alarm
- The indicator's menu should show the alarm to click at the specified time
- In ubuntu-system-settings, change back to your correct timezone
- The indicator's menu should still show the alarm to click at the specified time
Test-case indicator-datetime/snooze
- Create and save an upcoming alarm in ubuntu-clock-app
- When the alarm goes off, press the 'Snooze' button
- The alarm should go away, then reappear N minutes later. By default the N is 5 minutes but will be configurable from ubuntu-clock-app.
- When the snoozed alarm reappears, press the 'OK' button
- This time when the alarm is dismissed, it should not reappear.
Test-case indicator-datetime/edited-alarm-wakeup
- Edit an alarm that's already passed. (see previous test)
- Unplug the phone from any USB connection and put it to sleep
- Confirm that the alarm sounds on time even if the phone is asleep. (Note: if in doubt about sleep you can see in the syslog whether the device actually suspended or whether the suspend was aborted)
- Confirm that the screen comes on when the alarm is triggered.
-
- If the device supports haptic feedback, confirm the alarm vibrates.
Test-case indicator-datetime/tell-snap-decision-to-dismiss
- Set an alarm and wait for it to arrive.
- Alarm should go off at the specified time
- Press the 'Dismiss' button in the alarm's snap decision popup before the sound stops.
- Popup should disappear
- Sound should stop at the same time, rather than playing til the end of the file.
Test-case indicator-datetime/change-alarm-sound
- Open the clock app
- Swipe up from the bottom
- Click on the + symbol
- Save an alarm for a few minutes time leave everything on default settings
- Click on save
- Click on the alarm
- Change the sound of the alarm
- Click on save
- Let the alarm go off
- The newly-selected sound should play, rather than the previous sound.
Test-case indicator-datetime/silent-mode
- Set an alarm and wait for it to arrive.
- From the sound indicator, turn on silent mode.
- Alarm should go off at the specified time and play its sound regardless of silent mode.
- From the sound indicator, turn on silent mode.
- Create a calendar event from the calendar app and wait for it to arrive.
- The calendar event notification should be silent.
- From the sound indicator, turn off silent mode.
- Create a calendar event from the calendar app and wait for it to arrive.
- The calendar event notification should play a sound.
Test-case indicator-datetime/manual-time
- In System Settings > Time & Date, manually change the time to an arbitrary time.
- The indicator's timestamp should change right after the time manual time is set.
If all actions produce the expected results listed, please submit a 'passed' result.
If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result.