Example #1
0
    def tap_next(self):
        # TODO Remove the sleep when Bug 1013249 is fixed
        time.sleep(2)

        self.wait_for_element_displayed(*self._next_button_locator)
        self.marionette.find_element(*self._next_button_locator).tap()
        return FTUStep2(self.marionette)
Example #2
0
 def tap_next(self):
     # TODO Remove the sleep when Bug 1013249 is fixed
     time.sleep(2)
     next = Wait(self.marionette).until(
         expected.element_present(*self._next_button_locator))
     Wait(self.marionette).until(expected.element_displayed(next))
     next.tap()
     return FTUStep2(self.marionette)
Example #3
0
 def tap_next(self):
     self.wait_for_element_displayed(*self._next_button_locator)
     # TODO sometimes we may tap before the click handlers are ready
     time.sleep(1)
     self.marionette.find_element(*self._next_button_locator).tap()
     return FTUStep2(self.marionette)
Example #4
0
 def tap_next(self):
     self.wait_for_element_displayed(*self._next_button_locator)
     self.marionette.tap(self.marionette.find_element(*self._next_button_locator))
     return FTUStep2(self.marionette)