TAS-1604 - get task form models by an involved user

This commit is contained in:
cagache
2016-10-20 15:48:36 +03:00
parent aec5734f04
commit b347a85ab0
@@ -44,4 +44,12 @@ public class GetTaskFormModelSanityTests extends RestWorkflowTest
tasksApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
}
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.TASKS },
executionType = ExecutionType.SANITY, description = "Verify user involved in task gets all the task form models with Rest API and response is successful (200)")
public void involvedUserGetsTaskFormModels() throws Exception
{
restClient.authenticateUser(userModel);
tasksApi.getTaskFormModel(taskModel).assertEntriesListIsNotEmpty();
tasksApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
}
}