Exemple #1
0
 def tap_call(self):
     self.marionette.find_element(*self._call_button_locator).tap()
     self.wait_for_element_not_displayed(*self._call_button_locator)
     from gaiatest.apps.phone.regions.keypad import Keypad
     keypad = Keypad(self.marionette)
     keypad.wait_for_phone_number_ready()
     return keypad
Exemple #2
0
 def tap_call(self):
     call = Wait(self.marionette).until(expected.element_present(*self._call_button_locator))
     Wait(self.marionette).until(expected.element_displayed(call))
     call.tap()
     from gaiatest.apps.phone.regions.keypad import Keypad
     keypad = Keypad(self.marionette)
     keypad.wait_for_phone_number_ready()
     return keypad
Exemple #3
0
 def keypad(self):
     from gaiatest.apps.phone.regions.keypad import Keypad
     return Keypad(self.marionette)