mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Revert "added bug id to the failing tests till they get fixed"
This reverts commit 656b562c8acf7b56517d7a118f3469031def300c.
This commit is contained in:
@@ -27,7 +27,6 @@ import java.util.List;
|
||||
import org.alfresco.rest.model.RestErrorModel;
|
||||
import org.alfresco.rest.model.RestRequestRangesModel;
|
||||
import org.alfresco.utility.model.TestGroup;
|
||||
import org.alfresco.utility.report.Bug;
|
||||
import org.alfresco.utility.testrail.ExecutionType;
|
||||
import org.alfresco.utility.testrail.annotation.TestRail;
|
||||
import org.springframework.http.HttpStatus;
|
||||
@@ -71,7 +70,6 @@ public class PivotFacetedSearchTest extends AbstractSearchTest
|
||||
.containsSummary("Pivot parameter none_like_this does not reference");
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks with pivot using Search api")
|
||||
@@ -100,7 +98,6 @@ public class PivotFacetedSearchTest extends AbstractSearchTest
|
||||
assertPivotResponse(response, "creator", null);
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks nested pivot using Search api")
|
||||
@@ -157,7 +154,6 @@ public class PivotFacetedSearchTest extends AbstractSearchTest
|
||||
creatorResponse.assertThat().field("label").is("creator");
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks range pivots using Search api")
|
||||
@@ -220,7 +216,6 @@ public class PivotFacetedSearchTest extends AbstractSearchTest
|
||||
Assert.assertTrue(bucket.getMetrics().get(0).getValue().toString().contains("{count="));
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks with pivot using Search api and a label as a key")
|
||||
|
||||
@@ -21,6 +21,13 @@ package org.alfresco.rest.search;
|
||||
import static org.testng.Assert.assertEquals;
|
||||
import static org.testng.Assert.assertFalse;
|
||||
import static org.testng.Assert.assertTrue;
|
||||
import org.alfresco.rest.model.RestErrorModel;
|
||||
import org.alfresco.utility.model.TestGroup;
|
||||
import org.alfresco.utility.testrail.ExecutionType;
|
||||
import org.alfresco.utility.testrail.annotation.TestRail;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
@@ -29,14 +36,6 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.alfresco.rest.model.RestErrorModel;
|
||||
import org.alfresco.utility.model.TestGroup;
|
||||
import org.alfresco.utility.report.Bug;
|
||||
import org.alfresco.utility.testrail.ExecutionType;
|
||||
import org.alfresco.utility.testrail.annotation.TestRail;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
/**
|
||||
* Stats search test.
|
||||
* @author Gethin James
|
||||
@@ -45,7 +44,6 @@ import org.testng.annotations.Test;
|
||||
public class StatsSearchTest extends AbstractSearchTest
|
||||
{
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks errors with stats using Search api")
|
||||
@@ -129,7 +127,6 @@ public class StatsSearchTest extends AbstractSearchTest
|
||||
assertTrue(percentiles.keySet().containsAll(Arrays.asList("1.0","75.0","99.0","99.9")));
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks errors with stats labels using Search api")
|
||||
@@ -149,7 +146,6 @@ public class StatsSearchTest extends AbstractSearchTest
|
||||
assertStatsFacetedResponse(response, "DateChanged", 8);
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks errors with stats fitlers using Search api")
|
||||
@@ -184,7 +180,6 @@ public class StatsSearchTest extends AbstractSearchTest
|
||||
assertTrue((Integer)metricCount.get("count") > count, "With the exclude filter there will be more documents than returned");
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks errors with stats with Pivot using Search api")
|
||||
@@ -247,7 +242,7 @@ public class StatsSearchTest extends AbstractSearchTest
|
||||
|
||||
}
|
||||
|
||||
@Bug(id = "TAS-3500")
|
||||
|
||||
@Test(groups = { TestGroup.REST_API, TestGroup.SEARCH })
|
||||
@TestRail(section = {TestGroup.REST_API, TestGroup.SEARCH }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Checks errors with stats with Pivot using Search api")
|
||||
|
||||
Reference in New Issue
Block a user