mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Origin/feature/apps 1164 alfresco logs (#1102)
* Added test group for alfresco logs test cases to make them skipped in single pipeline * Added import statement for TestGroup * Added import statement for TestGroup Co-authored-by: Suneet Gupta <suneet.gupta@hyland.com>
This commit is contained in:
@@ -73,6 +73,7 @@ import org.testng.annotations.BeforeClass;
|
|||||||
import org.testng.annotations.BeforeMethod;
|
import org.testng.annotations.BeforeMethod;
|
||||||
import org.testng.annotations.DataProvider;
|
import org.testng.annotations.DataProvider;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
import org.alfresco.utility.model.TestGroup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* API tests for declaring document as record and filing it immediately to a record folder location within the file plan
|
* API tests for declaring document as record and filing it immediately to a record folder location within the file plan
|
||||||
@@ -257,7 +258,7 @@ public class DeclareAndFileDocumentAsRecordTests extends BaseRMRestTest
|
|||||||
* Then I receive an error indicating that I have attempted to declare and file a document into an invalid record folder
|
* Then I receive an error indicating that I have attempted to declare and file a document into an invalid record folder
|
||||||
* And the document is not declared as a record
|
* And the document is not declared as a record
|
||||||
*/
|
*/
|
||||||
@Test (dataProvider = "invalidDestinationPaths")
|
@Test (dataProvider = "invalidDestinationPaths",groups = { TestGroup.NOT_SUPPORTED_ON_SINGLE_PIPELINE })
|
||||||
public void declareAndFileToInvalidLocationUsingActionsAPI(String containerPath, String expectedException) throws Exception
|
public void declareAndFileToInvalidLocationUsingActionsAPI(String containerPath, String expectedException) throws Exception
|
||||||
{
|
{
|
||||||
STEP("Declare document as record with an invalid location parameter value");
|
STEP("Declare document as record with an invalid location parameter value");
|
||||||
|
@@ -62,6 +62,7 @@ import org.testng.annotations.BeforeClass;
|
|||||||
import org.testng.annotations.BeforeMethod;
|
import org.testng.annotations.BeforeMethod;
|
||||||
import org.testng.annotations.DataProvider;
|
import org.testng.annotations.DataProvider;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
import org.alfresco.utility.model.TestGroup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* API tests for declaring a document version as record and filing to a record folder location within the file plan
|
* API tests for declaring a document version as record and filing to a record folder location within the file plan
|
||||||
@@ -207,7 +208,7 @@ public class FileVersionAsRecordTests extends BaseRMRestTest
|
|||||||
* record folder
|
* record folder
|
||||||
* And the document is not declared as a version record
|
* And the document is not declared as a version record
|
||||||
*/
|
*/
|
||||||
@Test (dataProvider = "invalidDestinationPaths")
|
@Test (dataProvider = "invalidDestinationPaths", groups = { TestGroup.NOT_SUPPORTED_ON_SINGLE_PIPELINE })
|
||||||
public void declareVersionAndFileToInvalidLocationUsingActionsAPI(String containerPath, String expectedException) throws Exception
|
public void declareVersionAndFileToInvalidLocationUsingActionsAPI(String containerPath, String expectedException) throws Exception
|
||||||
{
|
{
|
||||||
STEP("Declare document as record version with an invalid location parameter value");
|
STEP("Declare document as record version with an invalid location parameter value");
|
||||||
|
Reference in New Issue
Block a user