mozilla-b2g/marionette-apps — pull request #30 by evanxd (2014-05-05 11:10:02+00:00)
Title: Bug 1003788 - [marionette-apps] switchToApp method doesn't wait for the app is rendered on screen.

http://bugzil.la/1003788
Wait for transition state of app's frame as opened.