From f6a905c4af3a8091cb8d7dd632afd98eb36b9ef5 Mon Sep 17 00:00:00 2001 From: Kyle Machulis Date: Wed, 27 Aug 2014 21:01:28 -0700 Subject: [PATCH] Bug 1059079 - Up mozrunner timeout and add watch for new homescreen name; r=ahal r=mdas --HG-- extra : rebase_source : 1dc65791e0d66d91cd705df513f123c898bba7a1 --- testing/mozbase/mozrunner/mozrunner/devices/emulator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/mozbase/mozrunner/mozrunner/devices/emulator.py b/testing/mozbase/mozrunner/mozrunner/devices/emulator.py index f2a3018dfa9e..cafab4f91fd8 100644 --- a/testing/mozbase/mozrunner/mozrunner/devices/emulator.py +++ b/testing/mozbase/mozrunner/mozrunner/devices/emulator.py @@ -208,11 +208,11 @@ waitFor( 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):