mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
REPO-2755 / REPO-2251: uncommented bugs
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ public class GetPeoplePreferencesFullTests extends RestTest
|
||||
restPreferenceModelsCollection.assertThat().entriesListIsEmpty();
|
||||
}
|
||||
|
||||
// @Bug(id = "REPO-1911")
|
||||
@Bug(id = "REPO-1911")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.PREFERENCES, TestGroup.REGRESSION })
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE,TestGroup.PREFERENCES }, executionType = ExecutionType.REGRESSION, description = "Verify user cannot get preferences for empty user with Rest API and response is 400")
|
||||
public void userGetsItsPeoplePreferencesForEmptyPersonId() throws Exception
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@ public class DeleteDeploymentSanityTests extends RestTest
|
||||
adminUser = dataUser.getAdminUser();
|
||||
}
|
||||
|
||||
@Bug(id = "MNT-16996")
|
||||
@Bug(id = "REPO-1930")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.DEPLOYMENTS },
|
||||
executionType = ExecutionType.SANITY, description = "Verify admin user deletes a specific deployment using REST API and status code is successful (204)")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.DEPLOYMENTS, TestGroup.SANITY, TestGroup.WORKFLOW }, priority = 100)
|
||||
@@ -102,7 +102,7 @@ public class DeleteDeploymentSanityTests extends RestTest
|
||||
.stackTraceIs(RestErrorModel.STACKTRACE);
|
||||
}
|
||||
|
||||
// @Bug(id = "MNT-16996")
|
||||
@Bug(id = "REPO-1930")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.DEPLOYMENTS },
|
||||
executionType = ExecutionType.SANITY, description = "Verify admin user cannot delete an inexistent deployment using REST API and status code is successful (204)")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.DEPLOYMENTS, TestGroup.SANITY, TestGroup.WORKFLOW }, priority = 100)
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ public class GetProcessDefinitionImageCoreTests extends RestTest
|
||||
executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify network user is able to get a process definition image using REST API and status code is OK (200)")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESS_DEFINITION, TestGroup.REGRESSION, TestGroup.NETWORKS})
|
||||
// @Bug(id = "MNT-17243")
|
||||
@Bug(id = "MNT-17243")
|
||||
public void networkUserGetProcessDefinitionImage() throws Exception
|
||||
{
|
||||
adminTenantUser = UserModel.getAdminTenantUser();
|
||||
|
||||
+2
-2
@@ -43,7 +43,7 @@ public class GetProcessDefinitionStartFormModelCoreTests extends RestTest
|
||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
|
||||
// @Bug(id = "ALF-20187")
|
||||
@Bug(id = "ALF-20187")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESS_DEFINITION },
|
||||
executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify if get request returns status code 404 when invalid processDefinitionId is used")
|
||||
@@ -62,7 +62,7 @@ public class GetProcessDefinitionStartFormModelCoreTests extends RestTest
|
||||
.stackTraceIs(RestErrorModel.STACKTRACE);
|
||||
}
|
||||
|
||||
// @Bug(id = "ALF-20187")
|
||||
@Bug(id = "ALF-20187")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESS_DEFINITION },
|
||||
executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify if get request returns status code 404 when empty processDefinitionId is used")
|
||||
|
||||
@@ -65,7 +65,7 @@ public class AddProcessCoreTests extends RestTest
|
||||
.assertLastError().containsSummary(String.format(RestErrorModel.NO_CONTENT, "No content to map to Object due to end of input"));
|
||||
}
|
||||
|
||||
// @Bug(id = "ACE-5671")
|
||||
@Bug(id = "REPO-1936")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW,TestGroup.PROCESSES },
|
||||
executionType = ExecutionType.REGRESSION, description = "Verify start new process with invalid request body using REST API returns status code is Bad Request (400)")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION })
|
||||
|
||||
@@ -47,7 +47,7 @@ public class GetProcessCoreTests extends RestTest
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW,TestGroup.PROCESSES}, executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify that tenant user cannot get process from another network")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION, TestGroup.NETWORKS })
|
||||
// @Bug(id = "MNT-17238")
|
||||
@Bug(id = "REPO-2092")
|
||||
public void tenantUserCannotGetProcessFromAnotherNetwork() throws Exception
|
||||
{
|
||||
UserModel adminTenantUser1 = UserModel.getAdminTenantUser();
|
||||
@@ -87,8 +87,8 @@ public class GetProcessCoreTests extends RestTest
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW,TestGroup.PROCESSES}, executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify that non network user cannot get process from a network")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION, TestGroup.NETWORKS })
|
||||
// @Bug(id = "MNT-17238")
|
||||
public void nonNetworkUserCannotAccessNetworkprocess() throws Exception
|
||||
@Bug(id = "REPO-2092")
|
||||
public void nonNetworkUserCannotAccessNetworkProcess() throws Exception
|
||||
{
|
||||
UserModel adminTenantUser1 = UserModel.getAdminTenantUser();
|
||||
restClient.authenticateUser(adminUser).usingTenant().createTenant(adminTenantUser1);
|
||||
@@ -101,5 +101,4 @@ public class GetProcessCoreTests extends RestTest
|
||||
.assertLastError().containsErrorKey(RestErrorModel.API_DEFAULT_ERRORKEY)
|
||||
.containsSummary(RestErrorModel.AUTHENTICATION_FAILED);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -133,7 +133,7 @@ public class GetProcessesFullTests extends RestTest
|
||||
.and().entriesListContains("id", task1.getProcessId());
|
||||
}
|
||||
|
||||
// @Bug(id = "REPO-1958")
|
||||
@Bug(id = "REPO-1958")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW,TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify user cannot get processes when using an invalid orderBy parameter")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION })
|
||||
|
||||
+1
-1
@@ -131,7 +131,7 @@ public class AddProcessItemSanityTests extends RestTest
|
||||
restClient.assertStatusCodeIs(HttpStatus.BAD_REQUEST);
|
||||
}
|
||||
|
||||
// @Bug(id= "MNT-16966")
|
||||
@Bug(id= "REPO-1927")
|
||||
@TestRail(section = {TestGroup.REST_API,TestGroup.WORKFLOW, TestGroup.PROCESSES }, executionType = ExecutionType.SANITY,
|
||||
description = "Add process item that already exists")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.SANITY})
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ public class GetProcessItemsFullTests extends RestTest
|
||||
items.assertThat().entriesListIsEmpty();
|
||||
}
|
||||
|
||||
// @Bug(id = "MNT-17438")
|
||||
@Bug(id = "REPO-1989")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Get process items for process with valid skipCount parameter")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION})
|
||||
|
||||
+2
-1
@@ -11,6 +11,7 @@ import org.alfresco.utility.model.FileModel;
|
||||
import org.alfresco.utility.model.SiteModel;
|
||||
import org.alfresco.utility.model.TestGroup;
|
||||
import org.alfresco.utility.model.UserModel;
|
||||
import org.alfresco.utility.report.Bug;
|
||||
import org.alfresco.utility.testrail.ExecutionType;
|
||||
import org.alfresco.utility.testrail.annotation.TestRail;
|
||||
import org.springframework.http.HttpMethod;
|
||||
@@ -86,7 +87,7 @@ public class AddProcessVariableCoreTests extends RestTest
|
||||
.stackTraceIs(RestErrorModel.STACKTRACE);
|
||||
}
|
||||
|
||||
// @Bug(id = "REPO-1938")
|
||||
@Bug(id = "REPO-1938")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Adding process variable is falling in case invalid type prefix is provided")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION })
|
||||
|
||||
+1
-1
@@ -250,7 +250,7 @@ public class AddProcessVariablesFullTests extends RestTest
|
||||
.assertThat().entriesListContains("value", variableModel.getValue());
|
||||
}
|
||||
|
||||
// @Bug(id="REPO-1987")
|
||||
@Bug(id="REPO-1987")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Adding process variables is falling in case invalid name is provided: symbols")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION })
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ public class GetProcessVariablesFullTests extends RestTest
|
||||
.assertThat().field("value").is(CMISUtil.Priority.Normal.getLevel());
|
||||
}
|
||||
|
||||
// @Bug(id = "MNT-17438")
|
||||
@Bug(id = "MNT-17438")
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW,TestGroup.PROCESSES }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify get all process variables with valid skip count parameter applied.")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.PROCESSES, TestGroup.REGRESSION })
|
||||
|
||||
Reference in New Issue
Block a user