QA/B2G/How To Test Firefox OS/NFC

From MozillaWiki
Jump to: navigation, search

NFC

Stability (Open to Test)

Link to: Developer's status

How to test this App

One and Done
NFC Application Coverage
Access Points
  • Set from settings
  • Share from Gallery
  • Share from Music
  • Share from Video
  • Share from Browser
Data Management
  • Images from Gallery
  • Videos from Gallery/Video
  • Music from Music
  • Ringtones from Settings
  • Webpages from Browser
Areas to test
  • Proximity Share Screen
  • Notification Tray Transfer Request Rate
User Actions
  • Share via media apps from close proximity phones (touching)
  • Share images from gallery
  • Share videos from gallery/video
  • Share music from music
  • Share browser
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Share jpeg from Gallery, proximity close to partner phone
  • Share URL link from browser, proximity close to partner phone
Negative Examples
  • Share jpeg from Gallery, proximity far from phone
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • Attempt to share with disabled NFC
  • Attempt to share from max distance with NFC
  • Attempt to share from NFC with divider in between devices
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • Share as phones leave proximity of eachother
  • Interrupt share animation with phone call or alarm

FXOS Contacts

Team Members
NFC 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. Enable NFC from Settings
2. Place phone in close proximity to another.
3. Navigate to media activity application.

Automation Scripts

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