You are here: Mozilla MailNews Functional / UI Tests > IMAP Shared Folders
Feature Test Spec: Mail and News Component
Mail and News Component: IMAP Shared Folders
Written by Karen HuangReferences
IMAP4rel RFC 2086
UI Specification: Folders
http://www.mozilla.org/mailnews/specs/folder/#Sharing
Description
This Test Plan specify IMAP Shared Folders Functionality for Mach V Enterprise Project.
Meta Bug: Bugzilla bug 112096
Table of Contents
- Server Use
- Accounts Setup
- IMAP Personal Shared Folders
- IMAP Other User's Shared Folders
- Advanced Scenarios for IMAP Shared Folders
Server Use
- IMAP Server support ACL:
- If Server support ACL, then users should be able to see "Sharing" tab and "Set Privileges" button on the Folder Properties Dialog.
- IMAP Server NOT supporting ACL UI:
- If Server does not support ACL's at all, then users "Sharing" tab should not be displayed or "Set Privileges" button should be disabled and the following text should display: "This server does not support shared folders." Should not display Folder type, Shared and Permissions information on the Folde Properties Dialog either.
Accounts Setup
- Need to setup two IMAP Accounts (e.g. Account P -- for personal folders & Account O -- for other users' folders) to perform IMAP Shared Folders Testing.
- Need to setup Three Folder Privileges from Account P and verify on Account O for Other User's Shared Folders implementation.
IMAP Personal Shared Folders
-
IMAP Personal Shared FoldersUI
- After setup personal folders to share with other users, UI
should display shared icons for both Themes: Classic and Modern:
- Select Edit | Folder Properties | Sharing Tab | Privileges. Verify Sharing Tab display the right personal folder info on the IMAP Folder Properties dialog.
- Repeat previous step and select personal folders with Shared and Non-shared. Verify it did display "Shared" or "Not Shared" info on the Sharing Tab from the Folder Properties Dialog.
- Verify IMAP Shared Folders icons display for Shared "Inbox, Sent, Trash, Drafts and Templates" default/special folders
- Verify IMAP OPEN Shared Folders icons display for all the OPENED Shared folders including alphabetical, default and special shared folders.
- After setup personal folders to share with other users, UI
should display shared icons for both Themes: Classic and Modern:
-
IMAP Personal Shared Folders Functionality
- Select Edit | Folder Properties | Sharing Tab | Privileges for setting up Shared Folders for other users. (bug 139854: Cannot login and access Messenger Express when view folder privilege of folder w/ampersand "&" sign which is dup of bug 136256: Unable to open folder access rules window for non-ASCII IMAP folders on 4.x servers)
- Login to Messenger Express and setup Folders Privileges:
- Messenger Express prompts for login
- Login to Account P to setup Three (Read Only Privilege, Read & Write Privilege, Read, Write and Manage) Folder Privileges for Account O
-
Setup IMAP Shared Folders for Other Users
-
Setup IMAP Shared Folders to Anyone
-
Setup Three Privilege Folders to Anyone
- Setup Read Only Privilege Folder to Anyone
- Setup Read and Write Privilege Folder to Anyone
- Setup Read, Write and Manage Privilege Folder to Anyone
-
Setup Three Privilege Folders to Anyone
-
Setup IMAP Shared Folders to Individual
-
Add User
- Add User for Read Only Privilege to Individual
- Add User for Read and Write Privilege Folder to Individual
- Add User for Read, Write and Manage Privilege Folder to Individual
-
Update User Folders Privileges
- Update User for Read Only Privilege to Individual
- Update User for Read and Write Privilege Folder to Individual
- Update User for Read, Write and Manage Privilege Folder to Individual
-
Remove User
- Remove User for Read Only Privilege to Individual
- Remove User for Read and Write Privilege Folder to Individual
- Remove User for Read, Write and Manage Privilege Folder to Individual
-
Add User
-
Setup IMAP Shared Folders to Anyone
IMAP Other User's Shared Folders
-
Subscribe IMAP Other User's Shared Folders
- Subscribe IMAP Shared folders from Link/URL: Clicking on a
folder link should allow subscribing to shared fold.
imap urls are of the form " imap://user@host/foldername" - Subscribe UI needs to show shared folders and other users folders
- Should disable check boxes for those levels' indicating user
& user names in the subscribe dialog
"Subscribe" button should work for imap subfolders.
- Subscribe IMAP Shared folders from Link/URL: Clicking on a
folder link should allow subscribing to shared fold.
-
IMAP Other User's Shared Folders UI
- IMAP Shared Folders icons for Shared "Inbox, Sent, Trash, Drafts and Templates" default/special folders
- IMAP OPEN Shared Folders icons for all the OPENED Shared folders including alphabetical, default and special shared folders.
-
IMAP Other User's Shared Folders Functionality
-
Read-only Privilege Folders
-
Read-only Privilege Folders UI (via toolbar,
menu item, drag&drop and context menu)
- Should not allow copy/move/drag and drop to read-only folders.
- Should greyout/disable delete button, Personal Folders of Move Message menu, delete folder & compact folder for read privilege folders.
- Messages shouldn't temporary be removed when moving messages from IMAP Shared (Read Privilege folder) to Local Folder
- Should list but greyout other user's folders on the COPY menu item for read privilege folders
-
Read-only Privilege Folders Functionality
- Verify that you can view Account P Read-only Privilege Folder messages from Account O.
- Verify that you CANNOT copy messages from your Inbox and your other folders to Account P Read-only Privilege Folder.
- Verify that you CANNOT move messages from your Inbox and your other folders to Account P Read-only Privilege Folder.
- Verify that you CANNOT delete messages from Account P Read-only Privilege Folder.
-
Read-only Privilege Folders UI (via toolbar,
menu item, drag&drop and context menu)
-
Read and Write Privilege Folders
-
Read and Write Privilege Folders UI (via
toolbar, menu item, drag&drop and context menu)
- Should allow copy/move/drag and drop to read-only folders.
- Should enable delete button, Personal Folders of Move Message menu for Read and Write Privilege Folders.
- Messages should allow to be moved when moving messages from IMAP Shared (Read and Write Privilege folder) to Local Folder.
- Should list other user's Read and Write folders on the COPY menu item.
-
Read and Write Privilege Folders
Functionality
- Verify that you can view Account P Read and Write Privilege Folder messages from Account O account.
- Verify that you can copy messages from your Inbox and your other folders to Account P Read and Write Folder.
- Verify that you can move messages from your Inbox and your other folders to Account P Read and Write Folder.
- Verify that you can delete messages from Account P Read and Write Folder.
-
Read and Write Privilege Folders UI (via
toolbar, menu item, drag&drop and context menu)
-
Read, Write and Manage Folders
-
Read, Write and Manage Folders UI (via
toolbar, menu item, drag&drop and context menu)
- Should allow copy/move/drag and drop to read-only folders.
- Should enable delete button, Personal Folders of Move Message menu for Read and Write Privilege Folders.
- Messages should allow to be moved when moving messages from IMAP Shared (Read and Write Privilege folder) to Local Folder.
- Should list other user's Read and Write folders on the COPY menu item.
-
Read, Write and Manage Folders Functionality
- Verify that you can view Account P Read,Write and Manage Folder messages from Account O.
- Verify that you can copy messages from your Inbox and your other folders to Account P Read,Write and Manage Folder.
- Verify that you can move messages from your Inbox and your other folders to Account P Read,Write and Manage Folder.
- Verify that you can delete messages from Account P Read,Write and Manage Folder.
- Verify that you can create Subfolders for Account P Read, Write and Manage Folder.
-
Read, Write and Manage Folders UI (via
toolbar, menu item, drag&drop and context menu)
-
-
Unsubscribe IMAP Other
User's Shared Folders
Verify that you can unsubscribe from the Subscribe UI