From fd0b06cd82f4b22b5843da56bd9405ba8ff5367d Mon Sep 17 00:00:00 2001 From: "meenal.bhave@alfresco.com" Date: Fri, 26 Apr 2019 13:02:48 +0100 Subject: [PATCH] Search-1631: First attempt to fix some failures, annotating tests with correct product version --- .../functional/searchServices/search/SearchTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchTest.java b/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchTest.java index da5f5bc3e..efd0a4c50 100644 --- a/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchTest.java +++ b/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchTest.java @@ -191,7 +191,8 @@ public class SearchTest extends AbstractSearchServicesE2ETest .collect(Collectors.toList())); } - @Test(groups = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }) @TestRail(section = { + @Test(groups = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n, TestGroup.ASS_14 }) + @TestRail(section = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }, executionType = ExecutionType.REGRESSION, description = "Checks the \"include\" request parameter support the 'permissions' option") public void searchQuery_includePermissions_shouldReturnNodeWithPermissionsInformation() @@ -215,7 +216,7 @@ public class SearchTest extends AbstractSearchServicesE2ETest restClient.onResponse().assertThat().body("list.entries[0].entry.permissions", nullValue()); } - @Test(groups = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }) + @Test(groups = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n, TestGroup.ASS_14 }) @TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }, executionType = ExecutionType.REGRESSION, description = "Checks the \"include\" request parameter support the 'isLocked' option") public void searchQuery_includeIsLocked_shouldReturnNodeWithLockInformation() throws Exception { @@ -249,7 +250,7 @@ public class SearchTest extends AbstractSearchServicesE2ETest restClient.onResponse().assertThat().body("list.entries[0].entry.isLocked", nullValue()); } - @Test(groups = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }) + @Test(groups = { TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n, TestGroup.ASS_14 }) @TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }, executionType = ExecutionType.REGRESSION, description = "Checks the \"include\" request parameter does not support the 'notValid' option") public void searchQuery_includeInvalid_shouldReturnBadResponse()