Skip to content

Testing  #15

@dan-l

Description

@dan-l

Test

  • Add button testing
    • Action button shows one-time option
      • Clicking on it brings up edit view and title shows 'new onetime timer'
    • Action button shows recurring option
      • Clicking on it brings up edit view and title shows 'new recurring timer'
  • Create view testing
    • Timer without start/end time shows warning dialog when try to save
    • Timer without name saves with hint name
    • Timer with name saves with specified name
    • Timer color is reflected in toolbar and save button when selected
  • Main View (week view, swipelayout, list view) testing
    • Timers are displayed in week view and swipe layout
      • Timers displayed with correct color, name, days, start/end time
      • Timers drawn are scaled correctly
        • 1 hour timer should be shorter than 5 hour timer
        • 10 mins timer should be a lot shorter than 3 hour timer
        • 10 mins timer on its own should take up the whole space (or any timer on its own)
      • Selecting a timer drawn shows it's info on swipe layout
      • Timers too short are not drawn and user is informed on swipe layout
    • Timers are displayed in list view
      • Timers displayed with correct color, name, days, start/end time
  • Edit and Delete button
    • Edit and delete icon appears upon swipe
    • Edit brings user to create view and populate existing information correctly
      • Edit without changing anything does not change it's original info in week and list view
      • Edit changing it's info immediately reflects upon navigating back to week and list view
      • Edit with invalid info shows warning dialog and no information is saved
    • Delete removes timer from week and list view, week view is redrawn to reflect height of remaining timers
  • Device status
    • If timer is created and the it is/has past the start time, device status is updated to vibrate/silent
    • If timer's start/end time is changed to later today/some other day, and the original timer had already updated the status, device status is updated again to normal, reflecting the new timer's later start time
    • If there is an ongoing timer, and another timer is edited, device status is not affected
    • If ongoing timer is removed, device status is updated to normal to reflect no ongoing timer
    • If there is an ongoing timer, and another timer is removed, device status is not affected
    • If ongoing timer is switched off, device status is updated to normal to reflect no ongoing timer
    • If ongoing timer is switched back on after being switched off, device status is updated reflect the timer's vibrate/silent status
    • If there is an ongoing timer, and another timer is switched off, device status is not affected, that other timer is switched on, device is still not affected
    • On reboot, if there was an ongoing timer previously and now has ended, device status is updated to normal
    • On reboot, if there was an ongoing timer previously and has not ended, device status is vibrate/silent

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions