Reorderer QA Test Plan - Image Reorderer
|
Environments The supported environments are based on Yahoo's A-grade browsers
* 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
|
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. |
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
- Open the browser and navigate to the specified URL
- 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
- Complete Test 1
- Using the mouse, press and hold the 'left-mouse-button' down
- 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
- Complete Test 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
- Complete Test 3
- 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
- Open the browser and navigate to the specified URL
- 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
- Complete Test 5
- 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
- The keyboard focus styling should move to the other element
Test 7: Keyboard, Move Image
- Procedure
- Complete Test 6
- Using the keyboard, hold the 'ctrl' key (Opera on Mac use 'Apple' key)
- 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
- Open the browser and navigate to the specified URL
- Using the mouse, hover over one of the images
- Using the mouse, press and hold the 'left-mouse-button' down
- Using the mouse, drag the avatar around the screen
- 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
- Open the browser and navigate to the specified URL
- Adjust the browser size so that a vertical scroll bar appears
- Using the mouse, hover over one of the images
- Using the mouse, press and hold the 'left-mouse-button' down
- Using the mouse, attempt to drag the avatar to a drop target that is currently off screen
- 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
- Open the browser and navigate to the specified URL
- Using the mouse, hover over one of the images
- Using the mouse, press and hold the 'left-mouse-button' down
- Using the mouse, drag the avatar in front of the first image
- 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
- Open the browser and navigate to the specified URL
- Using the mouse, hover over one of the images
- Using the mouse, press and hold the 'left-mouse-button' down
- Using the mouse, drag the avatar after the last image
- 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
- Open the browser and navigate to the specified URL
- Using the keyboard, tap the 'tab' key until one of the images has focus
- Using the keyboard, tap the 'i', 'j', 'k', 'm', or an 'arrow'
- 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)
- The keyboard focus styling should move to the other element
- Stop Test
- Refresh the browser to return the page to its initial state
Test 4: Keyboard Move Wrap
- Procedure
- Open the browser and navigate to the specified URL
- Using the keyboard, tap the 'tab' key until one of the images has focus
- Using the keyboard, hold the 'ctrl' key
- Using the keyboard, tap the 'i', 'j', 'k', 'm', or an 'arrow'
- 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
- Open the browser and navigate to the specified URL
- Using the mouse, hover over one of the images
- Using the mouse, press and hold the 'left-mouse-button' down
- Using the mouse, drag the avatar out of the list and onto some whitespace in the browser
- 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
- Open the browser and navigate to the specified URL
- Adjust the size of the browser so that the desktop is visible
- Using the mouse, hover over one of the images
- Using the mouse, press and hold the 'left-mouse-button' down
- Using the mouse, drag the avatar out of the browser
- 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
