예제 #1
0
 def test_add_obj_to_task_group(self, app_workflow, app_task_group,
                                app_control, selenium):
     """Test mapping of object to a task group."""
     workflow_ui_facade.add_obj_to_task_group(obj=app_control,
                                              task_group=app_task_group)
     selenium.refresh()  # reload page to check mapping is saved
     objs = workflow_ui_facade.get_objs_added_to_task_group(app_task_group)
     test_utils.list_obj_assert(objs, [app_control])
예제 #2
0
 def test_add_obj_to_task_group(self, app_workflow, app_task_group,
                                app_control, selenium):
     """Test mapping of object to a task group."""
     workflow_ui_facade.add_obj_to_task_group(obj=app_control,
                                              task_group=app_task_group)
     # open another page to check mapping is saved
     selenium_utils.open_url(url.Urls().dashboard)
     objs = workflow_ui_facade.get_objs_added_to_task_group(app_task_group)
     test_utils.list_obj_assert(objs, [app_control])
예제 #3
0
 def test_add_obj_to_task_group(
     self, app_workflow, app_task_group, app_control, selenium
 ):
   """Test mapping of object to a task group."""
   workflow_ui_facade.add_obj_to_task_group(
       obj=app_control, task_group=app_task_group)
   # open another page to check mapping is saved
   selenium_utils.open_url(url.Urls().dashboard)
   objs = workflow_ui_facade.get_objs_added_to_task_group(app_task_group)
   test_utils.list_obj_assert(objs, [app_control])