B2G/QA/WebAPI Test Plan/Media Playback

From MozillaWiki
< B2G‎ | QA‎ | WebAPI Test Plan
Revision as of 23:41, 12 July 2012 by Dclarke (talk | contribs)
Jump to navigation Jump to search

B2g Media Playback Tests

Summary

Lead David Clarke (irc: onecyrenus)
Contributors TBD
Description Get notification when screen orientation changes as well as control which screen orientation a page/app wants.
Developer Chris Double
Project Page
Media Playback Tracking Bugs
API Status Delivered and ready for test

Scope

This test plan covers functional testing for Media Playback on the B2G platform. Media Types included in this are ogg, webm, mp3, mp4.

Strategy

The strategy behind this test plan will be to gain feature parity with the android platform in the playback of audio and video, as well as capture a good aesthetic.

Testing will be separated by audio / video, and then further by formats, and then further by features and capabilities.

Audio

Ogg

  1. Pick an Audio File: b2g.ogg B2G
  2. Play Audio
  3. Pause
  4. Forward Seek
  5. Reverse Seek
  6. Sleep Phone / Wake (Verify Audio continues to play)

Mp3

  1. Pick an Audio File: b2g.ogg B2G
  2. Play Audio
  3. Pause
  4. Forward Seek
  5. Reverse Seek
  6. Sleep Phone / Wake (Verify Audio continues to play)

Capabilities / Features

Streaming

  1. Buffered Playback to reduce jitter
  2. Redirects followed ?
  3. Closing the app stops the playback
    1. Immediately play and close the app several times

Screen Orientation

  1. Change Screen Orientation, verification here is that video orientation changes.
    1. Also verify any onscreen buttons or queues have changed orientation as well

Bluetooth

  1. Ability to switch audio output between bluetooth, speakerphone


Capabilities / Features

Headphone, Bluetooth, HTML5MediaElement, Streaming, Music App

Video

Ogg

  1. Pick an Video File: b2g.ogg B2G
  2. Play Video
  3. Pause
  4. Forward Seek
  5. Reverse Seek
  6. Sleep Phone / Wake (Verify Video continues to play)
  7. Ability to FullScreen

Mp4

  1. Pick an Video File: b2g.ogg B2G
  2. Play Video
  3. Pause
  4. Forward Seek
  5. Reverse Seek
  6. Sleep Phone / Wake (Verify Video continues to play)
  7. Ability to FullScreen

WebM

  1. Pick an Video File: b2g.ogg B2G
  2. Play Video
  3. Pause
  4. Forward Seek
  5. Reverse Seek
  6. Sleep Phone / Wake (Verify Video continues to play)
  7. Ability to FullScreen

Capabilities / Features

Streaming

  1. Buffered Playback to reduce jitter
  2. Redirects followed ?
  3. Closing the app stops the playback
    1. Immediately play and close the app several times

Screen Orientation

  1. Change Screen Orientation, verification here is that video orientation changes.
    1. Also verify any onscreen buttons or queues have changed orientation as well

Bluetooth

  1. Ability to switch audio output between bluetooth, speakerphone