TAS-1587 - get a specific process by admin

This commit is contained in:
cagache
2016-10-20 10:17:27 +03:00
parent b645d99e51
commit 08a880df63
@@ -56,4 +56,13 @@ public class GetProcessSanityTests extends RestWorkflowTest
processesApi.getProcess(addedProcess);
processesApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
}
@TestRail(section = { TestGroup.REST_API,
TestGroup.PROCESSES }, executionType = ExecutionType.SANITY, description = "Verify admin is able to get any process using REST API and status code is OK (200)")
public void getProcessByAdmin() throws Exception
{
restClient.authenticateUser(dataUser.getAdminUser());
processesApi.getProcess(addedProcess);
processesApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
}
}