|
|
| (225 intermediate revisions by 15 users not shown) |
| Line 1: |
Line 1: |
| | __NOTOC__ |
| == Calendar Test Cases== | | == Calendar Test Cases== |
| Since Litmus does not allow for an easy way to list test cases, this page will contain a listing of our test cases until {{bug|334871}} is fixed. Since submitting test cases to Litmus is a manual process at the moment, I will divide these test cases into two groups: those submitted to Litmus, and those not submitted to it. When adding new testcases, please add them to the "Not submitted to Litmus" list.
| | Please help the calendar project by entering test cases. Test cases will be removed from this page as they are added to [http://litmus.mozilla.org Litmus]. |
|
| |
|
| ==Testcases Not Submitted To Litmus==
| | {| border="1" cellpadding="1" |
| ===Unsubmitted Lightning Testcases===
| | |+ '''First, Choose a Subgroup for your Testcase''' |
| ===Unsubmitted Sunbird Testcases===
| |
| {| border="1" cellpadding="2" | |
| |+Basic usage | |
| |-
| |
| ! Test !! Description !! Outcome
| |
| |-
| |
| | Event creation || Sunbird should be able to create an event lasting any duration and at any date
| |
| *Sunbird crashes for events past 2037 ([https://bugzilla.mozilla.org/show_bug.cgi?id=278236 Bug 278236])
| |
| ||
| |
| |-
| |
| | Task creation || Sunbird should be able to create an task lasting any duration and at any date, or without a start and/or due date
| |
| *Sunbird crashes for tasks past 2037 ([https://bugzilla.mozilla.org/show_bug.cgi?id=278236 Bug 278236])
| |
| ||
| |
| |-
| |
| | Event editing || Events should be able to be edited. Changes made when editing an event should be saved. ||
| |
| |-
| |
| | Task editing || Tasks should be able to be edited. Changes made when editing a tasks should be saved. ||
| |
| |-
| |
| | Deleting || Tasks/Events should be able to be deleted. ||
| |
| |- | | |- |
| | Clipboard || Tasks/Events should be able to be altered by using cut, copy and paste. | | | [[Calendar:Test_Case_List#Local Calendar|Local Calendar]] |
| *This isn't easy to do for tasks, because of [https://bugzilla.mozilla.org/show_bug.cgi?id=195580 bug 195580]
| | || [[Calendar:Test_Case_List#WebDav Calendar|WebDav Calendar]] |
| || | | || [[Calendar:Test_Case_List#CalDav Calendar|CalDav Calendar]] |
| |} | | || [[Calendar:Test_Case_List#Display Of Events|Display Of Events]] |
| | |
| | |
| {| border="1" cellpadding="2"
| |
| |+Recurrence | |
| |- | | |- |
| ! Test !! Description !! Outcome
| | | [[Calendar:Test_Case_List#Display of Tasks|Display of Tasks]] |
| | || [[Calendar:Test_Case_List#Import/Export|Import/Export]] |
| | || [[Calendar:Test_Case_List#Navigation|Navigation]] |
| | || [[Calendar:Test_Case_List#Month/Multiweek View|Month/Multiweek View]] |
| |- | | |- |
| | Daily || Events/tasks should be able to recur every X days || | | | [[Calendar:Test_Case_List#Day/Week View|Day/Week View]] |
| | || [[Calendar:Test_Case_List#Alarms|Alarms]] |
| | || [[Calendar:Test_Case_List#Preferences|Preferences]] |
| | || [[Calendar:Test_Case_List#Extensions|Extensions]] |
| |- | | |- |
| | Weekly || Events/tasks should be able to recur every X weeks, including on multiple days of the week | | | [[Calendar:Test_Case_List#Themes|Themes]] |
| ||
| | || [[Calendar:Test_Case_List#Printing|Printing]] |
| | || [[Calendar:Test_Case_List#Look and Feel|Look and Feel]] |
| | || [[Calendar:Test_Case_List#Search|Search]] |
| |- | | |- |
| | Monthly || Events/tasks should be able to recur every X months, on a specific day of the month || | | | [[Calendar:Test_Case_List#Publishing|Publishing]] |
| | || [[Calendar:Test_Case_List#Subscribe|Subscribe]] |
| | || [[Calendar:Test_Case_List#Sharing|Sharing]] |
| | || [[Calendar:Test_Case_List#Meeting Requests|Meeting Requests]] |
| |- | | |- |
| | Monthly 2 || Events/tasks should be able to recur every X months on the Nth (weekday) of a month | | | [[Calendar:Test_Case_List#Freebusy|Freebusy]] |
| ||
| | || [[Calendar:Test_Case_List#Device Sync|Device Sync]] |
| | || [[Calendar:Test_Case_List#Web Service Integration|Web Service Integration]] |
| | || [[Calendar:Test_Case_List#System Integration|System Integration]] |
| |- | | |- |
| | Yearly || Events/tasks should be able to recur every X years || | | | [[Calendar:Test_Case_List#Install\Uninstall|Install\Uninstall]] |
| |- | | || [[Calendar:Test_Case_List#Software Update|Software Update]] |
| | Exceptions || An arbitrary number of exceptions should be able to be created and respected, for any recurring event || | | || [[Calendar:Test_Case_List#Profile Manager|Profile Manager]] |
| | || [[Calendar:Test_Case_List#Help|Help]] |
| |} | | |} |
|
| |
|
| | | ==Local Calendar== |
| | '''Instructions''' |
| | #Please edit this section |
| | #Copy & Paste the template below to use for your test case |
| | #Replace everything in UPPERCASE |
| | #Replace Product with either <u>L</u>ightning, <u>S</u>unbird, or <u>B</u>oth (i.e. Use "L", "S", or "B"). |
| | #Don't worry if lines wrap and scrollbars appear. |
| | #Ensure the spacing and formatting remains the same - this makes it easy to copy and paste into Litmus. :-) |
| {| border="1" cellpadding="2" | | {| border="1" cellpadding="2" |
| |+Calendars | | |+ '''Create template using IDE''' |
| |- | | |- |
| ! Test !! Description !! Outcome | | ! Steps To Perform !! Expected Results !! Product !! Regression Bugzilla ID |
| |- | | |- |
| | Local Calendar Creation || Local Calendars should be able to be created, assigned a name, and assigned a color | | | |
| || | | 1. Give template a name |
| |-
| | 2. Select object to be added |
| | Webdav Calendar Creation || Webdav Calendars should be able to be created for any web address, assigned a name, and assigned a color
| | 3. Edit the properties of the object |
| || | | 4. Add condition or Case |
| |-
| |
| | Caldav Calendar Creation || Caldav Calendars should be able to be created for any web address, assigned a name, and assigned a color. ||
| |
| |-
| |
| | Calendar editing || Any calendar should be able to be edited. Changes made in the Calendar Properties dialog should be properly saved. ||
| |
| |-
| |
| | Remote subscribing || Sunbird should be able to subscribe to a remote calendar and properly display the events/tasks it contains. ||
| |
| |}
| |
| | |
| | |
| {| border="1" cellpadding="2"
| |
| |+Importing/Migration
| |
| |-
| |
| ! Test !! Description !! Outcome
| |
| |-
| |
| | 0.2 Migration || You should be able to migrate data created in Sunbird 0.2 to 0.3PR. Choose 'File->Import' and import any calendars you may have created. Events should be successfully imported
| |
| || | |
| |-
| |
| | Item data || Check to make sure all aspects of an imported event were successfully imported. Check to make sure the event is displayed with the proper time ||
| |
| |-
| |
| | Outlook import || Export data created in Outlook in .csv format and then import this data into Sunbird. Perform the previous checks.
| |
| *Sunbird can currently only import from English or Dutch versions of Outlook ([https://bugzilla.mozilla.org/show_bug.cgi?id=301750 Bug 301750])
| |
| || | | || |
| |}
| | Template created succesfully in XML format |
| | | An error occured while creating template |
| | | |
| {| border="1" cellpadding="2"
| | || |
| |+Export
| | D'zYn O'Zone |
| |-
| | || |
| ! Test !! Description !! Outcome
| |
| |-
| |
| | .ics export || Sunbird should be able to export its data in a standards compliant .ics format. Export your data and attempt to import into another program ||
| |
| |-
| |
| | Item data || Check to make sure all aspects of an exported event were successfully exported. Check to make sure the event is exported with the proper time ||
| |
| |-
| |
| | .html export || Sunbird should be able to export data in a .html format. Export your data and try viewing the output in a web-browser
| |
| *Only the title, location, and event-times are shown
| |
| ||
| |
| |}
| |
| | |
| | |
| {| border="1" cellpadding="2"
| |
| |+Publishing
| |
| |-
| |
| ! Test !! Description !! Outcome
| |
| |-
| |
| | http publishing || Sunbird should be able to publish an entire calendar or a selected set of events to an http address ||
| |
| |-
| |
| | ftp publishing || Sunbird should be able to publish an entire calendar or a selected set of events to an ftp address ||
| |
| |-
| |
| | password protection || Sunbird should be able to publish an entire calendar or a selected set of events to a server that requires password authentication ||
| |
| |-
| |
| | subscribing || Sunbird should be able to subscribe to a published calendar ||
| |
| |}
| |
| | |
| {| border="1" cellpadding="2"
| |
| |+Error reporting
| |
| |-
| |
| ! Test !! Description !! Outcome
| |
| |-
| |
| | Invalid file || Sunbird should report to the user when a file can't be parsed. The calendar should be placed in read-only mode ||
| |
| |- | |
| | Offline failure || Sunbird should report that a remote calendar cannot be read when internet access in not available. The calendar should be placed in read-only mode || | |
| |-
| |
| |Publish failure || Sunbird should report when publishing a calendar fails, for any reason such as insufficient permissions. The calendar should be placed in read-only mode ||
| |
| |-
| |
| | Backup files || Backup files should be made prior to every change to an ICS calendar, and 3 copies should always be kept. ||
| |
| |}
| |
| | |
| ===Unsubmitted Core Testcases===
| |
| ===Unsubmitted Shared UI Testcases===
| |
|
| |
|
| ==Testcases Submitted To Litmus==
| | [[category:calendar|QA Test Case List]] |
| ===Submitted Lightning Testcases===
| |
| ===Submitted Sunbird Testcases===
| |
| ===Submitted Core Testcases===
| |
| ===Submitted Shared UI Testcases===
| |