# Qtopia/Today

## Test cases

### Default plugins

Test Purpose | Verify that the default plugins are shown

Test Description

1. Verify that:
   - The current date is displayed at the top,
   - A summary is presented for todays Calendar events,
   - A summary is presented for the unread and unsent mail,
   - A summary is presented of open Todo tasks.
2. Clicking on the Today icon at the top of the screen
3. In the popupmenu select Edit Today View
4. Change the order of the active plugins and click OK
5. Verify that the order in which the information is presented matches the selections made in the dialog.
6. Open the Edit Today View dialog again.
7. Select one of the active plugins and click on the cut button.
8. Verify that the selected plugin is moved to the Inactive Plugin area.
9. Click OK
10. Verify that Today only shows information for the remaining active plugins.
11. Open the Edit Today View dialog again.
12. Move all remaing active plugins to the inactive area and click OK
13. Verify that Today presents a message that no plugins are selected for display.
14. Click on the "here" link.
15. Verify that the Edit Today View dialog is opened.
16. Click on all inactive plugins and verify that they are moved again to the active plugin area.
17. Verify that the plugins are appended to the active area in the sequence in which you tapped them.

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match
Test Suitability | Manual test

### Calendar events

Test Purpose | Verify that Calendar events are shown

Test Description

1. Tap on the Calendar icon (in the Today app)
2. Verify that Calendar is opened.
3. Create the following events in Calendar:
   - name: "Today 12:00", date: today, event start time: 12:00
   - name: "Today 14:00", date: today, event start time: 14:00
   - name: "Today 16:00", date: today, event start time: 16:00
   - name: "Tomorrow 10:00", date: tomorrow, event start time: 10:00
   - name: "Day after 10:00", date the day after tomorrow, event start time: 10:00
4. Ensure that no other events are entered for today, tomorrow and the day after tomorrow.
5. Close Calendar.
6. Tap on the Today icon on top of the page.
7. Select Calendar... and set Show the next to 1 and Maximum listing to 1
8. Verify that the Calendar part shows: "You have 3 events today" and that "Today 14:00" is shown.
9. Open the Calendar... settings again and set Show the next to 2 and Maximum listing to 1
10. Verify that the Calendar part shows: "You have 4 events over the next 2 days" and that "Today 14:00" is shown.
11. Open the Calendar... settings again and set Show the next to 2 and Maximum listing to 4
12. Verify that the Calendar part shows: "You have 4 events over the next 2 days" and that "Today 14:00", "Today 16:00", "Today 18:00" and "Tomorrow 10:00" are shown.
13. Open the Calendar... settings again and set Show the next to 3 and Maximum listing to 10
14. Verify that the Calendar part shows: "You have 5 events over the next 3 days" and that "Today 14:00", "Today 16:00", "Today 18:00", "Tomorrow 10:00" and "Day after 10:00" are shown.
15. Verify that the todays events show the start and end time, and the events for future days show the start date.
16. Create a new event in Calendar:
    - name: "Extra", date: today, event start time: 10:00
17. Verify that the new event is shown in Today.

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match
Test Suitability | Manual test

### E-mail messages

Test Purpose | Verify that unread and unsent e-mail messages are shown in Today

Test Description

1. Tap on the Today icon on the top and select Email...
2. Check Summary only and click OK
3. Click on the e-mail icon to open the e-mail app.
4. Setup an e-mail account to an existing mail server (if not done yet).
5. Sync the account.
6. Send some new messages to the account so that after syncing 3 new messages are available.
7. Verify that the new messages are mentioned in Today as "3 new, no unsent"
8. Click on the e-mail icon to open the e-mail app again.
9. Create a new message and place it in the out queue of the e-mail app.
10. Verify that Today now mentiones "3 new, 1 unsent".
11. Tap on the Today icon on the top and select Email...
12. Check Include details and click OK
13. Verify that the Today application now also shows the details of the unread messages.
14. Tap on a message and verify that the message is shown.
15. Close the message.
16. Verify that the message is removed from the list of open messages in Todo
17. Click on the e-mail icon to open the e-mail app and send the queued message.
18. Verify that Today now mentiones "2 new, no unsent".
19. Click on the e-mail icon to open the e-mail app and read the e-mail messages in the inbox.
20. Verify that Today now mentiones "No new, no unsent".

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match
Test Suitability | Manual test

### Todo tasks

Test Purpose | Verify that open tasks from the Todo list are shown in Today

Test Description

1. Tap on the Todo icon (in the Today app)
2. Verify that the Todo app is opened and shown.
3. Create the following tasks in Todo:
   - name: "Task 1", due: today, priority: 1
   - name: "Task 2", due: tomorrow, priority: 3
   - name: "Task 3", due: not set, priority: 2
4. Close the Todo app.
5. Tap on the Today icon and select Todo list... from the menu
6. Check Tasks due in th next 2 days and Maximum listing 10 tasks and click OK
7. Verify that "Task 1" and "Task 2" are shown and that the summary mentiones: "You have 2 tasks due in the next 2 days".
8. Tap on the Today icon and select Todo list... from the menu
9. Check Tasks due in th next 1 day and Maximum listing 10 tasks and click OK
10. Verify that "Task 1" is shown and that the summary mentiones: "You have 1 task due today".
11. Verify that the date shown behind "Task 1" is todays date.
12. Tap on the Today icon and select Todo list... from the menu
13. Check All open tasks andMaximum listing 10 tasks and click OK
14. Verify that the tasks are shown in order of priority: "Task 1", "Task 3" and then "Task 2".

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match
Test Suitability | Manual test