Skip to content

Commit

Permalink
LRQA-48215 Use exist macro to assert success message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharryxue authored and brianchandotcom committed Apr 18, 2019
1 parent 5f051f3 commit 5e1d29d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ definition {

LexiconEntry.gotoEllipsisMenuItem(menuItem = "Approve");

Workflow.confirmWorkflowAction();
Alert.viewSuccessMessage();

Workflow.viewCompletedTask(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand Down Expand Up @@ -479,9 +479,7 @@ definition {
);
}

Workflow.confirmWorkflowAction();

SelectFrame(value1 = "relative=top");
Alert.viewSuccessMessage();

Workflow.viewCompletedTask(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand All @@ -508,9 +506,7 @@ definition {

LexiconEntry.gotoEllipsisMenuItem(menuItem = "Reject");

Workflow.confirmWorkflowAction();

SelectFrame(value1 = "relative=top");
Alert.viewSuccessMessage();

Workflow.viewCompletedTask(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand All @@ -535,7 +531,7 @@ definition {

MenuItem.click(menuItem = "Resubmit");

Workflow.confirmWorkflowAction();
Alert.viewSuccessMessage();

Workflow.viewCompletedTask(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand All @@ -562,7 +558,7 @@ definition {

LexiconEntry.gotoEllipsisMenuItem(menuItem = "Resubmit");

Workflow.confirmWorkflowAction();
Alert.viewSuccessMessage();

Workflow.viewCompletedTask(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand Down Expand Up @@ -704,7 +700,7 @@ definition {
);
}

Workflow.confirmWorkflowAction();
Alert.viewSuccessMessage();

Workflow.viewTaskAssignedToMe(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand Down Expand Up @@ -759,7 +755,7 @@ definition {
);
}

Workflow.confirmWorkflowAction();
Alert.viewSuccessMessage();

Workflow.viewTaskAssignedToMyRoles(
ddlDataDefinitionName = "${ddlDataDefinitionName}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ definition {

LexiconEntry.gotoEllipsisMenuItem(menuItem = "Approve");

Workflow.confirmWorkflowAction();
Alert.viewSuccessMessage();

Navigator.gotoPage(pageName = "Blogs Page");

Expand Down

0 comments on commit 5e1d29d

Please sign in to comment.