Testing Firefox OS apps

Marionette

- By Bebe

What do we have?


Browser-driven phone

All apps (dialer, camera, etc.) are HTML5 & JS

What do we need?


Supports the existing frameworks

Supports the future frameworks

Has full control of the device

Easy to use

SOLUTION

WebDriver!


Works in content and privilaged space

Provides the framework for future development

Familiar to testers

How can you use it?

B2G Emulator (qemu), B2G Desktop, and device testing (unagi, panda, desktop)



  • Test webAPIs like SMS/Call functions
  • Drive mochitests/reftests/etc on B2G
  • Running gaia smoketest automation
  • Maybe your next test!



Drive Firefox desktop



  • Run test that access content and chrome at the same time

How much work is involved?


It's easy you just need imagination


Demo

Questions?


More info - Marionette

More info - Build your own FirefoxOS (aka B2G) emulator or phone image!

Use a proxy - Selenium proxy to talk to Marionette (under development)

FYI, if you just want to play around, I recommend pulling down Desktop FirefoxOS. It has marionette built-in, and emulates the phone resolution/environment on your desktop!