Added by Justin Obara, last edited by Laurel Williams on Oct 06, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Reorderer QA Test Plan - Image Reorderer

Environments

The supported environments are based on Yahoo's A-grade browsers

  Win XP Win 7 Mac 10.5 Mac 10.6
Chrome 4
check mark
     
Firefox 3.6
check mark
check mark
 
check mark
Firefox 3.0
check mark
     
IE 8.0
check mark
check mark
   
IE 7.0
check mark
     
IE 6.0
check mark
     
Safari 4    
check mark
check mark

* Does not fully support keyboard accessibility (a11y)

† keyboard a11y can be slightly improved if you select the "all controls" option from "Keyboard Shortcuts" under the "Keyboard & Mouse" settings

General QA Guidelines

General Use

  • Does the tool behave the way that you would expect
  • Are you surprised by anything
  • Does something take longer than you would expect
  • When the tool does something unexpected or takes too long to do something, does the tool provide appropriate feedback
On This Page

QA Tests


Protocol
Perform the following tests using each browser/system environment

Report issues at: http://issues.fluidproject.org/secure/Dashboard.jspa

Please search for issues before reporting them, so as to limit the number of duplicate entries.

Reorderer Jira Filter
Image Reorderer Jira Filter



Unit Test

________________________________________________________

Protocol
Launch the following website to execute unit tests.

Fluid Lightbox Tests:
http://build.fluidproject.org/infusion/tests/component-tests/reorderer/html/ImageReorderer-test.html

State Tests

________________________________________________________

Description
Ensures that the component properly traverses through the various states. 

Protocol
Perform these tasks on the following site, perform the tests 1-4 and 5-7 in order.

Generic Image Reorderer:
http://build.fluidproject.org/infusion/demos/reorderer/imageReorderer/html/imageReorderer.html

Mouse 

Test 1: Mouseover

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the mouse, hover over one of the images
  • Expected Results
    • The pointer should be a move cursor (cross or hand)
    • The styling of the border around the image should change

Test 2: Mouse, Pickup Avatar

  • Procedure
    1. Complete Test 1
    2. Using the mouse, press and hold the 'left-mouse-button' down
    3. Using the mouse, drag slightly to the right
  • Expected Results
    • An avatar (representing the image) should be created
    • The avatar should remain under the pointer as you drag around

Test 3: Mouse, Move Avatar

  •  Procedure
    1. Complete Test 2
    2. Using the mouse, drag the avatar around the screen
  • Expected Results
    • Notice that drop targets appear as you move over valid drop points

Test 4: Mouse, Drop Avatar

  • Procedure
    1. Complete Test 3
    2. Using the mouse, release the 'left-mouse-button' over a drop target
  •  Expected Results
    • The avatar should drop and move the image to the new location
    • The other images should shift to fill in the empty space where the image was originally located

Keyboard 

Test 5: Keyboard, Focus

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the keyboard, tap the 'tab' key until one of the images has focus
  • Expected Results
    • The styling of the element should change to indicate that the image has focus

Test 6: Keyboard, Navigate Images

  • Procedure
    1. Complete Test 5
    2. Using the keyboard, tap the 'i', 'j', 'k', 'm', or an 'arrow'
  • Expected Results
    • The keyboard focus styling should move to the other element
      • 'i' or 'up arrow' to move up
      • 'm' or 'down arrow' to move down
      • 'j' or 'left arrow' to move left
      • 'k' or 'right arrow' to move right

Test 7: Keyboard, Move Image

  •  Procedure
    1. Complete Test 6
    2. Using the keyboard, hold the 'ctrl' key (Opera on Mac use 'Apple' key)
    3. Using the keyboard, while still holding down the 'ctrl' key use the navigation keys (see Test 6) to move the image
  • Expected Results
    • The image should move with the presses of the navigation key
    • The other images should shift to fill in the empty space where the image was originally located

Task Oriented Functional Tests

________________________________________________________

Description
Ensures that the component is able to handle expected input.

Protocol
Perform these tasks on the following site.

Generic Image Reorderer:
http://build.fluidproject.org/infusion/demos/reorderer/imageReorderer/html/imageReorderer.html

Test 1: Move Image

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the mouse, hover over one of the images
    3. Using the mouse, press and hold the 'left-mouse-button' down
    4. Using the mouse, drag the avatar around the screen
    5. Using the mouse, release the 'left-mouse-button' over a drop target
  •  Expected Results
    • The avatar should drop and move the image to the new location
    • The other images should shift to fill in the empty space where the image was originally located
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test 2: Scroll Page

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Adjust the browser size so that a vertical scroll bar appears
    3. Using the mouse, hover over one of the images
    4. Using the mouse, press and hold the 'left-mouse-button' down
    5. Using the mouse, attempt to drag the avatar to a drop target that is currently off screen
    6. Using the mouse, release the 'left-mouse-button' over a drop target
  •  Expected Results
    • The screen should scroll, revealing the drop targets which were off screen
    • The avatar should drop and move the image to the new location
    • The other images should shift to fill in the empty space where the image was originally located
  • Stop Test
    • Refresh the browser to return the page to its initial state
    • Reset your browser size

Boundary Tests

________________________________________________________

Description
Ensures proper functionality at the input limits 

Protocol
Perform these tasks on the following site.

Generic Image Reorderer:
http://build.fluidproject.org/infusion/demos/reorderer/imageReorderer/html/imageReorderer.html

Test 1: Move to First Position

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the mouse, hover over one of the images
    3. Using the mouse, press and hold the 'left-mouse-button' down
    4. Using the mouse, drag the avatar in front of the first image
    5. Using the mouse, release the 'left-mouse-button' over the drop target
  •  Expected Results
    • The avatar should drop and move the image to the new location
    • The other images should shift to fill in the empty space where the list image was originally located
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test 2: Move to Last Position

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the mouse, hover over one of the images
    3. Using the mouse, press and hold the 'left-mouse-button' down
    4. Using the mouse, drag the avatar after the last image
    5. Using the mouse, release the 'left-mouse-button' over a drop target
  •  Expected Results
    • The avatar should drop and move the image to the new location
    • The other images should shift to fill in the empty space where the image was originally located
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test 3: Keyboard Navigation Wrap

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the keyboard, tap the 'tab' key until one of the images has focus
    3. Using the keyboard, tap the 'i', 'j', 'k', 'm', or an 'arrow'
    4. Using the keyboard, continue tapping the same key until the original image has focus again
  •  Expected Results
    • The keyboard focus styling should move to the other element
      • 'i' or 'up arrow' to move up
      • 'm' or 'down arrow' to move down
      • 'j' or 'left arrow' to move left
      • 'k' or 'right arrow' to move right
    • The focus navigation should wrap around the list (e.g. from bottom element to top element, with a down direction)
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test 4: Keyboard Move Wrap

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the keyboard, tap the 'tab' key until one of the images has focus
    3. Using the keyboard, hold the 'ctrl' key
    4. Using the keyboard, tap the 'i', 'j', 'k', 'm', or an 'arrow'
    5. Using the keyboard, continue tapping the same key until the image is in its original location
  •  Expected Results
    • The image should move with the presses of the navigation key
    • The other images should shift to fill in the empty space where the image was originally located
    • The image's movement should wrap around the list (e.g. move from the bottom to the top, with a call to move down)
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test 5: Drop, not on a valid drop target

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Using the mouse, hover over one of the images
    3. Using the mouse, press and hold the 'left-mouse-button' down
    4. Using the mouse, drag the avatar out of the list and onto some whitespace in the browser
    5. Using the mouse, release the 'left-mouse-button'
  •  Expected Results
    • A drop target should always be present
    • The avatar should drop to the location of the drop target
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test 6: Drop out of browser

  • Procedure
    1. Open the browser and navigate to the specified URL
    2. Adjust the size of the browser so that the desktop is visible
    3. Using the mouse, hover over one of the images
    4. Using the mouse, press and hold the 'left-mouse-button' down
    5. Using the mouse, drag the avatar out of the browser
    6. Using the mouse, release the 'left-mouse-button'
  •  Expected Results
    • The avatar should drop to the location of the drop target
  • Stop Test
    • Refresh the browser to return the page to its initial state

Test-to-Fail

________________________________________________________

Description
Tests which should cause errors or not be accepted as input 

Protocol
Perform these tasks on the following site.

Generic Image Reorderer:
http://build.fluidproject.org/infusion/demos/reorderer/imageReorderer/html/imageReorderer.html