Calendar:QA/GSoC 2010
From MozillaWiki
Contents
Integrating existing tests into build process
Calendar preferences
Testing categories
Similar to Litmus 2627, 2625, 2430, 2628
Affecting bug: bug 296178
- create new category without color in preferences
- add event with that category
- change category's color
- verify event's category color changed in all views
- change category name
- open event and verify both categories present in category select
- change category to changed category name, save and close event
- open event and verify only new category present and selected
- delete category from preferences
- verify event's category color removed in all views
- open event and verify event's category is still present
- set event's category to none, save and close event
- open event and verify category not present any more in category select
Calendar color
Litmus 2406
- Create calendar with default color
- Create an event in that calendar in day view
- Change calendar color
- Verify that event's color has changed
- Switch to another view and change calendar color
- Verify color change
- Repat for other two views
First day of the week
Litmus 2512
- verify that calendar.week.start preference matches starting day in all views
- change first day of the week in preferences dialog
- verify change is applied in all views but day view
Workweek days
Litmus 2512
- set Lightning to only show workweek days
- verify that preferences for calendar.week.*off match the days shown in all views
- change workweek days by enabling previously disabled day and disabling previously enabled day
- check that views match enabled days
Day and week view
Litmus 2512
- check that current values for start of the day and end of the day in preferences match what's highlighted in views
- check that number of hours to show matches views
- change all three values in preferences dialog
- verify that views update accordingly
Weeks view
Litmus 2512
- check that number of weeks shown matches current preference
- check that number of previous weeks shown matches current preference
- change both prefences
- verify that view is updated accordingly
Display of tasks in different views
Conversion between tasks and events
Converting event (non all-day) to task
Litmus 5080
- Go to the calendar mode
- Create a new event:
- insert a title and a location
- set a category
- select a calendar
- set a start and an end date
- create a recurring rule
- set a reminder
- write some text in the description field
- add a link
- choose a privacy state
- choose a importance level
- set a Free/Busy state
- Right-click created event and choose convert to task
- Verify:
- information from event is filled in automatically
- the start and end date should be the same
Converting event (all-day) to task
Litmus 5081
- Go to the calendar mode
- Create a new event:
- insert a title and a location
- set a category
- select a calendar
- mark the all day check box
- create a recurring rule
- set a reminder
- write some text in the description field
- add a link
- choose a privacy state
- choose an importance level
- set a Free/Busy state
- Right-click created event and choose convert to task
- Verify:
- information from event is filled in automatically
- the task has no start and no end date
Converting task to event
Litmus 5082
- Go to the task mode
- Create a new task:
- insert a title and a location
- set a category
- select a calendar
- set start and end date
- create a recurring rule
- set a reminder
- write some text in the description field
- add a link
- choose a privacy state
- choose an importance level
- set a Free/Busy state
- Right-click created task and choose convert to event
- Verify that information from task is filled in automatically.