예제 #1
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     self.wait_for_element_displayed(*self._data_report_title_locator)
예제 #2
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     view = self.marionette.find_element(*self._view_locator)
     self.wait_for_condition(lambda m: view.location['x'] == 0)
예제 #3
0
파일: ftu_step2.py 프로젝트: wsdigital/gaia
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     view = self.marionette.find_element(*self._view_locator)
     self.wait_for_condition(lambda m: view.location['x'] == 0)
예제 #4
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     header = self.marionette.find_element(*self._data_alert_header_locator)
     self.wait_for_condition(lambda m: header.location['x'] == 0)
예제 #5
0
파일: ftu_step3.py 프로젝트: hobinjk/gaia
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     view = self.marionette.find_element(*self._view_locator)
     Wait(self.marionette).until(lambda m: view.location['x'] == 0)
예제 #6
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     view = self.marionette.find_element(*self._view_locator)
     Wait(self.marionette).until(lambda m: view.location['x'] == 0)
예제 #7
0
파일: ftu_step3.py 프로젝트: mmalecki/gaia
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     header = self.marionette.find_element(*self._data_alert_header_locator)
     self.wait_for_condition(lambda m: header.location['x'] == 0)
예제 #8
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     self.wait_for_element_displayed(*self._data_report_title_locator)
예제 #9
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     menu = self.marionette.find_element(*self._reset_report_menu_locator)
     self.wait_for_condition(lambda m: menu.location['x'] == 0)
예제 #10
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     self.wait_for_element_displayed(*self._data_report_title_locator)
     # Wait for the <script defer> to complete
     time.sleep(1)
예제 #11
0
 def __init__(self, marionette):
     CostControl.__init__(self, marionette)
     menu = self.marionette.find_element(*self._reset_report_menu_locator)
     self.wait_for_condition(lambda m: menu.location['x'] == 0)