9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
11
<!-- Fill shipment form for free shipping-->
12
- <actionGroup name =" ShipmentFormFreeShippingActionGroup" extends =" ShipmentFormActionGroup" >
12
+ <actionGroup name =" ShipmentFormFreeShippingActionGroup" >
13
+ <fillField selector =" {{CheckoutShippingSection.email}}" userInput =" {{CustomerEntityOne.email}}" stepKey =" setCustomerEmail" />
14
+ <fillField selector =" {{CheckoutShippingSection.firstName}}" userInput =" {{CustomerEntityOne.firstname}}" stepKey =" SetCustomerFirstName" />
15
+ <fillField selector =" {{CheckoutShippingSection.lastName}}" userInput =" {{CustomerEntityOne.lastname}}" stepKey =" SetCustomerLastName" />
16
+ <fillField selector =" {{CheckoutShippingSection.street}}" userInput =" {{CustomerAddressSimple.street}}" stepKey =" SetCustomerStreetAddress" />
17
+ <fillField selector =" {{CheckoutShippingSection.city}}" userInput =" {{CustomerAddressSimple.city}}" stepKey =" SetCustomerCity" />
18
+ <fillField selector =" {{CheckoutShippingSection.postcode}}" userInput =" {{CustomerAddressSimple.postcode}}" stepKey =" SetCustomerZipCode" />
19
+ <fillField selector =" {{CheckoutShippingSection.telephone}}" userInput =" {{CustomerAddressSimple.telephone}}" stepKey =" SetCustomerPhoneNumber" />
20
+ <click selector =" {{CheckoutShippingSection.region}}" stepKey =" clickToSetState" />
21
+ <click selector =" {{CheckoutShippingSection.state}}" stepKey =" clickToChooseState" />
13
22
<see userInput =" $0.00 Free Free Shipping" selector =" {{CheckoutShippingMethodsSection.shippingMethodRowByName('Free Shipping')}}" stepKey =" seeShippingMethod" after =" clickToChooseState" />
14
23
<click selector =" {{CheckoutShippingMethodsSection.checkShippingMethodByName('Free Shipping')}}" stepKey =" selectFlatShippingMethod" after =" seeShippingMethod" />
15
24
<waitForLoadingMaskToDisappear stepKey =" waitForLoadingMask" after =" selectFlatShippingMethod" />
25
+ <click selector =" {{CheckoutShippingSection.next}}" stepKey =" clickToSaveShippingInfo" />
26
+ <waitForPageLoad time =" 5" stepKey =" waitForReviewAndPaymentsPageIsLoaded" />
27
+ <seeInCurrentUrl url =" payment" stepKey =" reviewAndPaymentIsShown" />
16
28
</actionGroup >
17
29
</actionGroups >
0 commit comments