Skip to content

Commit 2dee565

Browse files
committed
#28172: MFTF tests
1 parent 9173df7 commit 2dee565

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11+
<actionGroup name="CheckoutSelectPurchaseOrderPaymentActionGroup">
12+
<annotations>
13+
<description>Selects the 'Purchase Order' Payment Method on the Storefront Checkout page.</description>
14+
</annotations>
15+
16+
<arguments>
17+
<argument name="purchaseOrderNumber" type="string"/>
18+
</arguments>
19+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMask"/>
20+
<waitForPageLoad stepKey="waitForPageLoad"/>
21+
<remove keyForRemoval="checkCheckMoneyOption"/>
22+
<conditionalClick selector="{{CheckoutPaymentSection.purchaseOrderPayment}}" dependentSelector="{{CheckoutPaymentSection.purchaseOrderPayment}}" visible="true" stepKey="checkPurchaseOrderOption"/>
23+
<fillField selector="{{StorefrontCheckoutPaymentMethodSection.purchaseOrderNumber}}" userInput="{{purchaseOrderNumber}}" stepKey="fillPurchaseOrderNumber"/>
24+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskAfterPaymentMethodSelection"/>
25+
</actionGroup>
26+
</actionGroups>

0 commit comments

Comments
 (0)