REPO-2755 / REPO-2251: commented MNT-16904 bug for not network tests

This commit is contained in:
cagache
2017-10-10 17:47:04 +03:00
parent d24494361d
commit b36105c95d
10 changed files with 10 additions and 10 deletions
@@ -54,7 +54,7 @@ public class DeleteCommentTests extends RestTest
@TestRail(section = { TestGroup.REST_API,TestGroup.COMMENTS }, executionType = ExecutionType.SANITY, description = "Verify User gets status code 401 if authentication call fails")
@Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY })
@Bug(id="MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id="MNT-16904", description = "It fails only on environment with tenants")
public void userIsNotAbleToDeleteCommentIfAuthenticationFails() throws Exception
{
restClient.authenticateUser(adminUserModel);
@@ -64,7 +64,7 @@ public class GetCommentsTests extends RestTest
@TestRail(section={TestGroup.REST_API, TestGroup.COMMENTS}, executionType= ExecutionType.SANITY,
description= "Verify Manager user gets status code 401 if authentication call fails")
@Test(groups = { TestGroup.REST_API, TestGroup.COMMENTS, TestGroup.SANITY })
@Bug(id="MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id="MNT-16904", description = "It fails only on environment with tenants")
public void managerIsNotAbleToRetrieveCommentIfAuthenticationFails() throws Exception
{
UserModel nonexistentModel = new UserModel("nonexistentUser", "nonexistentPassword");
@@ -62,7 +62,7 @@ public class UpdateCommentTests extends RestTest
@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", description = "fails only on environment with tenants")
// @Bug(id = "MNT-16904", description = "fails only on environment with tenants")
public void unauthenticatedUserIsNotAbleToUpdateComment() throws Exception
{
restClient.authenticateUser(adminUserModel);
@@ -436,7 +436,7 @@ public class AddFavoritesTests extends RestTest
@TestRail(section = { TestGroup.REST_API, TestGroup.FAVORITES }, executionType = ExecutionType.REGRESSION,
description = "Verify the post favorites request when network id is invalid for tenant user")
@Test(groups = { TestGroup.REST_API, TestGroup.FAVORITES, TestGroup.REGRESSION, TestGroup.NETWORKS})
public void addFavoriteSitesWhenNetworkIdIsInvalid() throws JsonToModelConversionException, Exception
public void addFavoriteSitesWhenNetworkIdIsInvalid() throws Exception
{
UserModel adminTenantUser = UserModel.getAdminTenantUser();
restClient.authenticateUser(adminUserModel);
@@ -80,7 +80,7 @@ public class GetSiteMembershipSanityTests extends RestTest
@Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.SANITY })
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.SANITY, description = "Verify unauthenticated user is not able to retrieve site membership information of another user")
@Bug(id="MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id="MNT-16904", description = "It fails only on environment with tenants")
public void unauthenticatedUserCannotRetrieveSiteMembershipInformation() throws JsonToModelConversionException, Exception
{
restClient.authenticateUser(new UserModel("random user", "random password")).withCoreAPI()
@@ -78,7 +78,7 @@ public class GetSitesMembershipInformationSanityTests extends RestTest
@Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.SANITY })
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.SANITY, description = "Verify that unauthenticated user is not able to retrieve sites membership information")
@Bug(id="MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id="MNT-16904", description = "It fails only on environment with tenants")
public void unauthenticatedUserCannotRetrieveSitesMembershipInformation() throws JsonToModelConversionException, Exception
{
UserModel inexistentUser = new UserModel("inexistent user", "wrong password");
@@ -105,7 +105,7 @@ public class GetPeoplePreferenceSanityTests extends RestTest
@Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.PREFERENCES, TestGroup.SANITY })
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE,TestGroup.PREFERENCES }, executionType = ExecutionType.SANITY, description = "Verify manager user is NOT Authorized to get a specific preference with Rest API when authentication fails (401)")
@Bug(id = "MNT-16904", description = "fails only on environment with tenants")
// @Bug(id = "MNT-16904", description = "fails only on environment with tenants")
public void managerUserNotAuthorizedFailsToGetsAPreference() throws Exception
{
UserModel managerUser = dataUser.usingAdmin().createRandomTestUser();
@@ -107,7 +107,7 @@ public class GetPeoplePreferencesSanityTests extends RestTest
@Test(groups = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.PREFERENCES, TestGroup.SANITY })
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE,TestGroup.PREFERENCES }, executionType = ExecutionType.SANITY, description = "Verify manager user is NOT Authorized to gets its preferences with Rest API when authentication fails(401)")
@Bug(id = "MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id = "MNT-16904", description = "It fails only on environment with tenants")
public void managerUserGetsPeoplePreferencesIsNotAuthorized() throws Exception
{
UserModel managerUser = dataUser.usingAdmin().createRandomTestUser();
@@ -145,7 +145,7 @@ public class DeleteTaskVariableTests extends RestTest
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.TASKS }, executionType = ExecutionType.REGRESSION,
description = "Delete task variable by inexistent user")
@Test(groups = {TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.TASKS, TestGroup.REGRESSION })
@Bug(id="MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id="MNT-16904", description = "It fails only on environment with tenants")
public void deleteTaskVariableByInexistentUser() throws Exception
{
RestVariableModel variableModel = RestVariableModel.getRandomTaskVariableModel("local", "d:text");
@@ -157,7 +157,7 @@ public class UpdateTaskVariableTestsBulk2 extends RestTest
@TestRail(section = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.TASKS }, executionType = ExecutionType.REGRESSION,
description = "Update task variable by inexistent user")
@Test(groups = { TestGroup.REST_API, TestGroup.WORKFLOW, TestGroup.TASKS, TestGroup.REGRESSION })
@Bug(id="MNT-16904", description = "It fails only on environment with tenants")
// @Bug(id="MNT-16904", description = "It fails only on environment with tenants")
public void updateTaskVariableByNonexistentUser() throws Exception
{
variableModel = RestVariableModel.getRandomTaskVariableModel("local", "d:text");