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 > User Interface: Sidebar

Feature Test Spec: Mail and News Component

Mail and News Component: Sidebar

Written by Ninoschka Baca
Updated by: Olga Milenkaya

References:

Sidebar in Address book: http://www.mozilla.org/mailnews/specs/SidebarTabs/

The focus of the Sidebar Test Specification is to verify that the correct panels appear, that they can be customized, manipulated and resized. It also tests the interaction between the panel selected and what is displayed in the right pane.

  1. Windows to be tested
    1. 3-pane Window
    2. Alternate 3-pane Window
    3. Address Book Window
  2. The Sidebar Structure
    1. SideBar Title
    2. Panels
    3. Separator
      1. Horizontal separator
      2. Vertical separator
  3. Sidebar Appearance - Visual
    1. 3-pane Window
      1. General
        1. Verify the Sidebar is open by default
      2. Sidebar Title
        1. Verify there is a Sidebar Title (i.e. My Sidebar)
        2. Verify there is a "Tabs" button with an arrow pointing to the right
      3. Default panels
        1. Mozilla: Address Book tab open by default
        2. Netscape: Address Book (Buddy List) (closed by default, only appears for builds) - bug 95520 - Addressbook sidebar tab should be on by default.
        3. Stocks (closed by default)
        4. News (minimized tab)

          Commercial: Buddy List(Open), Stocks, Address Book. I believe this means removing News as a minimized tab in Mail, but including it as a hidden tab is fine, since it is default open in Navigator.

      4. For each panel
        1. Verify the Panel Title has a unique name for each panel (i.e. Stocks, News, Sports)
        2. Verify the Panel Title is preceded with an expand/collapse widget.
        3. NEW: Verify that each tab can be expanded (Pass), and collapsed (Fail) by using arrow icon on the left or dotted area on the right. ACTUALLY THIS MIGHT BE BROWSER PART. IT IS GENERAL CONTENT OF THE SIDEBAR.
        4. Titles: 82204 - "My Sidebar" and "Tabs" text look grayed out on Win Classic.

          New Modern - 'My Sidebar' text looks "inactive" (gray), and "Tabs" looks active as you'd expect it to look.

          Classic - Both the 'Tabs' and 'My Sidebar' text look gray and inactive, when in fact the sidebar and Tabs option are both accessible.

        5. Verify there is a content area - bug 121215 (Mai l/News sidebar is empty at startup)
        6. Verify a vertical scrollbar appears if the information in the content area exceeds the space provided. 87168 - resize of Customize My Sidebar window.
        7. Verify a horizontal scrollbar appears if the information in the content are exceeds the space provided. 87168 - resize of Customize My Sidebar window.
        8. nn 76621 - Sidebar elements should not grab focus from other parts of window.
      5. Separators
        1. Verify Sidebar horizontal separator appears between the Sidebar and the Folder pane above.
          1. Verify a "hot click" area appears in the middle of the separator (aka a grippy should appear)
          2. Verify direction arrows appear on the "hot click" area, indicating the direction the separator can be snapped opened/closed.
          3. Verify a double sided arrow appears when the mouse appears over the general separator area.
        2. Verify a vertical separator appears between the Folder pane/Sidebar and the and the right side of the window (Thread pane/Message pane).
          1. Verify a "hot click" area appears in the middle of the separator (aka a grippy should appear)
          2. Verify direction arrows appear on the "hot click" area, indicating the direction the separator can be snapped opened/closed.
          3. Verify a double sided arrow appears when the mouse appears over the general separator area.
    2. Alternate 3-pane Window
      1. General
        1. Verify the Sidebar is closed by default
        2. Verify when the Sidebar is open that it displays in its own pane expanding the entire length of the window.
      2. Sidebar Title
        1. Verify there is a Sidebar Title (i.e. My Sidebar)
        2. Verify there is a "Tabs" button with an arrow pointing to the right
      3. Default panels
        1. Buddy List (closed by default, only appears for Netscape builds)
        2. Stocks (closed by default)
        3. News (open by default)
      4. For each panel
        1. Verify the Panel Title has a unique name for each panel (i.e. Stocks, News, Sports)
        2. Verify the Panel Title is preceded with an expand/collapse widget
        3. Verify there is a content area
        4. Verify a vertical scrollbar appears if the information in the content area exceeds the space provided.
        5. Verify a horizontal scrollbar appears if the information in the content are exceeds the space provided.
      5. Separator
        1. Verify a vertical separator appears between the Folder pane/Sidebar and the and the right side of the window Thread pane/Message pane.
          1. Verify a "hot click" area appears in the middle of the separator (aka a grippy should appear)
          2. Verify direction arrows appear on the "hot click" area, indicating the direction the separator can be snapped opened/closed.
          3. Verify a double sided arrow appears when the mouse appears over the general separator area.
    3. Address Book Window
      1. General
        1. Verify the Sidebar is open by default 12203 verified - do we want the addressbook sidebar hidden by default for new profile.
      2. Sidebar Title
        1. Verify there is a Sidebar Title (i.e. My Sidebar)
        2. Verify there is a "Tabs" button with an arrow pointing to the right
      3. Default panels
        1. Buddy List (open by default, only appears for Netscape builds)
      4. For each panel
        1. Verify the Panel Title has a unique name for each panel (i.e. Stocks, News, Sports)
        2. Verify the Panel Title is preceded with an expand/collapse widget
        3. Verify there is a content area
        4. Verify a vertical scrollbar appears if the information in the content area exceeds the space provided.
        5. Verify a horizontal scrollbar appears if the information in the content are exceeds the space provided.
      5. Separator
        1. Verify a horizontal separator appears between the Sidebar and the Address Book pane above.
          1. Verify a "hot click" area appears in the middle of the separator (aka a grippy should appear)
          2. Verify direction arrows appear on the "hot click" area, indicating the direction the separator can be snapped opened/closed.
          3. Verify a double sided arrow appears when the mouse appears over the general separator area.
        2. Verify a vertical separator appears between the Address Book pane/Sidebar and the and the right side of the window Results pane/Card pane.
          1. Verify a "hot click" area appears in the middle of the separator (aka a grippy should appear)
          2. Verify direction arrows appear on the "hot click" area, indicating the direction the separator can be snapped opened/closed.
          3. Verify a double sided arrow appears when the mouse appears over the general separator area.
  4. Sidebar - Functionality
    1. General
      1. Verify displaying the Sidebar can be controlled using the View menu.
        1. Verify the accelerator opens/closes the Sidebar (F9)
        2. Verify that View menu item opens/closes the Sidebar (F9)
        3. Verify the mnemonic opens/closes the Sidebar
    2. Sidebar Title
      1. Verify the "Tabs" button opens the "Customize my sidebar..." popup menu
        1. Verify extra panels appear below the "Customize my sidebar" popup menu item
        2. Verify that checkmarks only appear for panels that are currently displaying in the Sidebar
        3. Add more panels and verify the changes are displayed in this popup menu
        4. Remove panels and verify the changes are displayed in this popup menu
        5. Rearrange panels and verify the changes are displayed in this popup menu
    3. For each panel
      1. Verify the expand/collapse widgets reflect the open/closed state
      2. Verify a single click on a panel opens the panel and gives it focus
        1. Verify the above action closes the previous open panel
      3. Verify that changing height and width of the Sidebar is saved a) after opening another instance of Mail & Newsgroup and b) after re-starting.
      4. Verify that starting "Customize my sidebar" but then Cancel it, does not change Sidebar content.
      5. Verify customizing the Sidebar is possible
        1. Verify selecting the My Sidebar "Tabs >" displays a choice of tabs
        2. Verify deselecting a tab removes it from the Sidebar
        3. Verify adding a tab is successful by selecting "Tabs >" and then selecting "Customize My Sidebar
      6. Verify when panels are added that they are displayed in the Sidebar:
        1. Add a panel by selecting a panel in the "Customize my sidebar" popup menu
        2. Add a panel by selecting "Customize my sidebar" and then selecting another panel from the "Customize My Sidebar" dialog.
      7. Verify when removing panels that they are not displayed in the Sidebar:
        1. Remove a panel by deselecting the panel in the "Customize my sidebar" popup menu. bugs: 128354 (fixed), 231689.
        2. Remove a panel by selecting "Customize my sidebar" and then removing it from the "Customize My Sidebar" dialog.
      8. Verify that rearranging panels is saved and displayed in the Sidebar a) after opening another instance of Mail & Newsgroup and b) after re-starting.
      9. Verify that adding a new bookmark from any browser page is saved in the Sidebar, Bookmarks tab
      10. Verify correct context menu appears. (IT IS BETTER TO TEST IT with Context menus because of dif. expectation for diff selection. Will change after solving Context bug for Sidebar.)
    4. Separator
      1. Horizontal separator between Sidebar and Folder pane. (only for 3-pane window)
        1. Verify placing the mouse on the "hot click" area displays a tooltip, followed by a visual indication on how to resize (i.e. grippy).
        2. Verify dragging the divider resizes the Sidebar's length
        3. Verify single clicking onto the "hot click" area minimizes the Sidebar so only the separator appears
        4. Verify single clicking onto the "hot click" area again maximizes the Sidebar to its previous state
      2. Vertical separator between Sidebar and Folder pane. (only for Alt 3-pane window)
        1. Verify placing the mouse on the "hot click" area displays a tooltip, followed by a visual indication on how to resize (i.e. grippy).
        2. Verify dragging the divider resizes the Sidebar's width
        3. Verify single clicking onto the "hot click" area minimizes the Sidebar so only the separator appears
        4. Verify single clicking onto the "hot click" area again maximizes the Sidebar to its previous state
    5. Sidebar panel contents and selecting links
      1. Buddy List (detailed testing is performed by the AIM group)
        1. Verify you can configure your AIM account
        2. Verify you can successfully send/receive an IM
      2. Stocks
        1. Verify stock content displays
        2. Verify entering a stock symbol and pressing enter launches the Browser with relevant information
      3. News
        1. Verify news content displays
        2. Verify selecting a news link launches the Browser with relevant information
      4. Verify any non-default panel performs as expected: Title, sizing, relevant information.
  5. Different scenarious related to Sidebar testing. For possible regressions.
    1. Verify Sidebar after creating new profile
      1. Default content 121215 - MailNews sidebar is empty at startup. ( 119975 - Browser Sidebar blank with new profile.)
      2. Alt 3-pane:
      3. Verify the Sidebar is open by default 12203 - do we want the addressbook sidebar hidden by default for new profile.
      4. 57681 Dataloss: lost custom Sidebar tabs list after adding a new profile.
    2. Adding new Tabs 87441 - Adding a flash tab to my sidebar freezes/crashes the browser.
    3. Verify that View | Opened or Closed Sidebar selection is saved after exiting 85026 - view->sidebar setting not persisted (can't permanently disable sidebar).
    4. 85941 - Starting browser with proxy user login causes sidebar to not appear.
    5. Enlarge font and verify increasing fonts on Sidebar.
    6. Verify that having focus on the Sidebar (and selecting any of its elements) then pressing Delete key does not delete any message. 73343 - Hitting the "del" key in sidebar deletes a mailnews message.
    7. Creating new Tabs. 63856 - Sidebar panel "already exists" dialog should show name of panel.
    8. Resize Mail window to the very harrow on the left - Sidebar width should gets refreshed after coming to previous Mail window. 19230 - WFM.