REPO-1308: use TestGroup.ACTIONS instead of TestGroup.NODES

This commit is contained in:
Matt Ward
2017-12-04 13:02:30 +00:00
parent d80e953cf5
commit aca6d62548
@@ -15,10 +15,9 @@ import static org.testng.Assert.assertFalse;
public class ActionsTests extends RestTest
{
// TODO: TestGroup.ACTIONS not TestGroup.NODES
@TestRail(section = { TestGroup.REST_API,TestGroup.NODES }, executionType = ExecutionType.SANITY,
@TestRail(section = { TestGroup.REST_API,TestGroup.ACTIONS }, executionType = ExecutionType.SANITY,
description = "Verify actions")
@Test(groups = { TestGroup.REST_API, TestGroup.NODES, TestGroup.SANITY})
@Test(groups = { TestGroup.REST_API, TestGroup.ACTIONS, TestGroup.SANITY})
public void testActionDefinitions() throws Exception
{
restClient.authenticateUser(dataContent.getAdminUser());
@@ -35,11 +34,10 @@ public class ActionsTests extends RestTest
restActionDefinitions.assertThat().entriesListContains("name", "check-out");
restActionDefinitions.assertThat().entriesListContains("name", "check-in");
}
// TODO: TestGroup.ACTIONS not TestGroup.NODES
@TestRail(section = { TestGroup.REST_API,TestGroup.NODES }, executionType = ExecutionType.REGRESSION,
@TestRail(section = { TestGroup.REST_API,TestGroup.ACTIONS }, executionType = ExecutionType.REGRESSION,
description = "Verify actions error conditions")
@Test(groups = { TestGroup.REST_API, TestGroup.NODES, TestGroup.REGRESSION})
@Test(groups = { TestGroup.REST_API, TestGroup.ACTIONS, TestGroup.REGRESSION})
public void testActionDefinitionsNegative() throws Exception{
// Badly formed request -> 400
{