Ejemplo n.º 1
0
Archivo: app.py Proyecto: orivier/gaia
 def tap_artists_tab(self):
     self.wait_for_element_displayed(*self._artists_tab_locator)
     self.marionette.find_element(*self._artists_tab_locator).tap()
     return ListView(self.marionette)
Ejemplo n.º 2
0
 def tap_artists_tab(self):
     element = Wait(self.marionette).until(
         expected.element_present(*self._artists_tab_locator))
     Wait(self.marionette).until(expected.element_displayed(element))
     element.tap()
     return ListView(self.marionette)
Ejemplo n.º 3
0
 def a11y_click_albums_tab(self):
     element = Wait(self.marionette).until(
         expected.element_present(*self._albums_tab_locator))
     Wait(self.marionette).until(expected.element_displayed(element))
     self.accessibility.click(element)
     return ListView(self.marionette)