QA/B2G/How To Test Firefox OS/Bluetooth

From MozillaWiki
Jump to: navigation, search

Bluetooth

Stability (Open to Test)

Link to: Developer's status

How to test this App

One and Done
Bluetooth Application Coverage
Access Points
  • Set from settings
  • Share from Gallery
  • Share from Music
  • Share from Video
  • Share from Camera
Data Management
  • Saved name
  • Visibility Setting
  • Paired Devices
  • Active Devices
  • Images from Gallery
  • Videos from Gallery/Video
  • Music from Music
  • Ringtones from Settings
Areas to test
  • Bluetooth Pair Panel
  • Bluetooth Transfer Request (Send)
  • Bluetooth Transfer Request (Receive)
  • Notification Tray (Transfer Progress)
User Actions
  • Pair from Media apps or Settings
  • Share images from gallery
  • Share videos from gallery/video
  • Share music from music
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Connect to a nearby device
  • Share a file on the phone
Negative Examples
  • Transfer to a paired device that has left range
  • Pair to the same device twice
  • Pair to a device in a Faraday bag (network-less zone)
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • Transfer to a paired device that has left range
  • Transfer files to pass phone's maximum memory
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • Pair to a device that loses network connection
  • Pair to a device while phone interrupts
  • Perform a transfer while a device shuts down

FXOS Contacts

Team Members
Bluetooth QA Owner
  • Alison Shiue

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. Open Settings App.
2. Enable Bluetooth.
3. Determine visibility for allowing other devices to find you.
4. Set a name
5. Define content that can be shared (images/music/videos)

Automation Scripts

How to Run Automation
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/settings/manifest.ini
Automated Bluetooth Smoketests
  • test_settings_bluetooth.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