Skip to content

Commit be9771b

Browse files
shanthishanthi
authored andcommitted
ACQE-6250: Modified alignment of AdminAuthorizeAnOrderActionGroup
1 parent 42bb072 commit be9771b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminAuthorizeAnOrderActionGroup.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
<arguments>
1616
<argument name="orderStatus" type="string" defaultValue="Processing"/>
1717
</arguments>
18-
<waitForElementClickable selector="{{AdminOrderDetailsMainActionsSection.authorize}}" stepKey="waitForAuthorizeButtonToBeClickable"/>
19-
<click selector="{{AdminOrderDetailsMainActionsSection.authorize}}" stepKey="clickAuthorizeButton"/>
20-
<waitForText selector="{{AdminConfirmationModalSection.message}}" userInput="Are you sure you want to authorize full order amount?" stepKey="seeConfirmationMessage"/>
21-
<waitForElementClickable selector="{{AdminConfirmationModalSection.ok}}" stepKey="waitForOkayButtonToAppear"/>
22-
<click selector="{{AdminConfirmationModalSection.ok}}" stepKey="confirmOrder"/>
23-
<waitForText selector="{{AdminMessagesSection.success}}" userInput="Payment authorization has been successfully created." stepKey="seeAuthorizedSuccessMessage"/>
24-
<waitForText selector="{{AdminOrderDetailsInformationSection.orderStatus}}" userInput="{{orderStatus}}" stepKey="seeOrderStatus"/>
18+
<waitForElementClickable selector="{{AdminOrderDetailsMainActionsSection.authorize}}" stepKey="waitForAuthorizeButtonToBeClickable"/>
19+
<click selector="{{AdminOrderDetailsMainActionsSection.authorize}}" stepKey="clickAuthorizeButton"/>
20+
<waitForText selector="{{AdminConfirmationModalSection.message}}" userInput="Are you sure you want to authorize full order amount?" stepKey="seeConfirmationMessage"/>
21+
<waitForElementClickable selector="{{AdminConfirmationModalSection.ok}}" stepKey="waitForOkayButtonToAppear"/>
22+
<click selector="{{AdminConfirmationModalSection.ok}}" stepKey="confirmOrder"/>
23+
<waitForText selector="{{AdminMessagesSection.success}}" userInput="Payment authorization has been successfully created." stepKey="seeAuthorizedSuccessMessage"/>
24+
<waitForText selector="{{AdminOrderDetailsInformationSection.orderStatus}}" userInput="{{orderStatus}}" stepKey="seeOrderStatus"/>
2525
</actionGroup>
2626
</actionGroups>

0 commit comments

Comments
 (0)