예제 #1
0
 def tap_share_to_messages(self):
     element = Wait(self.marionette).until(
         expected.element_present(*self._share_to_messages_button_locator))
     Wait(self.marionette).until(expected.element_displayed(element))
     element.tap()
     from gaiatest.apps.messages.regions.new_message import NewMessage
     return NewMessage(self.marionette)
예제 #2
0
 def share_to_messages(self):
     actions_menu = Wait(self.marionette).until(
         expected.element_present(*self._actions_menu_locator))
     Wait(self.marionette).until(
         expected.element_displayed(actions_menu))
     self.marionette.find_element(*self._messages_button_locator).tap()
     Wait(self.marionette).until(
         expected.element_not_displayed(actions_menu))
     from gaiatest.apps.messages.regions.new_message import NewMessage
     return NewMessage(self.marionette)
예제 #3
0
 def tap_send_sms(self):
     self.marionette.find_element(*self._send_sms_button_locator).tap()
     from gaiatest.apps.messages.regions.new_message import NewMessage
     return NewMessage(self.marionette)
예제 #4
0
파일: app.py 프로젝트: wafflepilot/gaia
 def tap_create_new_message(self):
     self.marionette.find_element(*self._create_new_message_locator).tap()
     from gaiatest.apps.messages.regions.new_message import NewMessage
     return NewMessage(self.marionette)
예제 #5
0
파일: app.py 프로젝트: zhannett/gaia
 def tap_draft_message(self):
     self.root_element.tap()
     from gaiatest.apps.messages.regions.new_message import NewMessage
     return NewMessage(self.marionette)
예제 #6
0
    def tap_share_to_messages(self):
        self.wait_for_element_displayed(*self._share_to_messages_button_locator)
        self.marionette.find_element(*self._share_to_messages_button_locator).tap()

        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)