mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
TAS-1604 - get task form models by an involved user
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user