Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 46 Next »

Video Player QA Test Plan

Environments

Unable to render {include} The included page could not be found.

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?

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: Video Player JIRA Filter

Currently known issues are indicated on this page by their JIRA number.

  • If you note during your testing that an issue has been resolved, please edit this page and remove the JIRA number.
  • If you file a JIRA for a new issue, please edit this page and add the JIRA number beside the relevant 'expected result.'

Unit Test

Protocol
Launch the following website to execute unit tests.

Video Player Test Suite:
http://build.fluidproject.org/videoPlayer/videoPlayer/tests/all-tests.html

Manual Tests

Description
Ensures that the component properly functions on the aspects that are not covered by the integration test.

Protocol
Perform these tasks on the following site, perform the tests in order.

Video player sample:
One video player per page
Multiple video players per page

Mouse Functionality

Page Load, Basic Play/Pause

Procedure

Expected Results

Load the "One video player per page" demo in a browser window.

  • Page should show video player container.
  • Video should not play automatically.
  • Video player container should show a symbol overlay. FLUID-4599
  • Control menu should not be visible.
  • Transcript area should not be visible.
  • Captions should not be displayed.

Using the mouse, hover over the video player.

  • On hover, the scrubber bar and control buttons should appear.
  • Play symbol overlay should not disappear. FLUID-4599

Move the mouse away from the video player.

  • Scrubber bar and control buttons should disappear.
  • Play symbol overlay should remain. FLUID-4599

Click somewhere in the centre of the video area. Leave the cursor over the video area.

  • Play symbol overlay should disappear.
  • Video should play.
  • Play symbol on the Play/Pause button at the left end of the control buttons should change to a Pause symbol.

Click again somewhere near the centre of the video area

  • Video should stop playing.
  • Play symbol overlay should NOT re-appear.
  • Pause symbol on the Play/Pause button at the left end of the control buttons should change to a Play symbol.
Controls: Play Button

Procedure

Expected Results

Move the mouse cursor over the video; controls will appear. Hover over the Play button.

  • Play button should get a darker background.
  • Tooltip containing "Play" should appear near the Play button.

Click on the Play button. Keep mouse positioned over the button.

  • Video should play.
  • Play button should change to a Pause button.
  • Tooltip text should change to contain "Pause".

Click the Pause button.

  • Video should stop playing.
  • Pause button should change to a Play button.
  • Tooltip should change to contain "Play."

Click the Play button.

  • Video should resume playing where it was paused.
  • Play button should change to a Pause button.
  • Tooltip text should change to contain "Pause".
Controls: Volume Controls

Procedure

Expected Results

Move the mouse cursor over the video; controls will appear.
Hover over the Volume button.

  • Volume button should get a darker background.
  • Vertical volume slider at should appear above Volume button.
  • Slider thumb should be at roughly 50%.
  • Slider under the thumb should be a different colour than the slider above the thumb.
  • Tooltip containing "Volume" should appear near the Volume button. FLUID-4859

Click the Volume button. Keep mouse positioned over the button.

  • Volume button should change to a Muted button (speaker symbol with an X).
  • Slider thumb should drop to bottom.
  • Tooltip should remain unchanged. Should say "Volume". FLUID-4859

Click the Volume button again. Keep mouse positioned over the button.

  • Muted button should change to back a Volume button).
  • Slider thumb should return to original position.
  • Tooltip should not change. Should say "Volume". FLUID-4859

Use the mouse to drag the volume slider thumb control up or down.

  • The colours above and below the thumb should continue to fill the available space.

Slide the Volume slider up almost to the top of the slider.
Click the Volume button to mute.
Click the Volume button again to un-mute.

  • While muted, the volume slider thumb should drop to the bottom.
  • Once un-muted, the volume slider should return to where you left it, near the top of the slider.

Slide the Volume slider all the way to the bottom of the slider.

  • Volume button should change to a Muted button (speaker symbol with an X).

Slide the Volume slider up away from the bottom of the slider.

  • Muted button should change back to a Volume button.

Start the video playing (either by clicking in the video area or on the Play button).
While listening to the audio, slide the Volume slider up and down.

  • The volume of the video should be raised and lowered according to the slider.

Pause the video.

Controls: Caption Controls

Procedure

Expected Results

Move the mouse cursor over the video; controls will appear.
Hover over the Caption (CC) button.

  • Caption button should get a darker background and "CC" should appear inverted (light text on dark background).
  • Tooltip containing "Captions" should appear near the Captions button.

Click the Caption (CC) button

  • The caption menu should appear above the button.
  • The Caption menu should include a list of languages (English and French) and a "Show Caption" option at the bottom of the menu.
  • The English menu item should be bolded.

Click the Caption button again.

  • The caption menu should disappear.

Click the Caption button again.

  • The caption menu should reappear.

Click the "Show Captions" menu item.

  • The caption menu should disappear.
  • The Captions button should switch to orange on a darker background.
  • An overlay should appear briefly confirming that captions are turned on, then disappear. The overlay should mention the current language, English. FLUID-4601

Play the video

  • English captions should appear, synchronized to the audio.

Click the Captions button and select French.

  • Caption should continue to display, but should switch to French captions.
  • An overlay should appear briefly confirming the new language choice, French (and that captions are on) then disappear. FLUID-4601

Click the Captions button and select "Hide Captions"

  • The caption menu should disappear.
  • The captions should disappear.
  • The "CC" symbol should return to dark grey text on lighter grey background.
  • An overlay should appear briefly confirming that captions are turned off, then disappear. The overlay should mention the current language, French. FLUID-4601

Click the Captions button and select "English"

  • The caption menu should disappear.
  • English captions should display with the video.
  • An overlay should appear briefly confirming that captions are turned on, then disappear. The overlay should mention the current language, English. FLUID-4601

Pause the video and reload the page.

Controls: Transcript Controls

Procedure

Expected Results

Move the mouse cursor over the video; controls will appear.
Hover over the Transcripts button.

  • Transcripts button should get a darker background.
  • Tooltip containing "Transcripts" should appear near the Transcripts button.

Click on the Transcript button

  • The transcript menu should appear above the button.
  • The Transcript menu should include a list of languages (English and French) and a "Show Transcript" option at the bottom of the menu.
  • The English menu item should be bolded.

Click the Transcript button again.

  • The transcript menu should disappear.

Click the Transcript button again.

  • The transcript menu should reappear.

Click the "Show Transcripts" menu item.

  • The transcript menu should disappear.
  • The transcript area should appear to the right of the video area, containing English transcripts.
  • The icon in the Transcripts button should switch to orange.

Click the Transcript button and select French.

  • Content of transcript area should switch to French transcripts.

Click the Transcript button and select "Hide Transcript"

  • The transcript menu should disappear.
  • The transcript area should disappear.
  • The icon in the Transcripts button should switch to back to white.

Click the Transcript button and select "English"

  • The transcript menu should disappear.
  • The transcript are should appear on the right, containing English transcripts.

Reload the page.

Controls: Scrubber Bar

Procedure

Expected Results

Move the mouse cursor over the video; controls will appear.
Use the Captions button to show captions.
Use the Transcripts button to show transcripts.
Click anywhere in grey area of scrubber bar.

  • From the beginning of the scrubber bar to where the click happens, the background color turns yellow.
  • The start time on the time box gets updated to a reasonable new time reflecting the click location.
  • The video jumps to another clip reflecting the click location.
  • The caption shows up with the text that's associated with the new video clip.
  • The transcript text scrolls to the transcript text that's associated with the new video clip.

Click elsewhere in the scrubber bar; try different locations.

  • The results described above should always happen, adjusted to be relevant to the correct spot in the timeline.

Reload the page

Controls: Full-Screen Controls (not yet implemented fully)

Procedure

Expected Results

Move the mouse cursor over the video; controls will appear.
Hover over the Full-screen button.

  • Full-screen button should get a darker background.
  • Tooltip containing "Full screen" should appear near the Full-screen button.

Click the Full-screen button

  • The video should switch into full-screen mode.
  • The video controls should be visible along the bottom of the screen.
  • The Full-screen button icon should switch to a 'small-screen' icon.

Do not move the mouse or press any keys for a short time.

  • The controls should disappear.

Move the mouse.

  • The controls should reappear.

Test the mouse functionality as described above.

  • All controls should function as they would in non-full-screen mode.
  • (Coming soon: expanded description of expected behaviour)

Click the Full-screen button again.

  • The video should switch back to its original size.

Click the Full-screen button again.

  • The video should switch into full-screen mode again.

Press the Escape key.

  • The video should switch back to its original size.

Reload the page

Keyboard Functionality

Basic Play/Pause

Procedure

Expected Results

Load the "One video player per page" demo in a browser window.

  • Page should show video player container.
  • Video should not play automatically.
  • Video player container should show a symbol overlay. FLUID-4599
  • Control menu should not be visible.
  • Transcript area should not be visible.
  • Captions should not be displayed.

Using only the Tab key on the keyboard, move focus to the video player.

  • When tab focus arrives at the video player, the video area should show a blue border around it.
  • Play symbol overlay should not disappear. FLUID-4599
  • The controls should not appear. FLUID-4785

Press the Space key.

  • Play symbol overlay should disappear. FLUID-4599
  • Video should start playing.
  • Play button should turn into a Pause button.

Press the Space key again.

  • Play symbol overlay should not reappear. FLUID-4599
  • Video should stop playing.
  • Pause button should turn into a Play button.

Press Space key

  • Play symbol overlay should not reappear. FLUID-4599
  • Video should stop playing.
  • White on Blue background pause button should be replaced by a play button.

Repeat the above-mentioned Play/Pause tests using the Enter key instead of Space.

  • Results should be the same.

Reload the page.

Controls: Play Button

Procedure

Expected Results

Using only the Tab key on the keyboard, move focus to the video player.

  • When tab focus arrives at the video player, the video area should show a blue border around it.
  • Play symbol overlay should not disappear. FLUID-4599
  • The controls should not appear. FLUID-4785

Press Tab once more.

  • The controls should appear. FLUID-4785
  • The Play button should appear white on a blue background.
  • Play symbol overlay should not disappear. FLUID-4599

Press Space key

  • Play symbol overlay should disappear. FLUID-4599
  • Video should start playing.
  • Play button should turn into a Pause button.
  • Pause button should appear as white on blue background.
  • Tooltip should change to say "Pause" FLUID-4743

Press Space key

  • Play symbol overlay should not reappear. FLUID-4599
  • Video should stop playing.
  • White on Blue background pause button should be replaced by a play button.
  • Tooltip should change to say "Play" FLUID-4743

Repeat the above-mentioned Play/Pause tests using the Enter key instead of Space.

  • Results should be the same.

Reload the page.

Controls: Volume Controls

Procedure

Expected Results

Using only the Tab key on the keyboard, move focus to the video player.

  • When tab focus arrives at the video player, the video area should show a blue border around it.
  • Play symbol overlay should not disappear. FLUID-4599
  • The controls should not appear. FLUID-4785

Press Tab two more times.

  • The controls should appear. FLUID-4785
  • The Volume button should appear white on a blue background.
  • Volume slider should appear vertically above the volume button.
  • Slider thumb should be at roughly 50%.
  • Slider under the thumb should be a different colour (i.e. yellow) than the slider above the thumb (i.e. white).
  • Tooltip should say "Volume". FLUID-4859

Press and hold Down arrow

*The volume slider should move down.
*Yellow colour under the slider should decrease while white colour above slider should increase.

Press and hold Up arrow

*The volume slider should move up.
*Yellow colour under the slider should increase while white colour above slider should decrease.

Press Enter

  • Volume button should change to a Muted button (speaker symbol with an X).
  • Slider thumb should drop to bottom.
  • Tooltip should say "Volume". FLUID-4859

Press Enter again (Focus should still be on Volume button).

  • Muted button should change to back a Volume button.
  • Slider thumb should return to original position.
  • Tooltip should not change and should still say "Volume". FLUID-4859

With Volume focused, press Up arrow until the slider is almost to the top of the slider.
Press Enter key button to mute.
Press Enter key button again to un-mute.

  • While muted, the volume slider thumb should drop to the bottom.
  • Once un-muted, the volume slider should return to where you left it, near the top of the slider.

Press Down arrow so slider is all the way to the bottom.

  • Volume button should change to a Muted button (speaker symbol with an X).

Slide the Volume slider up away from the bottom of the slider.

  • Muted button should change back to a Volume button.

*Start the video playing (either by clicking in the video area or on the Play button).
*Put focus back onto the Volume button by pressing Tab until focused.

  • While listening to the audio, press Up and Down arrow keys to slide the Volume slider up and down.
  • The volume of the video should be raised and lowered according to the slider.
Controls: Caption Controls

Procedure

Expected Results

Using only the Tab key on the keyboard, move focus to the video player.

  • When tab focus arrives at the video player, the video area should show a blue border around it.
  • Play symbol overlay should not disappear. FLUID-4599
  • The controls should not appear. FLUID-4785

Press Tab four more times.

  • The controls should appear. FLUID-4785FLUID-4863
  • Caption button should get a darker background and "CC" should appear inverted (light text on dark background).
  • Tooltip containing "Captions" should appear near the Captions button.

Activate the Caption (CC) button by pressing Space or Enter

  • The caption menu should appear above the button.
  • The Caption menu should include a list of languages (English and French) and a "Show Caption" option at the bottom of the menu.
  • The English menu item should be bolded.

Deactivate the Caption (CC) button by pressing Space or Enter again.

  • The caption menu should disappear.

Activate the Caption (CC) button by pressing Space or Enter again.

  • The caption menu should reappear.

Click the "Show Captions" menu item.

  • The caption menu should disappear.
  • The Captions button should switch to orange on a darker background.
  • An overlay should appear briefly confirming that captions are turned on, then disappear. The overlay should mention the current language, English. FLUID-4601

Play the video

  • English captions should appear, synchronized to the audio.

Click the Captions button and select French.

  • Caption should continue to display, but should switch to French captions.
  • An overlay should appear briefly confirming the new language choice, French (and that captions are on) then disappear. FLUID-4601

Click the Captions button and select "Hide Captions"

  • The caption menu should disappear.
  • The captions should disappear.
  • The "CC" symbol should return to dark grey text on lighter grey background.
  • An overlay should appear briefly confirming that captions are turned off, then disappear. The overlay should mention the current language, French. FLUID-4601

Click the Captions button and select "English"

  • The caption menu should disappear.
  • English captions should display with the video.
  • An overlay should appear briefly confirming that captions are turned on, then disappear. The overlay should mention the current language, English. FLUID-4601

More to come... For now, use the mouse tests as a guide: All functionality should be available via keyboard-only as well.

  • No labels