diff --git a/e2e-test/java/org/alfresco/rest/workflow/processes/AddProcessItemCoreTests.java b/e2e-test/java/org/alfresco/rest/workflow/processes/AddProcessItemCoreTests.java index 2a78e2d40..26353e547 100644 --- a/e2e-test/java/org/alfresco/rest/workflow/processes/AddProcessItemCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/workflow/processes/AddProcessItemCoreTests.java @@ -113,7 +113,6 @@ public class AddProcessItemCoreTests extends RestTest @TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION, description = "Adding process item is falling in case of invalid process id is provided") @Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.CORE }) - @Bug(id="AUTOMATION", description="Please fix this issue. It seems it's failing with 400 or 404 error code on 5.2") public void failedAddingProcessItemIfInvalidProcessIdIsProvided() throws Exception { RestProcessModelsCollection processes = restClient.authenticateUser(adminUser).withParams("maxItems=1").withWorkflowAPI().getProcesses(); @@ -156,5 +155,4 @@ public class AddProcessItemCoreTests extends RestTest restClient.processModel(RestItemModel.class, request); restClient.assertStatusCodeIs(HttpStatus.BAD_REQUEST).assertLastError().containsSummary(String.format(RestErrorModel.REQUIRED_TO_ADD, "itemId")); } - } diff --git a/e2e-test/java/org/alfresco/rest/workflow/processes/GetProcessVariablesCoreTests.java b/e2e-test/java/org/alfresco/rest/workflow/processes/GetProcessVariablesCoreTests.java index e99fb2975..a17dcea20 100644 --- a/e2e-test/java/org/alfresco/rest/workflow/processes/GetProcessVariablesCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/workflow/processes/GetProcessVariablesCoreTests.java @@ -93,13 +93,12 @@ public class GetProcessVariablesCoreTests extends RestTest @TestRail(section = {TestGroup.REST_API, TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION, description = "Get process variables using empty process ID") @Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.CORE }) - @Bug(id="AUTOMATION", description="Please fix this automated test") public void getProcessVariablesUsingEmptyProcessId() throws JsonToModelConversionException, Exception { processModel = restClient.authenticateUser(userWhoStartsTask).withParams("maxItems=2").withWorkflowAPI().getProcesses().getOneRandomEntry().onModel(); - processModel.setId(" /"); + processModel.setId(""); variables = restClient.withWorkflowAPI().usingProcess(processModel).getProcessVariables(); - restClient.assertStatusCodeIs(HttpStatus.NOT_FOUND).assertLastError().containsSummary(String.format(RestErrorModel.ENTITY_NOT_FOUND, " ")); + restClient.assertStatusCodeIs(HttpStatus.NOT_FOUND).assertLastError().containsSummary(String.format(RestErrorModel.ENTITY_NOT_FOUND, "")); } @TestRail(section = {TestGroup.REST_API, TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION, @@ -117,5 +116,4 @@ public class GetProcessVariablesCoreTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.OK); variables.assertThat().entriesListIsNotEmpty(); } - -} \ No newline at end of file +}