def test_add_cycle_task_assignee(self, some_creator, login_as_creator_or_reader, activated_workflow, selenium): """Test adding a cycle task assignee.""" cycle_task = cycle_entity_population.create_workflow_cycle( activated_workflow).cycle_task_groups[0].cycle_tasks[0] workflow_ui_facade.add_assignee_to_cycle_task(assignee=some_creator, cycle_task=cycle_task) selenium.refresh() # reload page to check change is saved actual_cycle_task = workflow_ui_facade.get_cycle_task(cycle_task) test_utils.obj_assert(actual_cycle_task, cycle_task)
def test_add_cycle_task_assignee( self, some_creator, login_as_creator_or_reader, activated_workflow, selenium ): """Test adding a cycle task assignee.""" cycle_task = cycle_entity_population.create_workflow_cycle( activated_workflow).cycle_task_groups[0].cycle_tasks[0] workflow_ui_facade.add_assignee_to_cycle_task( assignee=some_creator, cycle_task=cycle_task) selenium.refresh() # reload page to check change is saved actual_cycle_task = workflow_ui_facade.get_cycle_task(cycle_task) test_utils.obj_assert(actual_cycle_task, cycle_task)