def test_map_obj_to_cycle_task(self, activated_workflow, app_control, selenium): """Test mapping of obj to a cycle task.""" cycle_task = cycle_entity_population.create_workflow_cycle( activated_workflow).cycle_task_groups[0].cycle_tasks[0] workflow_ui_facade.map_obj_to_cycle_task(obj=app_control, cycle_task=cycle_task) selenium.refresh() # reload page to check mapping is saved objs = workflow_ui_facade.get_objs_mapped_to_cycle_task(cycle_task) test_utils.list_obj_assert(objs, [app_control])
def test_map_obj_to_cycle_task( self, activated_workflow, app_control, selenium ): """Test mapping of obj to a cycle task.""" cycle_task = cycle_entity_population.create_workflow_cycle( activated_workflow).cycle_task_groups[0].cycle_tasks[0] workflow_ui_facade.map_obj_to_cycle_task( obj=app_control, cycle_task=cycle_task) selenium.refresh() # reload page to check mapping is saved objs = workflow_ui_facade.get_objs_mapped_to_cycle_task(cycle_task) test_utils.list_obj_assert(objs, [app_control])