예제 #1
0
파일: app.py 프로젝트: 6a68/gaia
 def wait_for_calendar_unchecked(self, timeout=None):
     checkbox = self.marionette.find_element(*self._calendar_local_checkbox_locator)
     Wait(self.marionette, timeout).until(expected.element_not_selected(checkbox))
예제 #2
0
파일: app.py 프로젝트: philsmd/gaia
 def wait_for_calendar_unchecked(self, timeout=None):
     checkbox = self.marionette.find_element(*self._calendar_local_checkbox_locator)
     Wait(self.marionette, timeout).until(expected.element_not_selected(checkbox))
예제 #3
0
파일: app.py 프로젝트: William-Hsu/gaia
 def disable_gps(self):
     self.marionette.find_element(*self._gps_switch_locator).tap()
     checkbox = self.marionette.find_element(*self._gps_enabled_locator)
     Wait(self.marionette).until(expected.element_not_selected(checkbox))
예제 #4
0
 def disable_gps(self):
     self.marionette.find_element(*self._gps_switch_locator).tap()
     checkbox = self.marionette.find_element(*self._gps_enabled_locator)
     Wait(self.marionette).until(expected.element_not_selected(checkbox))