QA/B2G/How To Test Firefox OS/Video

From MozillaWiki
Jump to: navigation, search

Video

Stability (Open to Test)

Link to: Developer's status

How to test this App

One and Done: https://oneanddone.mozilla.org/en-US/tasks/81/
Video Application Coverage
Access Points
  • Access from Homescreen
  • Share from Messages
  • Share from Email
Data Management
Video File Types:
  • .mp4
  • .webm
  • .mpg
  • .ogg
  • .3gpp
Video Codec Types:
  • OGV
  • OGX
  • H.264
  • WEBM
  • 3GP
  • MP4
  • OGG
Areas to test
  • Main View
  • Select view
  • Watching a video
User Actions
  • Share Videos
  • View Additional Video Info
  • Delete Video
  • Play Video
  • Skip Forward
  • Rewind
  • Pause Video
  • Select Videos
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Watch a video
  • Scrub a video
  • Pause/play a video
  • Push a compatible video type to phone
Negative Examples
  • Push a non-compatible video file type with a compatible codec to phone
  • Push a non-compatible video file type with a non-compatible codec to phone
  • Push a compatible video file type with a compatible codec to phone
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • Play a <1 second video
  • Play a max length video
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • Race audio channels (receive calls/alarms/notifications) while starting/stopping videos

FXOS Contacts

Team Members
Video QA Owner
  • Edward Chen, No-Jun Park


Fixed in last 7 days

Open Bugs

Last 7 days

Bugzilla query error

Sprint Details

Design Documents

UX Specs
https://mozilla.app.box.com/applications/1/864519996
Building Blocks
https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
https://etherpad.mozilla.org/b2g-features-checklist

User Stories Metas

Setup

1. Videos exist on the phone

Automation Scripts

How to Run Automation

gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/video/manifest.ini

Automated Video Smoketests
  • test_play_3gp_video.py
All Gaia-UI Functional Tests
https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/videoplayer
Unit Tests
  • n/a
Other Functional Tests
  • TBD

Logging

Please provide the logcat by running adb logcat -v time -s GeckoDump:V Gecko:V GeckoConsole:V OomLogger:V | tee FILENAME-TO-LOG-TO. Please start running this command BEFORE you attempt to reproduce the problem. logcat uses a circular buffer that discards older entries when the buffer fills up, so if you run logcat only after the problem happens, you may not have all of the logic. Once you are done, hit control-C and send us the file.

Bug Writing

Link to Bug Writing Document