bug: added bug annotation for 5.2.1

This commit is contained in:
cagache
2016-11-28 16:05:00 +02:00
parent aa1dff294e
commit a8fb917ecc
2 changed files with 4 additions and 1 deletions
@@ -229,6 +229,7 @@ public class GetFavoritesCoreTests extends RestTest
.and().paginationField("totalItems").is("2");
}
@Bug(id="REPO-1642", description = "reproduced on 5.2.1 only, it works on 5.2.0")
@TestRail(section = { TestGroup.REST_API,
TestGroup.FAVORITES }, executionType = ExecutionType.REGRESSION, description = "Verify request using personId that does not exist returns status 404")
public void checkFavoritesWhenPersonIdDoesNotExist() throws Exception
@@ -7,6 +7,7 @@ import org.alfresco.utility.model.ErrorModel;
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.HttpStatus;
@@ -39,7 +40,8 @@ public class DeleteFavoriteSiteCoreTests extends RestTest
restClient.withCoreAPI().usingMe().removeFavoriteSite(siteModel);
restClient.assertStatusCodeIs(HttpStatus.NO_CONTENT);
}
@Bug(id="REPO-1642", description = "reproduced on 5.2.1 only, it works on 5.2.0")
@TestRail(section = { TestGroup.REST_API,
TestGroup.PEOPLE }, executionType = ExecutionType.SANITY, description = "Verify inexistent user is not able to remove a site from favorites and response is 404")
public void inexistentUserIsNotAbleToRemoveFavoriteSite() throws Exception