Ejemplo n.º 1
0
 def __init__(self, marionette):
     Clock.__init__(self, marionette)
     view = self.marionette.find_element(*self._alarm_view_locator)
     Wait(self.marionette).until(
         lambda m: view.location['x'] == 0 and view.is_displayed())
     # Bug 1032852 This is to bust intermittents caused by this bug that causes keyboard not to appear upon tap
     time.sleep(1.5)
Ejemplo n.º 2
0
 def __init__(self, marionette):
     Clock.__init__(self, marionette)
     view = self.marionette.find_element(*self._alarm_view_locator)
     Wait(self.marionette).until(lambda m: view.location['x'] == 0 and view.is_displayed())
     # Bug 1032852 This is to bust intermittents caused by this bug that causes keyboard not to appear upon tap
     time.sleep(1.5)
Ejemplo n.º 3
0
 def __init__(self, marionette):
     Clock.__init__(self, marionette)
     view = self.marionette.find_element(*self._alarm_view_locator)
     self.wait_for_condition(
         lambda m: view.location['x'] == 0 and view.is_displayed())
Ejemplo n.º 4
0
 def __init__(self, marionette):
     Clock.__init__(self, marionette)
     view = self.marionette.find_element(*self._alarm_view_locator)
     self.wait_for_condition(lambda m: view.location['x'] == 0 and view.is_displayed())
Ejemplo n.º 5
0
 def __init__(self, marionette):
     Clock.__init__(self, marionette)
     view = self.marionette.find_element(*self._alarm_view_locator)
     self.wait_for_condition(lambda m: view.location["x"] == 0)