Bug 1059079 - Up mozrunner timeout and add watch for new homescreen name; r=ahal r=mdas
☠☠ backed out by 7c97c5f7a05e ☠ ☠
authorKyle Machulis <kyle@nonpolynomial.com>
Wed, 27 Aug 2014 21:01:28 -0700
changeset 202055 c6f54d821c11ee5b2d71281cb8a37d680a32618e
parent 202054 a2d24399428a5200e8c977ffe2355604f7ac4cfd
child 202056 b7a7dfbe4e3faba12323a7350b11eb635541dcd0
push id10116
push userkmachulis@mozilla.com
push dateThu, 28 Aug 2014 04:02:27 +0000
treeherderb2g-inbound@52b00288469c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal, mdas
bugs1059079
milestone34.0a1
Bug 1059079 - Up mozrunner timeout and add watch for new homescreen name; r=ahal r=mdas
testing/mozbase/mozrunner/mozrunner/devices/emulator.py
--- a/testing/mozbase/mozrunner/mozrunner/devices/emulator.py
+++ b/testing/mozbase/mozrunner/mozrunner/devices/emulator.py
@@ -203,21 +203,21 @@ waitFor(
     def wait_for_homescreen(self, marionette):
         print 'waiting for homescreen...'
 
         marionette.set_context(marionette.CONTEXT_CONTENT)
         marionette.execute_async_script("""
 log('waiting for mozbrowserloadend');
 window.addEventListener('mozbrowserloadend', function loaded(aEvent) {
   log('received mozbrowserloadend for ' + aEvent.target.src);
-  if (aEvent.target.src.indexOf('ftu') != -1 || aEvent.target.src.indexOf('homescreen') != -1) {
+  if (aEvent.target.src.indexOf('ftu') != -1 || aEvent.target.src.indexOf('homescreen') != -1 || aEvent.target.src.indexOf('verticalhome') != -1) {
     window.removeEventListener('mozbrowserloadend', loaded);
     marionetteScriptFinished();
   }
-});""", script_timeout=120000)
+});""", script_timeout=300000)
         print '...done'
 
     def _get_telnet_response(self, command=None):
         output = []
         assert(self.telnet)
         if command is not None:
             self.telnet.write('%s\n' % command)
         while True: