Details for revision 271 of testcase: Unity Window Management



BugReport a bug against the content of this testcase
ID1400
TitleUnity Window Management
LinkNo link provided
Part of testsuitesUnity

RevisionWritten on the 2013-03-28 16:27 by nskaggs
RevisionWritten on the 2013-03-21 12:29 by nskaggs
RevisionWritten on the 2013-02-22 12:36 by nskaggs
RevisionWritten on the 2013-02-13 14:55 by nskaggs
RevisionWritten on the 2012-09-20 17:15 by nskaggs
Text

Test-case wm/close button

  1. Press super+w
  2. Hover over an application
    1. The application contains a close button
  3. Click the close button
    1. The application closes

Test-case wm/move

  1. Open a window
  2. Drag the title bar
    1. Window moves

Test-case wm/move_edge_resistance

  1. Open an application
  2. Drag the title bar slowly to the left or right of the screen until the window edge gets out of the screen
    1. Window resists a bit before getting out of the screen

Test-case wm/active

  1. Start two applications
  2. Click on the window for the inactive application
    1. Window gets the focus and is shown above the other application window.
    2. Window title bar lights up (lighter title, colored buttons).
    3. Previous active window title bar darkens (dark title, monochrome buttons).

Test-case wm/close

  1. Open an application
  2. Click on the close button in the title bar
    1. Window closes

Test-case wm/minimize

  1. Open an application
  2. Click on the minimize button of the title bar
    1. A fast animation shows the window minimizing to its launcher icon
    2. Window is minimized

Test-case wm/maximize

  1. Open an application, make sure it is not maximized
  2. Click on the maximize button of the title bar
    1. Window is maximized

Test-case wm/maximize_double_click

  1. Open an application
  2. Double-click on the title bar
    1. Window is maximized

Test-case wm/drag_to_maximize

  1. Open an application
  2. Drag the title bar to the top unity panel
    1. A maximize preview shows, covering the whole screen
  3. Release mouse button
    1. Window is maximized
  4. Drag the title bar from the unity panel downwards
    1. Window is restored
  5. Drag the title bar to the left so that the mouse cursor is on the left edge of the screen
    1. A maximize preview shows, covering the left-half of the screen
  6. Release mouse button
    1. Window is semi-maximized to the left of the screen
  7. Drag the title bar to the right so that the mouse cursor is on the right edge of the screen
    1. A maximize preview shows, covering the right-half of the screen
  8. Release mouse button
    1. Window is semi-maximized to the right of the screen

Test-case wm/resize

  1. Open an application
  2. Move the mouse next to the right edge of the window
    1. the cursor should transform into a resize cursor ( →| )
  3. Drag the edge to resize to window
    1. A preview rectangle appears [2D: fail]
  4. Release the mouse button
    1. Window is resized
  5. Ensure the other edges behave the same
  6. Ensure the corners behave the same (to resize both width and height at the same time)

Test-case wm/menu_basic

  1. Open an application (not maximized)
  2. Right click on the title bar
    1. A context menu appears
  3. Ensure the minimize/maximize/move/close entries work

Test-case wm/always_on_top

  1. Open 2 applications (not maximized)
  2. Right click on the title bar, click "Always On Top"
  3. Click the other application window
    1. The other application window is activated, but stays behind the "always on top" window
  4. Show context menu for "always on top" window again; click on "Always On Top"
  5. Click the other application window
    1. The other application window is activated and is moved in front of the previous window

Test-case wm/workspace_always_visible

  1. Open an application (not maximized)
  2. Right click on the title bar, click on "Always on Visible Workspace"
  3. Click on the spread icon in the Launcher
    1. The window is visible in all workspaces
  4. Select the window
  5. Right click on the title bar, click on "Only on This Workspace" [2D: "Always on visible workspace"]
  6. Click on the spread icon in the Launcher
    1. The window is only visible in the current workspace

Test-case wm/workspace_move_to

  1. Open an application (not maximized)
  2. Right click on the title bar, click on "Move to Workspace Right"
    1. Window disappears
  3. Click on the spread icon in the Launcher
    1. Window is visible on the top-right workspace
  4. Select the window
  5. Right click on the title bar
    1. Menu entry title has changed to "Move to Workspace Left"
  6. Move the mouse to the "Move to Another Workspace" menu item
    1. 4 items appear, item "Workspace 2" is disabled
  7. Click on "Workspace 1"
    1. Window disappears
  8. Click on the spread icon in the Launcher
    1. Window is visible on the top-left workspace

Test-case wm/management_shortcuts

  1. Open an application
  2. Make sure the application is focused.
  3. Press ALT + F4
    1. The application should close

    Test-case wm/stacking

    1. open an application and make it maximised
    2. Attempt to open the dash
    3. Attempt to open indicators
      1. The dash and all indicators appear stacked correctly on top of the window


    If all actions produce the expected results listed, please submit a 'passed' result.
    If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result
    .

RevisionWritten on the 2012-08-15 16:46 by nskaggs
RevisionWritten on the 2012-08-14 13:38 by nskaggs