QA/B2G/How To Test Firefox OS/Gallery

From MozillaWiki
Jump to: navigation, search

Gallery

Stability (Open to Test)

Link to: Developer's status

How to test this App

One and Done: https://mozilla.app.box.com/applications/1/864507576
Gallery Application Coverage
Access Points
  • From Homescreen
  • Share from Messages
  • Share from Email
  • Share from Browser
  • Open from Browser
  • Open from Camera
Data Management
Photo File Types:
  • GIF
  • BMP
  • PNG
  • JPEG
Video File Types:
  • OGV
  • OGX
  • H.264
  • WEBM
  • 3GP
  • MP4
  • OGG
Areas to test
  • All photo view
  • Single photo view
  • Edit a photo
  • Watch a video
User Actions
  • Browse all photos
  • View single photo
  • Adjust contrast of photo
  • Adjust cropping of photo
  • Adjust filter of photo
  • Share photo through email/messages/bluetooth
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Take pictures in camera to populate gallery
  • Push compatible file extension pictures to phone
  • Edit pictures
Negative Examples
  • Push incompatible file extension pictures to phone
  • Push too large a picture file to phone
  • Push too small a picture file to phone
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • list some examples of boundary testing
  • Push too large a picture file to phone
  • Push too small a picture file to phone
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • list some examples of Race Conditions to test
  • Take pictures with camera and go to gallery to ensure they saved
  • Take pictures with camera, delete from preview and ensure they did not save

FXOS Contacts

Team Members
Gallery 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/864507576
Building Blocks
https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
https://etherpad.mozilla.org/b2g-features-checklist

User Stories Metas

Setup

1. Pictures/Videos present on phone


Automation Scripts

How to Run Automation
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/gallery/manifest.ini
Automated Email Smoketests
  • test_gallery_view.py
  • test_gallery_flick.py
All Gaia-UI Functional Tests
https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery
Unit Tests
  • n/a

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