From 9ec4fcc3b3812231fd06d974ee7e2ccf5fc84445 Mon Sep 17 00:00:00 2001 From: Cristina Axinte Date: Wed, 18 Jan 2017 12:21:23 +0200 Subject: [PATCH] updated: remove sanity, core, full groups from @TestRail --- .../rest/comments/AddCommentsCoreTests.java | 12 ++++----- .../rest/comments/AddCommentsFullTests.java | 12 ++++----- .../rest/comments/GetCommentsCoreTests.java | 14 +++++----- .../rest/comments/GetCommentsFullTests.java | 20 +++++++------- .../rest/comments/UpdateCommentCoreTests.java | 14 ++++------ .../rest/comments/UpdateCommentFullTests.java | 26 +++++++++---------- .../comments/UpdateCommentSanityTests.java | 22 ++++++---------- .../people/DeleteFavoriteSiteFullTests.java | 8 +++--- .../rest/sites/GetSiteContainerCoreTests.java | 10 +++---- .../sites/GetSiteContainersCoreTests.java | 24 ++++++++--------- .../alfresco/rest/sites/GetSiteCoreTests.java | 12 ++++----- .../rest/sites/GetSiteMembersCoreTests.java | 16 ++++++------ .../rest/sites/GetSitesCoreTests.java | 12 ++++----- .../rest/sites/UpdateSiteMemberCoreTests.java | 24 ++++++++--------- 14 files changed, 108 insertions(+), 118 deletions(-) diff --git a/e2e-test/java/org/alfresco/rest/comments/AddCommentsCoreTests.java b/e2e-test/java/org/alfresco/rest/comments/AddCommentsCoreTests.java index e4da2c957..2cdcd2cf3 100644 --- a/e2e-test/java/org/alfresco/rest/comments/AddCommentsCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/AddCommentsCoreTests.java @@ -44,7 +44,7 @@ public class AddCommentsCoreTests extends RestTest usersWithRoles = dataUser.addUsersWithRolesToSite(siteModel, UserRole.SiteManager, UserRole.SiteCollaborator, UserRole.SiteConsumer, UserRole.SiteContributor); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can't add comments to a node with ID that does not exist and status code is 404") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void userCanNotAddCommentsOnNonexistentFile() throws Exception @@ -57,7 +57,7 @@ public class AddCommentsCoreTests extends RestTest .assertLastError().containsSummary(String.format(RestErrorModel.ENTITY_NOT_FOUND, nonexistentFile.getNodeRef())); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can't add comments to a node that exists but is not a document or a folder and status code is 405") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) @Bug(id = "MNT-16904") @@ -73,7 +73,7 @@ public class AddCommentsCoreTests extends RestTest .assertLastError().containsSummary(RestErrorModel.UNABLE_TO_LOCATE); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can add comments with the same content as one existing comment") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void userCanAddCommentWithTheSameContentAsExistingOne() throws Exception @@ -97,7 +97,7 @@ public class AddCommentsCoreTests extends RestTest commentsList.get(1).onModel().assertThat().field("content").is(sameComment); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can not add comments to a not joined private site. Status code returned is 403") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void userCanNotAddCommentsToANotJoinedPrivateSite() throws Exception @@ -110,7 +110,7 @@ public class AddCommentsCoreTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.FORBIDDEN).assertLastError().containsSummary(RestErrorModel.PERMISSION_WAS_DENIED); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify add comments from node with invalid network id returns status code 401") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void addCommentsWithInvalidNetworkId() throws Exception @@ -122,7 +122,7 @@ public class AddCommentsCoreTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.UNAUTHORIZED).assertLastError().containsSummary(RestErrorModel.AUTHENTICATION_FAILED); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify add comments from node with empty network id returns status code 401") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void addCommentsWithEmptyNetworkId() throws Exception diff --git a/e2e-test/java/org/alfresco/rest/comments/AddCommentsFullTests.java b/e2e-test/java/org/alfresco/rest/comments/AddCommentsFullTests.java index 87eaff002..58cd1f92a 100644 --- a/e2e-test/java/org/alfresco/rest/comments/AddCommentsFullTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/AddCommentsFullTests.java @@ -43,7 +43,7 @@ public class AddCommentsFullTests extends RestTest usersWithRoles = dataUser.addUsersWithRolesToSite(siteModel, UserRole.SiteManager, UserRole.SiteCollaborator, UserRole.SiteConsumer, UserRole.SiteContributor); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Using Manager user verify that you can provide a large string for one comment") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addLongCommentsWithManagerAndCheckThatCommentIsReturned() throws Exception @@ -64,7 +64,7 @@ public class AddCommentsFullTests extends RestTest comments.assertThat().paginationField("count").is("2"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Using Manager user verify that you can provide a short string for one comment") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addShortCommentsWithManagerAndCheckThatCommentIsReturned() throws Exception @@ -85,7 +85,7 @@ public class AddCommentsFullTests extends RestTest comments.assertThat().paginationField("count").is("2"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Using Collaborator user verify that you can provide a string with special characters for one comment") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addCommentsWithSpecialCharsWithCollaboratorCheckCommentIsReturned() throws Exception @@ -106,7 +106,7 @@ public class AddCommentsFullTests extends RestTest comments.assertThat().paginationField("count").is("2"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Using Manager user verify that you can not provide an empty string for one comment") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addEmptyStringCommentsWithManagerCheckCommentIsReturned() throws Exception @@ -120,7 +120,7 @@ public class AddCommentsFullTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.BAD_REQUEST).assertLastError().containsSummary(RestErrorModel.NON_NULL_COMMENT); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Using Collaborator user verify that you can provide several comments in one request") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addSeveralCommentsWithCollaboratorCheckCommentsAreReturned() throws Exception @@ -141,7 +141,7 @@ public class AddCommentsFullTests extends RestTest comments.assertThat().paginationField("count").is("5"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Provide invalid request body parameter and check default error model schema") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void invalidRequestBodyParameterCheckErrorModelSchema() throws Exception diff --git a/e2e-test/java/org/alfresco/rest/comments/GetCommentsCoreTests.java b/e2e-test/java/org/alfresco/rest/comments/GetCommentsCoreTests.java index c018b1f87..0836c3045 100644 --- a/e2e-test/java/org/alfresco/rest/comments/GetCommentsCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/GetCommentsCoreTests.java @@ -42,7 +42,7 @@ public class GetCommentsCoreTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.CREATED); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify invalid request returns status code 400 for invalid maxItems or skipCount") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void checkStatusCodeForInvalidMaxItems() throws Exception @@ -53,7 +53,7 @@ public class GetCommentsCoreTests extends RestTest .assertLastError().containsSummary("Only positive values supported for maxItems"); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can't get comments for node with ID that does not exist and status code is 404") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void userCanNotGetCommentsOnNonexistentFile() throws Exception @@ -66,7 +66,7 @@ public class GetCommentsCoreTests extends RestTest .assertLastError().containsSummary(String.format(RestErrorModel.ENTITY_NOT_FOUND, nonexistentFile.getNodeRef())); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can't get comments for node that exists but is not a document or a folder and status code is 400") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) @Bug(id = "MNT-16904") @@ -81,7 +81,7 @@ public class GetCommentsCoreTests extends RestTest .assertLastError().containsSummary(RestErrorModel.UNABLE_TO_LOCATE); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify request returns status 403 if the user does not have permission read comments on the node") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void uninvitedUserCanNotGetCommentsFromPrivateSite() throws Exception @@ -92,7 +92,7 @@ public class GetCommentsCoreTests extends RestTest .assertLastError().containsSummary(RestErrorModel.PERMISSION_WAS_DENIED); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify user gets comments without the first 2 and status code is 200") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void skipFirst2Comments() throws Exception @@ -106,7 +106,7 @@ public class GetCommentsCoreTests extends RestTest comments.assertThat().paginationField("totalItems").is("3"); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify get comments from node with invalid network id returns status code 401") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void getCommentsWithInvalidNetwork() throws Exception @@ -116,7 +116,7 @@ public class GetCommentsCoreTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.UNAUTHORIZED).assertLastError().containsSummary(RestErrorModel.AUTHENTICATION_FAILED); } - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify get comments from node with empty network id returns status code 401") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void getCommentsWithEmptyNetwork() throws Exception diff --git a/e2e-test/java/org/alfresco/rest/comments/GetCommentsFullTests.java b/e2e-test/java/org/alfresco/rest/comments/GetCommentsFullTests.java index b736d551f..b7021f602 100644 --- a/e2e-test/java/org/alfresco/rest/comments/GetCommentsFullTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/GetCommentsFullTests.java @@ -43,7 +43,7 @@ public class GetCommentsFullTests extends RestTest file = dataContent.usingSite(siteModel).usingUser(adminUserModel).createContent(DocumentType.TEXT_PLAIN); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify that if manager adds one comment, it will be returned in getComments response") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addCommentWithManagerAndCheckThatCommentIsReturned() throws Exception @@ -58,7 +58,7 @@ public class GetCommentsFullTests extends RestTest .assertThat().field("count").is("1"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify that if collaborator adds one comment, it will be returned in getComments response") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addCommentWithCollaboratorAndCheckThatCommentIsReturned() throws Exception @@ -74,7 +74,7 @@ public class GetCommentsFullTests extends RestTest .assertThat().field("count").is("1"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify that if contributor adds one comment, it will be returned in getComments response") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) @Bug(id = "ACE-4614") @@ -91,7 +91,7 @@ public class GetCommentsFullTests extends RestTest .assertThat().field("count").is("1"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify that consumer cannot add a comment and no comments will be returned in getComments response") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addCommentWithConsumerAndCheckThatCommentIsNotReturned() throws Exception @@ -106,7 +106,7 @@ public class GetCommentsFullTests extends RestTest comments.assertThat().paginationField("count").is("0"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Add one comment with Manager and check that returned person is the right one") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addCommentWithManagerCheckReturnedPersonIsTheRightOne() throws Exception @@ -120,7 +120,7 @@ public class GetCommentsFullTests extends RestTest .assertThat().field("lastName").is("LN-" + user1.getUsername()); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Add one comment with Collaborator and check that returned company details are correct") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addCommentWithCollaboratorCheckReturnedCompanyDetails() throws Exception @@ -140,7 +140,7 @@ public class GetCommentsFullTests extends RestTest .assertThat().field("email").isNull(); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Add 2 comments with Manager and Collaborator users and verify valid request using skipCount. Check that param is applied") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addTwoCommentsWithManagerCollaboratorVerifySkipCountParamIsApplied() throws Exception @@ -157,7 +157,7 @@ public class GetCommentsFullTests extends RestTest comments.assertThat().paginationField("totalItems").is("2"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Add 2 comments with Admin and Collaborator users and verify valid request using maxItems. Check that param is applied") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addTwoCommentsWithAdminCollaboratorVerifyMaxItemsParamIsApplied() throws Exception @@ -173,7 +173,7 @@ public class GetCommentsFullTests extends RestTest comments.assertThat().paginationField("totalItems").is("2"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Add 2 comments with Manager and Admin users and verify valid request using properties. Check that param is applied") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addTwoCommentsWithAdminManagerVerifyPropertiesParamIsApplied() throws Exception @@ -196,7 +196,7 @@ public class GetCommentsFullTests extends RestTest .assertThat().field("id").is("admin"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Check default error model schema") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void addTwoCommentsWithManagerCheckDefaultErrorModelSchema() throws Exception diff --git a/e2e-test/java/org/alfresco/rest/comments/UpdateCommentCoreTests.java b/e2e-test/java/org/alfresco/rest/comments/UpdateCommentCoreTests.java index 1625945e8..b84e77039 100644 --- a/e2e-test/java/org/alfresco/rest/comments/UpdateCommentCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/UpdateCommentCoreTests.java @@ -41,7 +41,7 @@ public class UpdateCommentCoreTests extends RestTest usersWithRoles = dataUser.addUsersWithRolesToSite(siteModel,UserRole.SiteManager, UserRole.SiteCollaborator); } - @TestRail(section = { TestGroup.REST_API, TestGroup.SANITY }, executionType = ExecutionType.REGRESSION, description = "Verify can not update comment if NodeId is neither document or folder and returns status code 405") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify can not update comment if NodeId is neither document or folder and returns status code 405") @Bug(id="MNT-16904") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void canNotUpdateCommentIfNodeIdIsNeitherDocumentOrFolder() throws JsonToModelConversionException, Exception @@ -60,8 +60,7 @@ public class UpdateCommentCoreTests extends RestTest .assertLastError().containsSummary("node ref that does not exist was not found"); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify Admin user is not able to update with empty comment body and status code is 400") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify Admin user is not able to update with empty comment body and status code is 400") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void adminIsNotAbleToUpdateWithEmptyCommentBody() throws JsonToModelConversionException, Exception { @@ -72,8 +71,7 @@ public class UpdateCommentCoreTests extends RestTest .assertLastError().containsSummary("An invalid argument was received"); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify updated comment by Manager is listed when calling getComments and status code is 200") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify updated comment by Manager is listed when calling getComments and status code is 200") // @Bug(id="REPO-1011") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void updatedCommentByManagerIsListed() throws JsonToModelConversionException, Exception @@ -87,8 +85,7 @@ public class UpdateCommentCoreTests extends RestTest comments.assertThat().entriesListContains("content", "This is the updated comment with Manager user"); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify Collaborator user can not update comments of another user and status code is 200") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify Collaborator user can not update comments of another user and status code is 200") // @Bug(id="MNT-2502",description="seems it's one old issue: also logged as MNT-2502, MNT-2346") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void collaboratorIsNotAbleToUpdateCommentOfAnotherUser() throws JsonToModelConversionException, Exception @@ -100,8 +97,7 @@ public class UpdateCommentCoreTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.FORBIDDEN).assertLastError().containsSummary(RestErrorModel.PERMISSION_WAS_DENIED); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify entry content in response") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Verify entry content in response") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.CORE }) public void checkEntryContentInResponse() throws JsonToModelConversionException, Exception { diff --git a/e2e-test/java/org/alfresco/rest/comments/UpdateCommentFullTests.java b/e2e-test/java/org/alfresco/rest/comments/UpdateCommentFullTests.java index f15aba274..f96cf475a 100644 --- a/e2e-test/java/org/alfresco/rest/comments/UpdateCommentFullTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/UpdateCommentFullTests.java @@ -42,7 +42,7 @@ public class UpdateCommentFullTests extends RestTest UserRole.SiteConsumer, UserRole.SiteContributor); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify Manager user can update a comment with a large string") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void managerIsAbleToUpdateACommentWithALargeString() throws JsonToModelConversionException, Exception @@ -60,7 +60,7 @@ public class UpdateCommentFullTests extends RestTest returnedCommentModel.assertThat().field("content").is(longString); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify Manager user can update a comment with a short string") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void managerIsAbleToUpdateACommentWithAShortString() throws JsonToModelConversionException, Exception @@ -78,7 +78,7 @@ public class UpdateCommentFullTests extends RestTest returnedCommentModel.assertThat().field("content").is(shortString); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify Collaborator user can update a comment with special characters") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void collaboratorIsAbleToUpdateACommentThatContainsSpecialChars() throws JsonToModelConversionException, Exception @@ -96,7 +96,7 @@ public class UpdateCommentFullTests extends RestTest returnedCommentModel.assertThat().field("content").is(specialChars); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Check that you cannot update comment with Consumer then call getComments and check new comment is not listed") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void cannotUpdateCommentWithConsumerCallGetComments() throws JsonToModelConversionException, Exception @@ -117,7 +117,7 @@ public class UpdateCommentFullTests extends RestTest .and().paginationField("totalItems").is("1"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Update comment with Contributor then call getComments and check new comment is listed") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) @Bug(id = "ACE-4614") @@ -139,7 +139,7 @@ public class UpdateCommentFullTests extends RestTest .and().paginationField("totalItems").is("1"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Update comment with Collaborator then call getComments and check new comment is listed") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void updateCommentWithCollaboratorCallGetComments() throws JsonToModelConversionException, Exception @@ -160,7 +160,7 @@ public class UpdateCommentFullTests extends RestTest .and().paginationField("totalItems").is("1"); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Update comment with Manager then check modified by information in response") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void updateCommentWithManagerCheckModifiedBy() throws JsonToModelConversionException, Exception @@ -178,7 +178,7 @@ public class UpdateCommentFullTests extends RestTest .and().field("content").is(updatedComment); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Delete comment with Admin then try to update it") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void deleteCommentThenTryToUpdateIt() throws JsonToModelConversionException, Exception @@ -196,7 +196,7 @@ public class UpdateCommentFullTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.NOT_FOUND); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify Manager user can update a comment with multi byte content") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void managerIsAbleToUpdateACommentWithMultiByteContent() throws JsonToModelConversionException, Exception @@ -214,7 +214,7 @@ public class UpdateCommentFullTests extends RestTest returnedCommentModel.assertThat().field("content").is(multiByte); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify Admin user can update a comment with properties parameter") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void adminIsAbleToUpdateACommentWithPropertiesParameter() throws JsonToModelConversionException, Exception @@ -234,7 +234,7 @@ public class UpdateCommentFullTests extends RestTest .assertThat().fieldsCount().is(4); } - @TestRail(section = { TestGroup.REST_API, TestGroup.FULL }, executionType = ExecutionType.REGRESSION, + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.REGRESSION, description = "Update comment with invalid node") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void updateCommentUsingInvalidNodeId() throws JsonToModelConversionException, Exception @@ -250,7 +250,7 @@ public class UpdateCommentFullTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.NOT_FOUND).assertLastError().containsSummary(String.format(RestErrorModel.ENTITY_NOT_FOUND, file.getNodeRef())); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify update comment from node with invalid network id returns status code 401") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void updateCommentWithInvalidNetworkId() throws Exception @@ -263,7 +263,7 @@ public class UpdateCommentFullTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.UNAUTHORIZED).assertLastError().containsSummary(RestErrorModel.AUTHENTICATION_FAILED); } - @TestRail(section={TestGroup.REST_API, TestGroup.FULL, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.REGRESSION, description= "Verify User can not update comment to a not joined private site. Status code returned is 403") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.FULL }) public void userCanNotUpdateCommentToANotJoinedPrivateSiteDefaultErrorModelSchema() throws Exception diff --git a/e2e-test/java/org/alfresco/rest/comments/UpdateCommentSanityTests.java b/e2e-test/java/org/alfresco/rest/comments/UpdateCommentSanityTests.java index 87756ff4e..b77a895da 100644 --- a/e2e-test/java/org/alfresco/rest/comments/UpdateCommentSanityTests.java +++ b/e2e-test/java/org/alfresco/rest/comments/UpdateCommentSanityTests.java @@ -38,8 +38,7 @@ public class UpdateCommentSanityTests extends RestTest usersWithRoles = dataUser.addUsersWithRolesToSite(siteModel,UserRole.SiteManager, UserRole.SiteCollaborator, UserRole.SiteConsumer, UserRole.SiteContributor); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Admin user updates comments and status code is 200") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Admin user updates comments and status code is 200") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void adminIsAbleToUpdateHisComment() throws JsonToModelConversionException, Exception { @@ -52,8 +51,7 @@ public class UpdateCommentSanityTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.OK); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Manager user updates comments created by admin user and status code is 200") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Manager user updates comments created by admin user and status code is 200") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void managerIsAbleToUpdateHisComment() throws JsonToModelConversionException, Exception { @@ -66,8 +64,7 @@ public class UpdateCommentSanityTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.OK); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Contributor user can update his own comment and status code is 200") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Contributor user can update his own comment and status code is 200") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void contributorIsAbleToUpdateHisComment() throws JsonToModelConversionException, Exception { @@ -78,8 +75,7 @@ public class UpdateCommentSanityTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.OK); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Consumer user can not update comments created by admin user and status code is 403") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Consumer user can not update comments created by admin user and status code is 403") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void consumerIsNotAbleToUpdateComment() throws JsonToModelConversionException, Exception { @@ -91,8 +87,7 @@ public class UpdateCommentSanityTests extends RestTest .assertLastError().containsSummary(RestErrorModel.PERMISSION_WAS_DENIED); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Collaborator user can update his own comment and status code is 200") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify Collaborator user can update his own comment and status code is 200") // @Bug(id="REPO-1011") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void collaboratorIsAbleToUpdateHisComment() throws JsonToModelConversionException, Exception @@ -103,8 +98,7 @@ public class UpdateCommentSanityTests extends RestTest restClient.assertStatusCodeIs(HttpStatus.OK); } - @TestRail(section = { TestGroup.REST_API, - TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify unauthenticated user gets status code 401 on update comment call") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify unauthenticated user gets status code 401 on update comment call") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) @Bug(id="MNT-16904") public void unauthenticatedUserIsNotAbleToUpdateComment() throws JsonToModelConversionException, Exception @@ -118,7 +112,7 @@ public class UpdateCommentSanityTests extends RestTest .containsSummary(RestErrorModel.AUTHENTICATION_FAILED); } - @TestRail(section = { TestGroup.REST_API, TestGroup.SANITY }, executionType = ExecutionType.SANITY, description = "Verify update comment with inexistent nodeId returns status code 404") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify update comment with inexistent nodeId returns status code 404") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void canNotUpdateCommentIfNodeIdIsNotSet() throws JsonToModelConversionException, Exception { @@ -132,7 +126,7 @@ public class UpdateCommentSanityTests extends RestTest .assertLastError().containsSummary("node ref that does not exist was not found"); } - @TestRail(section = { TestGroup.REST_API, TestGroup.SANITY }, executionType = ExecutionType.SANITY, description = "Verify if commentId is not set the status code is 404") + @TestRail(section = { TestGroup.REST_API, TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify if commentId is not set the status code is 404") @Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY }) public void canNotUpdateCommentIfCommentIdIsNotSet() throws JsonToModelConversionException, Exception { diff --git a/e2e-test/java/org/alfresco/rest/people/DeleteFavoriteSiteFullTests.java b/e2e-test/java/org/alfresco/rest/people/DeleteFavoriteSiteFullTests.java index 16d74659b..0f234b70f 100644 --- a/e2e-test/java/org/alfresco/rest/people/DeleteFavoriteSiteFullTests.java +++ b/e2e-test/java/org/alfresco/rest/people/DeleteFavoriteSiteFullTests.java @@ -36,7 +36,7 @@ public class DeleteFavoriteSiteFullTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }) - @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }, executionType = ExecutionType.REGRESSION, + @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.REGRESSION, description = "User is not able to remove a favorite site of admin user") public void userIsNotAbleToDeleteFavoritesOfAdmin() throws Exception { @@ -52,7 +52,7 @@ public class DeleteFavoriteSiteFullTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }) - @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }, executionType = ExecutionType.REGRESSION, + @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.REGRESSION, description = "Users removed twice from favorites same site.") public void managerUserRemovesDeletedFavoriteSite() throws Exception { @@ -67,7 +67,7 @@ public class DeleteFavoriteSiteFullTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }) - @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }, executionType = ExecutionType.REGRESSION, + @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.REGRESSION, description = "Users removes from favorite a site that is already deleted.") public void consumerUserRemovesDeletedFavoriteSite() throws Exception { @@ -86,7 +86,7 @@ public class DeleteFavoriteSiteFullTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }) - @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.FULL }, executionType = ExecutionType.REGRESSION, + @TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.REGRESSION, description = "Delete favorite site that is NOT favorite.") public void adminUserRemovesDeletedFavoriteSiteThatIsNotFavorite() throws Exception { diff --git a/e2e-test/java/org/alfresco/rest/sites/GetSiteContainerCoreTests.java b/e2e-test/java/org/alfresco/rest/sites/GetSiteContainerCoreTests.java index aa1ff1dd2..0dab7cf58 100644 --- a/e2e-test/java/org/alfresco/rest/sites/GetSiteContainerCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/sites/GetSiteContainerCoreTests.java @@ -37,7 +37,7 @@ public class GetSiteContainerCoreTests extends RestTest{ } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get container request returns status code 400 when site doesn't exist") public void getContainerWithNonExistentSite() throws Exception { @@ -48,7 +48,7 @@ public class GetSiteContainerCoreTests extends RestTest{ } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get container request returns status code 400 when container item doesn't exist") public void getContainerWithNonExistentItem() throws Exception { @@ -59,7 +59,7 @@ public class GetSiteContainerCoreTests extends RestTest{ } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get container request returns status 200 for public site") public void getContainerForPublicSite() throws Exception { @@ -75,7 +75,7 @@ public class GetSiteContainerCoreTests extends RestTest{ } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get container request returns status 200 for private site") public void getContainerForPrivateSite() throws Exception { @@ -90,7 +90,7 @@ public class GetSiteContainerCoreTests extends RestTest{ } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get container request returns status 200 for moderated site") public void getContainerForModeratedSite() throws Exception { diff --git a/e2e-test/java/org/alfresco/rest/sites/GetSiteContainersCoreTests.java b/e2e-test/java/org/alfresco/rest/sites/GetSiteContainersCoreTests.java index 298b37c78..70aefbb9b 100644 --- a/e2e-test/java/org/alfresco/rest/sites/GetSiteContainersCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/sites/GetSiteContainersCoreTests.java @@ -50,7 +50,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site container request returns status code 200 with valid maxItems parameter") public void getContainersWithValidMaxItems() throws Exception { @@ -75,7 +75,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site container request returns status code 400 when invalid maxItems parameter is used") public void getContainersWithMaxItemsZero () throws Exception { @@ -87,7 +87,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site container request returns status code 400 when invalid maxItems parameter is used") public void getContainersWithMaxItemsCharacter () throws Exception { @@ -99,7 +99,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site container request returns status code 200 when maxItems parameter starts with multiple zero") public void getContainersWithMaxItemsMultipleZero () throws Exception { @@ -111,7 +111,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site containers request returns status code 200 when valid skipCount parameter is used") public void getSiteContainersWithValidSkipCount() throws Exception { @@ -137,7 +137,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site containers request returns status code 400 when invalid skipCount parameter is used") public void getSiteContainersWithSkipCountCharacter() throws Exception { @@ -148,7 +148,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site containers request returns status code 200 when skipCount parameter starts with multiple zero") public void getSiteContainersWithSkipCountMultipleZero() throws Exception { @@ -159,7 +159,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get site containers request returns status code 400 when site doesn't exist") public void getSiteContainersWithNonExistentSite() throws Exception { @@ -170,7 +170,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site containers request returns status 200 for private site") public void getSiteContainersForPrivateSite() throws Exception { @@ -181,7 +181,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site containers request returns status 200 for moderated site") public void getSiteContainersForModeratedSite() throws Exception { @@ -192,7 +192,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site containers request returns status 200 for several containers") public void getSiteContainersForSeveralItems() throws Exception { @@ -206,7 +206,7 @@ public class GetSiteContainersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site containers request returns status 200 for one container") public void getSiteContainersWithOneItem() throws Exception { diff --git a/e2e-test/java/org/alfresco/rest/sites/GetSiteCoreTests.java b/e2e-test/java/org/alfresco/rest/sites/GetSiteCoreTests.java index 7d03ccf45..e7123a90d 100644 --- a/e2e-test/java/org/alfresco/rest/sites/GetSiteCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/sites/GetSiteCoreTests.java @@ -37,7 +37,7 @@ public class GetSiteCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify invalid request returns status code 404 if siteId does not exist") public void checkStatusCodeForNonExistentSiteId() throws Exception { @@ -48,7 +48,7 @@ public class GetSiteCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify user gets all public and moderated sites if an empty siteId is provided") public void checkStatusCodeForEmptySiteId() throws Exception { @@ -60,7 +60,7 @@ public class GetSiteCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if any user gets public site details and status code is 200") public void getPublicSite() throws Exception { @@ -75,7 +75,7 @@ public class GetSiteCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if any user gets moderated site details and status code is 200") public void getModeratedSite() throws Exception { @@ -90,7 +90,7 @@ public class GetSiteCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if member of a private site gets that site details and status code is 200") public void getPrivateSiteBySiteMember() throws Exception { @@ -105,7 +105,7 @@ public class GetSiteCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if user that is not member of a private site does not get that site details and status code is 200") public void getPrivateSiteByNotASiteMember() throws Exception { diff --git a/e2e-test/java/org/alfresco/rest/sites/GetSiteMembersCoreTests.java b/e2e-test/java/org/alfresco/rest/sites/GetSiteMembersCoreTests.java index 8467854e0..5abaf3d86 100644 --- a/e2e-test/java/org/alfresco/rest/sites/GetSiteMembersCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/sites/GetSiteMembersCoreTests.java @@ -40,7 +40,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site members call returns status code 404 if siteId does not exist") public void checkStatusCodeForNonExistentSiteId() throws Exception { @@ -51,7 +51,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site members call returns status code 400 for invalid maxItems") public void checkStatusCodeForInvalidMaxItems() throws Exception { @@ -67,7 +67,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify get site members call returns status code 400 for invalid skipCount ") public void checkStatusCodeForInvalidSkipCount() throws Exception { @@ -83,7 +83,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if any user gets public site members and status code is 200") public void getPublicSiteMembers() throws Exception { @@ -96,7 +96,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if any user gets moderated site members and status code is 200") public void getModeratedSiteMembers() throws Exception { @@ -109,7 +109,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if user gets private site members if he is a member of that site and status code is 200") public void getPrivateSiteMembersByASiteMember() throws Exception { @@ -122,7 +122,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if user doesn't get private site members if he is not a member of that site and status code is 404") public void getPrivateSiteMembersByNotASiteMember() throws Exception { @@ -133,7 +133,7 @@ public class GetSiteMembersCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if user gets moderated site members after the adding of a new member and status code is 200") public void getSiteMembersAfterAddingNewMember() throws Exception { diff --git a/e2e-test/java/org/alfresco/rest/sites/GetSitesCoreTests.java b/e2e-test/java/org/alfresco/rest/sites/GetSitesCoreTests.java index 2da9a46c4..d59cbf27a 100644 --- a/e2e-test/java/org/alfresco/rest/sites/GetSitesCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/sites/GetSitesCoreTests.java @@ -47,7 +47,7 @@ public class GetSitesCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get sites request returns status code 400 when invalid maxItems parameter is used") public void getSitesWithInvalidMaxItems() throws Exception { @@ -68,7 +68,7 @@ public class GetSitesCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if get sites request returns status code 400 when invalid skipCount parameter is used") public void getSitesWithInvalidSkipCount() throws Exception { @@ -84,7 +84,7 @@ public class GetSitesCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if User gets sites ordered by title ascending and status code is 200") public void getSitesOrderedByNameASC() throws Exception { @@ -99,7 +99,7 @@ public class GetSitesCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if a regular user gets all public and moderated sites and status code is 200") public void regularUserGetsOnlyPublicAndModeratedSites() throws Exception { @@ -112,7 +112,7 @@ public class GetSitesCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if a member of a private site gets the private site, all public sites and all moderated sites. Verify if status code is 200") public void privateSiteMemberGetsSitesVisibleForHim() throws Exception { @@ -125,7 +125,7 @@ public class GetSitesCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if a site is not retrieved anymore after deletion and status code is 200") public void checkDeletedSiteIsNotRetrieved() throws Exception { diff --git a/e2e-test/java/org/alfresco/rest/sites/UpdateSiteMemberCoreTests.java b/e2e-test/java/org/alfresco/rest/sites/UpdateSiteMemberCoreTests.java index 9ac8ba828..4f79c1355 100644 --- a/e2e-test/java/org/alfresco/rest/sites/UpdateSiteMemberCoreTests.java +++ b/e2e-test/java/org/alfresco/rest/sites/UpdateSiteMemberCoreTests.java @@ -43,7 +43,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if update site member request returns status code 404 when nonexistent siteId is used") public void updateSiteMemberOfNonexistentSite() throws Exception { @@ -58,7 +58,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if update site member request returns status code 400 when personId is not member of the site") public void updateNotASiteMember() throws Exception { @@ -70,7 +70,7 @@ public class UpdateSiteMemberCoreTests extends RestTest // @Bug(id="REPO-1642", description = "reproduced on 5.2.1 only, it works on 5.2.0") @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if update site member request returns status code 404 when personId does not exist") public void updateNonexistentSiteMember() throws Exception { @@ -84,7 +84,7 @@ public class UpdateSiteMemberCoreTests extends RestTest @Bug(id="REPO-1660") @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if a manager is able to downgrade to contributor using -me- string in place of personId.") public void updateSiteManagerToSiteContributorUsingMe() throws Exception { @@ -100,7 +100,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if update site member request returns status code 404 when empty siteId is used") public void updateSiteMemberUsingEmptySiteId() throws Exception { @@ -111,7 +111,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if update site member request returns status code 405 when empty personId is used") public void updateSiteMemberUsingEmptyPersonId() throws Exception { @@ -124,7 +124,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if update site member request returns status code 400 when invalid role is used") public void updateSiteMemberUsingInvalidRole() throws Exception { @@ -138,7 +138,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if manager is able to update another site manager to site collaborator") public void managerUpdateSiteManagerToSiteCollaborator() throws Exception { @@ -152,7 +152,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if manager is able to update site contributor to site manager") public void managerUpdateSiteContributorToSiteManager() throws Exception { @@ -166,7 +166,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if manager is able to update site collaborator to site manager") public void managerUpdateSiteCollaboratorToSiteManager() throws Exception { @@ -180,7 +180,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if manager is able to update site consumer to site manager") public void managerUpdateSiteConsumerToSiteManager() throws Exception { @@ -194,7 +194,7 @@ public class UpdateSiteMemberCoreTests extends RestTest } @Test(groups = { TestGroup.REST_API, TestGroup.SITES, TestGroup.CORE }) - @TestRail(section={TestGroup.REST_API, TestGroup.CORE, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, + @TestRail(section={TestGroup.REST_API, TestGroup.SITES}, executionType= ExecutionType.REGRESSION, description= "Verify if manager is able to downgrade himself to site consumer") public void managerDowngradeHimselfToSiteConsumer() throws Exception {