mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
TAS-1598, get call with user that is involved in task
This commit is contained in:
@@ -57,4 +57,17 @@ public class GetTaskItemsSanityTests extends RestWorkflowTest
|
||||
|
||||
tasksApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.TASKS }, executionType = ExecutionType.SANITY,
|
||||
description = "Verify that involved user in process gets task items")
|
||||
public void getTaskItemsByUserInvolvedInProcess() throws Exception
|
||||
{
|
||||
restClient.authenticateUser(assignee);
|
||||
document1 = dataContent.usingSite(siteModel).createContent(DocumentType.XML);
|
||||
taskItem = tasksApi.addTaskItem(taskModel, document1);
|
||||
tasksApi.getTaskItems(taskModel)
|
||||
.assertEntriesListIsNotEmpty()
|
||||
.assertEntriesListContains("id", taskItem.getId());
|
||||
tasksApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user