diff --git a/modules/apps/portal-workflow/portal-workflow-test/src/testFunctional/tests/WorkflowWebContentArticle.testcase b/modules/apps/portal-workflow/portal-workflow-test/src/testFunctional/tests/WorkflowWebContentArticle.testcase index 1173ecc76110d8..406d4720ccb89f 100644 --- a/modules/apps/portal-workflow/portal-workflow-test/src/testFunctional/tests/WorkflowWebContentArticle.testcase +++ b/modules/apps/portal-workflow/portal-workflow-test/src/testFunctional/tests/WorkflowWebContentArticle.testcase @@ -28,80 +28,6 @@ definition { } } - @description = "Verify that the user can modify the Web Content's workflow" - @priority = 3 - test CanChangeWorkflowWebContent { - property test.liferay.virtual.instance = "false"; - - ApplicationsMenu.gotoPortlet( - category = "Workflow", - panel = "Applications", - portlet = "Process Builder"); - - Navigator.gotoNavItem(navItem = "Configuration"); - - Workflow.configureWorkflow( - workflowDefinition = "Single Approver", - workflowResourceValue = "Web Content Article"); - - Navigator.openURL(); - - ProductMenu.gotoPortlet( - category = "Content & Data", - panel = "Site Administration", - portlet = "Web Content"); - - WebContentNavigator.gotoAddCP(); - - WebContent.addWithWorkflowCP( - webContentContent = "Web Content Content", - webContentTitle = "Basic Article 1"); - - WorkflowMetrics.goToDashboardAllItemsWithFilter( - workflowFilterOption = "PENDING", - workflowMetricsTab = "DASHBOARD", - workflowProcess = "Single Approver"); - - AssertElementPresent( - key_workflowItemSubject = "Web Content Article: Basic Article 1", - locator1 = "WorkflowMetrics#METRICS_WORKFLOW_ALL_ITEMS_ITEM_SUBJECT"); - - Workflow.duplicateSingleApproverWorkflow(workflowName = "Copy of Single Approver"); - - ApplicationsMenu.gotoPortlet( - category = "Workflow", - panel = "Applications", - portlet = "Process Builder"); - - Navigator.gotoNavItem(navItem = "Configuration"); - - Workflow.configureWorkflow( - workflowDefinition = "Copy of Single Approver", - workflowResourceValue = "Web Content Article"); - - Navigator.openURL(); - - ProductMenu.gotoPortlet( - category = "Content & Data", - panel = "Site Administration", - portlet = "Web Content"); - - WebContentNavigator.gotoAddCP(); - - WebContent.addWithWorkflowCP( - webContentContent = "Web Content Content", - webContentTitle = "Basic Article 2"); - - WorkflowMetrics.goToDashboardAllItemsWithFilter( - workflowFilterOption = "PENDING", - workflowMetricsTab = "DASHBOARD", - workflowProcess = "Copy of Single Approver"); - - AssertElementPresent( - key_workflowItemSubject = "Web Content Article: Basic Article 2", - locator1 = "WorkflowMetrics#METRICS_WORKFLOW_ALL_ITEMS_ITEM_SUBJECT"); - } - @description = "Verify that a workflow can be assigned to Web Content in the DXP Configuration > Workflow" @priority = 4 test CanConfigureWorkflowWebContent {