If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Testing stack to be able to know the hardware capabilities of the device it's running on

NEW
Unassigned

Status

Firefox OS
Infrastructure
3 years ago
a year ago

People

(Reporter: zac, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
We need to know the hardware capabilities of a device or b2g instance before we run a test on it so that when we do run tests we do can choose the most appropriate device.

For example, monkey tests will need a device that has no SIM and functional tests need a device with a SIM.

A user can be 'protected' against running tests against a b2g instance that is not sufficient by failing fast instead of giving the wrong test results.

Somewhere in the stack, perhaps in Marionette (integrated with the DesiredCapabilities class), or via mozdevice/mozbase. Let's discuss it here and then move this bug as appropriate.

This should not use Gaia or WebAPIs to derive the information seeing as the test framework is also used to test these APIs, we could expose ourselves to false positives and so forth if the APIs regress.

The capabilities should be derived through Gecko or through adb.

Some capabilities that the test framework would like to know about:
Camera (front/back/both)
Headphone (plugged in or not)
RIL (1 or 2 SIM, phone numbers)
SD Card(s)
Bluetooth 
Wifi 
NFC
GPS/geolocation
Vibration
(Reporter)

Updated

3 years ago
Component: Mozbase → Infrastructure
Product: Testing → Firefox OS
QA Contact: hskupin
You need to log in before you can comment on or make changes to this bug.