Esempio n. 1
0
 def __init__(self, marionette):
     Base.__init__(self, marionette)
     self.wait_to_be_displayed()
     self.apps.switch_to_displayed_app()
     element = Wait(self.marionette).until(
         expected.element_present(*self._panel_conversationview_locator))
     Wait(self.marionette).until(lambda m: element.rect['x'] == 0 and element.is_displayed())
Esempio n. 2
0
 def __init__(self, marionette):
     ContactForm.__init__(self, marionette)
     update = Wait(self.marionette).until(expected.element_present(*self._update_locator))
     Wait(self.marionette).until(lambda m: update.location['y'] == 0 and update.is_displayed())
Esempio n. 3
0
 def __init__(self, marionette):
     ContactForm.__init__(self, marionette)
     update = Wait(self.marionette).until(
         expected.element_present(*self._update_locator))
     Wait(self.marionette).until(
         lambda m: update.location['y'] == 0 and update.is_displayed())