Search-1631: First attempt to fix some failures, annotating tests with correct product version

This commit is contained in:
meenal.bhave@alfresco.com
2019-04-26 13:02:48 +01:00
parent e764c40c3a
commit fd0b06cd82

View File

@@ -191,7 +191,8 @@ public class SearchTest extends AbstractSearchServicesE2ETest
.collect(Collectors.toList())); .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.REST_API, TestGroup.SEARCH,
TestGroup.ACS_61n }, executionType = ExecutionType.REGRESSION, description = "Checks the \"include\" request parameter support the 'permissions' option") TestGroup.ACS_61n }, executionType = ExecutionType.REGRESSION, description = "Checks the \"include\" request parameter support the 'permissions' option")
public void searchQuery_includePermissions_shouldReturnNodeWithPermissionsInformation() public void searchQuery_includePermissions_shouldReturnNodeWithPermissionsInformation()
@@ -215,7 +216,7 @@ public class SearchTest extends AbstractSearchServicesE2ETest
restClient.onResponse().assertThat().body("list.entries[0].entry.permissions", nullValue()); 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, @TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH, TestGroup.ACS_61n }, executionType = ExecutionType.REGRESSION,
description = "Checks the \"include\" request parameter support the 'isLocked' option") description = "Checks the \"include\" request parameter support the 'isLocked' option")
public void searchQuery_includeIsLocked_shouldReturnNodeWithLockInformation() throws Exception { 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()); 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, @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") description = "Checks the \"include\" request parameter does not support the 'notValid' option")
public void searchQuery_includeInvalid_shouldReturnBadResponse() public void searchQuery_includeInvalid_shouldReturnBadResponse()