QA/B2G/How To Test Firefox OS/DeviceStorage

From MozillaWiki
Jump to: navigation, search

Device Storage

Stability (Open to Test)

Link to: Developer's status

How to test this App

https://oneanddone.mozilla.org/en-US/tasks/79/
Device Storage Application Coverage
Access Points
  • Settings
Data Management
Manageable Memory Types
  • Images
  • Music
  • Videos
Areas to test
  • Affected Applications while tethered should be disabled
  • Gallery
  • Music
  • Contacts (changing contact picture via Gallery)
  • Camera
User Actions
  • Move Files between Phone and Computer (via computer)
  • Move Files between SD Card and Internal Memory (via computer)
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Push files onto phone that are compatible with it's apps
  • Pull screenshots from the phone
Negative Examples
  • Push incompatible file types onto phone
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • Push images that are too large for Gallery to recognize
  • Push videos that are too large for Video to recognize
  • Remove all media from phone
  • Exceed memory of phone by pushing memory
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • Copy files from phone to computer and unplug
  • Expend Phone CPU during transfer (make a phone call, search browser)

FXOS Contacts

Team Members
Device Storage QA Owner
Gerry Chang


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

User Stories Metas

Setup

1. SD Card located in phone's memory slot
2. Enable USB Storage in Settings.
3. Plug phone into computer

Automation Scripts

How to Run Automation
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/settings/manifest.ini
Automated Device Storage Smoketests
  • list scripts available for this app
  • test_settings_usb_storage.py
All Gaia-UI Functional Tests
https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings
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