зеркало из https://github.com/mozilla/eideticker.git
Bug 960212 - After restarting B2G unlock the device and kill all running apps. r=wlachance
This commit is contained in:
Родитель
db0f806ed7
Коммит
43b427b1a4
|
@ -468,6 +468,10 @@ marionetteScriptFinished();
|
|||
self._logger.info("Unlocking screen...")
|
||||
self.gaiaDevice.unlock()
|
||||
|
||||
def killApps(self):
|
||||
self._logger.info("Killing all running apps...")
|
||||
self.gaiaApps.kill_all()
|
||||
|
||||
|
||||
class B2GADB(EidetickerB2GMixin, mozdevice.DeviceManagerADB):
|
||||
def __init__(self, **kwargs):
|
||||
|
|
|
@ -34,6 +34,8 @@ def prepare_test(testkey, device_prefs):
|
|||
|
||||
logger.info("Restarting b2g")
|
||||
device.startB2G()
|
||||
device.unlock()
|
||||
device.killApps()
|
||||
|
||||
if hasattr(test, 'prepare_app'):
|
||||
logger.info("Doing initial setup on app for test")
|
||||
|
|
Загрузка…
Ссылка в новой задаче