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])
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])
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])