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
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
def keypad(self): from gaiatest.apps.phone.regions.keypad import Keypad return Keypad(self.marionette)