Skip to content

Commit

Permalink
LPS-190058 Remove CanChangeWorkflowWebContent test
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinonias authored and brianchandotcom committed Aug 16, 2023
1 parent 21c1e22 commit f43ab18
Showing 1 changed file with 0 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f43ab18

Please sign in to comment.