QA/B2G/How To Test Firefox OS/Camera: Difference between revisions

Jump to navigation Jump to search
Updated to better match template formatting.
(Camera App Testing Page)
 
(Updated to better match template formatting.)
Line 1: Line 1:
=Camera=
=Camera=
==Stability (Open to Test)==
==Stability (Open to Test)==
* Link to: Developer's status
* Link to: Developer's status
==How to test this App==
==How to test this App==
* One and Done: https://oneanddone.mozilla.org/en-US/tasks/80/
: One and Done: https://oneanddone.mozilla.org/en-US/tasks/80/
* Application Coverage: https://docs.google.com/a/qanalydocs.com/spreadsheets/d/1RhI81B01gzLYTeRVqFM8RC2_UiuGtFssGtX_pRycgqE/edit#gid=1401311229
: Application Coverage: [https://docs.google.com/a/qanalydocs.com/spreadsheets/d/1RhI81B01gzLYTeRVqFM8RC2_UiuGtFssGtX_pRycgqE/edit#gid=1401311229 Application Coverage]
* Access Points
 
** list ways to access the app
:Access Points
** Share Contacts
::*list ways to access the app
** Share Gallery
::*Share Contacts
** Share Email
::*Share Gallery
** From Lockscreen
::*Share Email
** From Homescreen
::*From Lockscreen
** Toggle between Video-Recorder/Camera
::*From Homescreen
* Data Management
::*Toggle between Video-Recorder/Camera
** creates images in gallery
 
** creates videos in gallery
:Data Management
** creates videos in video
::*Creates images in gallery
* Areas to test
::*Creates videos in gallery
** Camera Capture
::*Creates videos in video
** Camera Preview
 
** Camera Share Activity
:Areas to test
** Video Recording
::*Camera Capture
* User Actions
::*Camera Preview
** Take a Picture
::*Camera Share Activity
** Record a video
::*Video Recording
** Change your focus (manual/automatic)
 
** Enable/disable the flash
 
** Toggle Camera (front/back)
: User Actions
** Camera Settings
::* Take a Picture
** Camera Zoom
::* Record a video
** Preview picture/video
::* Change your focus (manual/automatic)
* Positive & Negative Testing
::* Enable/disable the flash
** http://www.guru99.com/positive-vs-negative-testing.html
::* Toggle Camera (front/back)
** Positive Examples
::* Camera Settings
*** Take a picture
::* Camera Zoom
*** Record a video
::* Preview picture/video
** Negative Examples
 
*** Take pictures when phone memory is full
:Positive & Negative Testing
*** Record a video in a pitch black room, no flash
:http://www.guru99.com/positive-vs-negative-testing.html
*** Record a video while obscuring the camera lens
:Positive Examples
*** Toggle between front/back camera while one is obscured
::* Take a picture
* Boundary Testing
::* Record a video
** http://en.wikipedia.org/wiki/Boundary_testing
:Negative Examples
*** Take a lot of pictures to fill preview images
::* Take pictures when phone memory is full
*** Take pictures when phone memory is full
::* Record a video in a pitch black room, no flash
*** Record a <1 second video
::* Record a video while obscuring the camera lens
*** Record a max length video
::* Toggle between front/back camera while one is obscured
*** Record a video that will exceed phone's memory
 
* Race Conditions
:Boundary Testing
** http://en.wikipedia.org/wiki/Race_condition
::http://en.wikipedia.org/wiki/Boundary_testing
*** Receive a phone call when capturing a photo
::* Take a lot of pictures to fill preview images
*** Take a screenshot when capturing a photo
::* Take pictures when phone memory is full
*** Receive a call as soon as a video recording has started/ended
::* Record a <1 second video
*** Receive an alarm as soon as a video recording has started/ended
::* Record a max length video
*** Take a screenshot as you begin recording a 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==
== FXOS Contacts==
Team Members
 
* Link to: Team Site
:Team Members
https://wiki.mozilla.org/FirefoxOS/functionalteams
::*Link to: Team Site
Component QA Owner
::https://wiki.mozilla.org/FirefoxOS/functionalteams
* No-Jun:
:Camera QA Owner
::*NAME_MAILTO: No-Jun
 
 
==Fixed in last 7 days==
==Fixed in last 7 days==
==Open Bugs==
==Open Bugs==
* Last 7 days  
 
===Last 7 days===
 
----
 
<bugzilla>
<bugzilla>
{
{
Line 76: Line 97:
     "bug_status":"ASSIGNED",
     "bug_status":"ASSIGNED",
     "bug_status":"REOPENED",
     "bug_status":"REOPENED",
     "component":"Gaia::Camera",
     "component":"Gaia%3A%3ACamera",
     "product":"Firefox%20OS"
     "product":"Firefox%20OS"
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
}
}
</bugzilla>
</bugzilla>
* Link to: All open bugs  
 
===Link to: All open bugs===
 
----
 
<bugzilla>
<bugzilla>
{
{
Line 91: Line 116:
     "bug_status":"ASSIGNED",
     "bug_status":"ASSIGNED",
     "bug_status":"REOPENED"
     "bug_status":"REOPENED"
     "component":"Gaia::Camera",
     "component":"Gaia%3A%3ACamera",
     "product":"Firefox OS",
     "product":"Firefox OS",
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
}
}
</bugzilla>
</bugzilla>
* All open blockers/noms
 
===All open blockers/noms===
 
----
 
<bugzilla>
<bugzilla>
{
{
Line 116: Line 145:
}
}
</bugzilla>
</bugzilla>
==Sprint Details==
==Sprint Details==
==Design Documents==
==Design Documents==
UX Specs  
:UX Specs  
https://mozilla.app.box.com/applications/1/864504046
::Link to spec sheet
Building Blocks
 
https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
:Building Blocks
https://etherpad.mozilla.org/b2g-features-checklist
::https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
::https://etherpad.mozilla.org/b2g-features-checklist
 
==User Stories Metas==
==User Stories Metas==
http://mzl.la/1HXkZsg
:Link
Open User Stories
 
===Open User Stories===
 
----
 
<bugzilla>
<bugzilla>
{
{
Line 141: Line 178:
}
}
</bugzilla>
</bugzilla>
All User Stories
----
===All User Stories===
 
----
 
<bugzilla>
<bugzilla>
{
{
Line 153: Line 194:
}
}
</bugzilla>
</bugzilla>
==Setup==
==Setup==
** Camera Compatible phone
:1. Camera Compatible phone
 
 
==Automation Scripts==
==Automation Scripts==
* Link to: How to Run Automation
:Link to: How to Run Automation
https://docs.google.com/a/qanalydocs.com/document/d/1Rf0i57kN9Fof_HgTKnnqZ3ADD0htSfploHCvGGBaL7o/edit
::[https://docs.google.com/a/qanalydocs.com/document/d/1Rf0i57kN9Fof_HgTKnnqZ3ADD0htSfploHCvGGBaL7o/edit Automation Doc]
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/camera/manifest.ini
:gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/camera/manifest.ini
* Automated Email Smoketests
 
test_camera_capture_video.py
 
test_camera_multiple_shots.py
:Automated Camera Smoketests
test_camera_capture_video.py
::test_camera_capture_video.py
* All Gaia-UI Functional Tests
::test_camera_multiple_shots.py
https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera
::test_camera_capture_video.py
* Unit Tests
 
** n/a
 
* Other Functional Tests
:All Gaia-UI Functional Tests
** TBD
::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==
==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.   
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==
==Bug Writing==
* Link to Bug Writing Document
:Link to Bug Writing Document
69

edits

Navigation menu