Calendar:QA/Automation Wish List
From MozillaWiki
These are the areas that we'd like to first start automating testing on the Calendar project.
Contents
Smoke test automation
- Switch to Calendar Tab in Thunderbird, verify that it appears
- Switch to Tasks tab in Thunderbird verify that it appears
- Switch to the Calendar View and Create a new local calendar. Use that calendar for the following tests.
View Specific Tests
- Use the minimonth to go to January 1 2009, verify that the main view goes there and highlights Jan 1 2009
- (With jan 1 2009 highlighted), Click on Day tab to get day view
- Create an event by double clicking at 8AM, ensure that event dialog pops up, defaulting to 8AM.
- Fill in a title and description, save the event
- Save Event Dialog
- Ensure event is created
- Double click the event to edit it
- Change the event title and save it
- Ensure the title is changed in the view
- Delete the event
- (With jan 1 2009 highlighted), Click on Week tab to get week view
- Create an event by double clicking at 8AM, ensure that event dialog pops up, defaulting to 8AM.
- Fill in a title and description, save the event
- Save Event Dialog
- Ensure event is created
- Double click the event to edit it
- Change the event title and save it
- Ensure the title is changed in the view
- Delete the event
- (With jan 1 2009 highlighted), Click on Multiweek tab to get multiweek view
- Double click on Jan 1, 2009 to get new event dialog, ensure time defaults to current hour.
- Fill in a title and description, save the event
- Ensure event is created
- Double click the event to edit it
- Change the event title and save it
- Ensure the title is changed in the view
- Delete the event
- (With jan 1 2009 highlighted), Click on Month to get Month view
- Double click on Jan 1, 2009 to get new event dialog, ensure time defaults to current hour.
- Fill in a title and description, save the event
- Ensure event is created
- Double click the event to edit it
- Change the event title and save it
- Ensure the title is changed in the view
- Delete the event
Event Dialog Tests
- (Use month view for this, Jan 1 2009 still selected)
- File->New Event to bring up the event dialog
- Ensure the current calendar is selected by default and the current hour is selected by default
- Fill in Title, Location, Category, Repeat (Daily), Reminder (5 Minutes) and Description
- Click Attendees Panel
- Add a bogus user, click OK
- Click Privacy to make it a private event
- Click Attach and attach http://mozilla.org to it
- Ensure event is created on each day of the month
- Ensure the Alarm window displays and Dismiss it
- Ensure bell is displayed in event view
- Ensure on hover that proper tool tip is displayed
- Click on the event instance on Jan 2 2009.
- Delete it.
- Verify the "Repeating Event Dialog" displays, select to delete "Just this occurrence"
- Ensure that occurrence is deleted, but others still exist
- Ensure the "Would you like to send email" dialog displays, click ok
- Click on the event on Jan 3, 2009 and delete it
- On the "Repeating Event Dialog" select to "Delete all occurrences"
- Ensure the "Would you like to send email" dialog displays, click ok
- Ensure that all instances of event are deleted (both on and before Jan 3, 2009).
Task View Tests
- Click on the Task View, ensure testing calendar selected
- Click and add a task on the "Click here to add a task" line
- Ensure the task is added.
- Select the task, ensure the detail window is populated with task data
- Double click the task to bring up the Task Dialog
- Add some details in the description field and save it
- Add a Status of Needs Action and a Percent Complete
- Ensure the Description text shows up in the details window
- Ensure the Status shows up in the details pane
- Ensure that on hover the tooltip shows the status and the percent complete
- Click the Priority button to set high priority and ensure the '!' appears next to the task in the task list
- Click the "Mark Completed" button and ensure the task is marked completed (the checkbox is checked, text has strikethrough).
The Today Pane Tests
- Go to the Calendar Tab
- Click the circle icon on the minimonth header
- Verify that today is selected on the calendar
- Add an event that is now + 6 hours (so that it is still on "Today")
- Add an event tomorrow
- Add an event 5 days away
- Switch to the mail window
- Activate the today pane
- Ensure the Today pane shows the correct date
- Ensure the Today event is listed under the "Today" heading
- Ensure the "Tomorrow" event is listed under the "Tomorrow" heading
- Ensure the event in 5 days is listed under the "Soon" heading
- Ensure the today pane is hidden if you toggle it's button on the status bar again.