Changes

Jump to: navigation, search

B2G/QA/Automation/UI/MarionetteJS On Device Status

1,412 bytes added, 15:54, 9 March 2015
Created page with "== Introduction == Currently, the MarionetteJS tests can only be run on b2g desktop. The plan is to get them running on device too, just like the Gaia UI tests are running on..."
== Introduction ==
Currently, the MarionetteJS tests can only be run on b2g desktop.
The plan is to get them running on device too, just like the Gaia UI tests are running on device.
The work being done to get MarionetteJS running on device is being done by Ghislain Aus Lacroix [:aus], James Lal [:lightsofapollo] and Gareth Aye [:gaye]

== Setup ==
Instructions for running them on device are here:
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_integration_tests

Basically, what you need to do is:
- Connect a device (Flame) that has an engineering build on it
- On the command line, type: BUILDAPP=device make test-integration

In addition, the following steps probably need to be carried out (although that might change):
https://bugzilla.mozilla.org/show_bug.cgi?id=994764#c6
1) Install libzmq, one of:
$ sudo apt-get install libzmq3-dev
$ sudo yum install zeromq3-devel
$ sudo brew install zmq

2) Install runner-service:
$ cd gaia/tests/python/runner-service
$ python setup.py install

3) Install npm packages
$ npm install marionette-socket-host
$ npm install mocha-socket-reporter

4) Connect device and run:
$ gaia-integration --buildapp device

== Status ==
Currently, trying to run this fails for me with this message:
[TypeError: Cannot read property '1' of null]
Couldn't find todo count in marionette-mocha output:

*~*~* Results *~*~*
passed: 0
failed: 0
todo: 0
Confirm
486
edits

Navigation menu