示例#1
0
def task_group_titles(workflow):
    """Returns task group titles of `workflow`."""
    selenium_utils.open_url(url.obj_tab_url(workflow, "Setup"))
    return [item.title() for item in tree_widget.TreeWidget().tree_items()]
示例#2
0
 def open_via_url(self, obj):
     """Opens the tab via URL."""
     selenium_utils.open_url(url.obj_tab_url(obj, self._url_fragment()))
     self.wait_to_be_init()
示例#3
0
 def open_via_url(self, obj):
   """Opens the tab via URL."""
   selenium_utils.open_url(url.obj_tab_url(obj, self._url_fragment()))
   self.wait_to_be_init()