Пример #1
0
 def tabbutton_region(self):
     ''' Returns the task tabs button region '''
     from pages.regions.tabbuttons import TabButtons
     return TabButtons(
             self.testsetup,
             active_override=self._tab_button_active_locator,
             cls=TaskTabButtonItem)
Пример #2
0
 def tabbutton_region(self):
     '''Return the tab button region'''
     from pages.regions.tabbuttons import TabButtons
     from pages.services_subpages.provision import ProvisionTabButtonItem
     return TabButtons(self.testsetup,
                       locator_override=self._tab_button_locator,
                       cls=ProvisionTabButtonItem)
Пример #3
0
 def tab_buttons(self):
     from pages.regions.tabbuttons import TabButtons
     return TabButtons(self.testsetup,
                       locator_override=(By.CSS_SELECTOR,
                                         "div#ops_tabs > ul > li"))
Пример #4
0
 def tabbutton_region(self):
     return TabButtons(self.testsetup,
                       locator_override=self._tabbutton_region)
Пример #5
0
 def tabbutton_region(self):
     '''tab buttons'''
     from pages.regions.tabbuttons import TabButtons
     return TabButtons(self.testsetup,
                       locator_override=(By.CSS_SELECTOR,
                                         "div#st_form_tabs > ul > li"))
Пример #6
0
 def tabbutton_region(self):
     from pages.regions.tabbuttons import TabButtons
     return TabButtons(self.testsetup, locator_override=None)
Пример #7
0
 def tabbutton_region(self):
     '''Return the tab button region'''
     from pages.regions.tabbuttons import TabButtons
     return TabButtons(self.testsetup,
                       locator_override=self._tab_button_locator,
                       cls=ClassTabButtonItem)
Пример #8
0
 def tabbutton_region(self):
     '''Return the tab button region'''
     from pages.regions.tabbuttons import TabButtons
     return TabButtons(self.testsetup, self._tab_button_locator,
                       ProvisionTabButtonItem)