You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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 Huang

References

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

  1. IMAP Server support ACL:
    1. If Server support ACL, then users should be able to see "Sharing" tab and "Set Privileges" button on the Folder Properties Dialog.
  2. IMAP Server NOT supporting ACL UI:
    1. 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

  1. 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.
  2. 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

  1. IMAP Personal Shared FoldersUI

    1. After setup personal folders to share with other users, UI should display shared icons for both Themes: Classic and Modern:
      1. Select Edit | Folder Properties | Sharing Tab | Privileges. Verify Sharing Tab display the right personal folder info on the IMAP Folder Properties dialog.
      2. 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.
      3. Verify IMAP Shared Folders icons display for Shared "Inbox, Sent, Trash, Drafts and Templates" default/special folders
      4. Verify IMAP OPEN Shared Folders icons display for all the OPENED Shared folders including alphabetical, default and special shared folders.
  2. IMAP Personal Shared Folders Functionality

    1. 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)
    2. Login to Messenger Express and setup Folders Privileges:
      1. Messenger Express prompts for login
      2. Login to Account P to setup Three (Read Only Privilege, Read & Write Privilege, Read, Write and Manage) Folder Privileges for Account O
    3. Setup IMAP Shared Folders for Other Users
      1. Setup IMAP Shared Folders to Anyone
        1. Setup Three Privilege Folders to Anyone
          1. Setup Read Only Privilege Folder to Anyone
          2. Setup Read and Write Privilege Folder to Anyone
          3. Setup Read, Write and Manage Privilege Folder to Anyone
      2. Setup IMAP Shared Folders to Individual
        1. Add User
          1. Add User for Read Only Privilege to Individual
          2. Add User for Read and Write Privilege Folder to Individual
          3. Add User for Read, Write and Manage Privilege Folder to Individual
        2. Update User Folders Privileges
          1. Update User for Read Only Privilege to Individual
          2. Update User for Read and Write Privilege Folder to Individual
          3. Update User for Read, Write and Manage Privilege Folder to Individual
        3. Remove User
          1. Remove User for Read Only Privilege to Individual
          2. Remove User for Read and Write Privilege Folder to Individual
          3. Remove User for Read, Write and Manage Privilege Folder to Individual

IMAP Other User's Shared Folders

  1. Subscribe IMAP Other User's Shared Folders

    1. 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"
    2. Subscribe UI needs to show shared folders and other users folders
    3. Should disable check boxes for those levels' indicating user & user names in the subscribe dialog
      "Subscribe" button should work for imap subfolders.
  2. IMAP Other User's Shared Folders UI

    1. IMAP Shared Folders icons for Shared "Inbox, Sent, Trash, Drafts and Templates" default/special folders
    2. IMAP OPEN Shared Folders icons for all the OPENED Shared folders including alphabetical, default and special shared folders.
  3. IMAP Other User's Shared Folders Functionality

    1. Read-only Privilege Folders

      1. Read-only Privilege Folders UI (via toolbar, menu item, drag&drop and context menu)
        1. Should not allow copy/move/drag and drop to read-only folders.
        2. Should greyout/disable delete button, Personal Folders of Move Message menu, delete folder & compact folder for read privilege folders.
        3. Messages shouldn't temporary be removed when moving messages from IMAP Shared (Read Privilege folder) to Local Folder
        4. Should list but greyout other user's folders on the COPY menu item for read privilege folders
      2. Read-only Privilege Folders Functionality
        1. Verify that you can view Account P Read-only Privilege Folder messages from Account O.
        2. Verify that you CANNOT copy messages from your Inbox and your other folders to Account P Read-only Privilege Folder.
        3. Verify that you CANNOT move messages from your Inbox and your other folders to Account P Read-only Privilege Folder.
        4. Verify that you CANNOT delete messages from Account P Read-only Privilege Folder.
    2. Read and Write Privilege Folders

      1. Read and Write Privilege Folders UI (via toolbar, menu item, drag&drop and context menu)
        1. Should allow copy/move/drag and drop to read-only folders.
        2. Should enable delete button, Personal Folders of Move Message menu for Read and Write Privilege Folders.
        3. Messages should allow to be moved when moving messages from IMAP Shared (Read and Write Privilege folder) to Local Folder.
        4. Should list other user's Read and Write folders on the COPY menu item.
      2. Read and Write Privilege Folders Functionality
        1. Verify that you can view Account P Read and Write Privilege Folder messages from Account O account.
        2. Verify that you can copy messages from your Inbox and your other folders to Account P Read and Write Folder.
        3. Verify that you can move messages from your Inbox and your other folders to Account P Read and Write Folder.
        4. Verify that you can delete messages from Account P Read and Write Folder.
    3. Read, Write and Manage Folders

      1. Read, Write and Manage Folders UI (via toolbar, menu item, drag&drop and context menu)
        1. Should allow copy/move/drag and drop to read-only folders.
        2. Should enable delete button, Personal Folders of Move Message menu for Read and Write Privilege Folders.
        3. Messages should allow to be moved when moving messages from IMAP Shared (Read and Write Privilege folder) to Local Folder.
        4. Should list other user's Read and Write folders on the COPY menu item.
      2. Read, Write and Manage Folders Functionality
        1. Verify that you can view Account P Read,Write and Manage Folder messages from Account O.
        2. Verify that you can copy messages from your Inbox and your other folders to Account P Read,Write and Manage Folder.
        3. Verify that you can move messages from your Inbox and your other folders to Account P Read,Write and Manage Folder.
        4. Verify that you can delete messages from Account P Read,Write and Manage Folder.
        5. Verify that you can create Subfolders for Account P Read, Write and Manage Folder.
  4. Unsubscribe IMAP Other User's Shared Folders

    Verify that you can unsubscribe from the Subscribe UI

Advanced Scenarios for IMAP Shared Folders: TBD