File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
app/code/Magento/Shipping/Test/Mftf Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 107107 <entity name =" ShippingTypeUSPSConfigData" type =" usps_config" >
108108 <data key =" value" >Priority Mail International Flat Rate Envelope</data >
109109 </entity >
110- <entity name =" USPSShippingTypeUSPSConfigData " type =" usps_config" >
110+ <entity name =" USPSFirstClassInternationalShippingMethodData " type =" usps_config" >
111111 <data key =" value" >First-Class Package International Service</data >
112112 </entity >
113113</entities >
Original file line number Diff line number Diff line change 2424 <!-- Create product -->
2525 <createData entity =" SimpleProduct" stepKey =" createProduct" />
2626 <createData entity =" Simple_Customer_Without_Address" stepKey =" createCustomer" />
27-
2827 </before >
2928 <after >
3029 <actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" customerLogoutStorefront" />
3433 <deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
3534 </after >
3635 <!-- Step 1:Navigate to storefront -->
37- <actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" customerLogin " >
36+ <actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" loginCustomerToStorefront " >
3837 <argument name =" Customer" value =" $createCustomer$" />
3938 </actionGroup >
4039 <!-- Step 2:Add product to cart -->
5150 <argument name =" address" value =" Canada_Address" />
5251 </actionGroup >
5352 <!-- Step 4:Select First-Class Package International Service USPS Shipping method -->
54- <actionGroup ref =" StorefrontSetShippingMethodActionGroup" stepKey =" setShippingMethodUSPS " >
55- <argument name =" shippingMethodName" value =" {{USPSShippingTypeUSPSConfigData .value}}" />
53+ <actionGroup ref =" StorefrontSetShippingMethodActionGroup" stepKey =" verifyFirstClassPackageInternationalServiceShippingMethodIsAvailableAndSelect " >
54+ <argument name =" shippingMethodName" value =" {{USPSFirstClassInternationalShippingMethodData .value}}" />
5655 </actionGroup >
5756 <!-- Step 5:Place order -->
5857 <actionGroup ref =" StorefrontCheckoutClickNextButtonActionGroup" stepKey =" goToPaymentStep" />
5958 <actionGroup ref =" CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey =" selectPaymentMethod" />
6059 <actionGroup ref =" ClickPlaceOrderActionGroup" stepKey =" clickPlaceOrder" />
61- <waitForElement selector =" {{CheckoutSuccessMainSection.orderLink}}" stepKey =" waitForOrderNumber" />
60+ <waitForElementVisible selector =" {{CheckoutSuccessMainSection.orderLink}}" stepKey =" waitForOrderNumber" />
6261 </test >
6362</tests >
You can’t perform that action at this time.
0 commit comments