QA/B2G/How To Test Firefox OS/Camera

From MozillaWiki
Jump to: navigation, search

Camera

Stability (Open to Test)

Link to: Developer's status

How to test this App

One and Done: https://oneanddone.mozilla.org/en-US/tasks/80/
Camera Application Coverage
Access Points
  • list ways to access the app
  • Share Contacts
  • Share Gallery
  • Share Email
  • From Lockscreen
  • From Homescreen
  • Toggle between Video-Recorder/Camera
Data Management
  • Creates images in gallery
  • Creates videos in gallery
  • Creates videos in video
Areas to test
  • Camera Capture
  • Camera Preview
  • Camera Share Activity
  • Video Recording
User Actions
  • Take a Picture
  • Record a video
  • Change your focus (manual/automatic)
  • Enable/disable the flash
  • Toggle Camera (front/back)
  • Camera Settings
  • Camera Zoom
  • Preview picture/video
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Take a picture
  • Record a video
Negative Examples
  • Take pictures when phone memory is full
  • Record a video in a pitch black room, no flash
  • Record a video while obscuring the camera lens
  • Toggle between front/back camera while one is obscured
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • Take a lot of pictures to fill preview images
  • Take pictures when phone memory is full
  • Record a <1 second video
  • Record a max length video
  • Record a video that will exceed phone's memory
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • Receive a phone call when capturing a photo
  • Take a screenshot when capturing a photo
  • Receive a call as soon as a video recording has started/ended
  • Receive an alarm as soon as a video recording has started/ended
  • Take a screenshot as you begin recording a video

FXOS Contacts

Team Members
Camera QA Owner
  • 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/864504046
Building Blocks
https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
https://etherpad.mozilla.org/b2g-features-checklist

User Stories Metas

Setup

1. Camera Compatible phone


Automation Scripts

How to Run Automation
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/camera/manifest.ini


Automated Camera Smoketests
  • test_camera_capture_video.py
  • test_camera_multiple_shots.py
  • test_camera_capture_video.py


All Gaia-UI Functional Tests
https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera
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