|
63 | 63 | <reloadPage stepKey="refreshPage"/>
|
64 | 64 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
65 | 65 | <!-- Check that "Ship To" block contains correct information -->
|
| 66 | + <waitForElementVisible selector="{{CheckoutPaymentSection.shipToInformation}}" stepKey="waitForShippingInformationToAppear"/> |
66 | 67 | <see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.firstName}}" stepKey="seeShipToFirstName" />
|
67 | 68 | <see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.lastName}}" stepKey="seeShipToLastName" />
|
68 | 69 | <see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.street[0]}}" stepKey="seeShipToStreet" />
|
|
72 | 73 | <see selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{CustomerAddressSimple.telephone}}" stepKey="seeShipToTelephone" />
|
73 | 74 | <!-- Assert Shipping Method = "Flat Rate" -->
|
74 | 75 | <see userInput="Flat Rate - Fixed" selector="{{CheckoutPaymentSection.orderSummaryShippingMethod}}" stepKey="assertShippingMethodAgain"/>
|
75 |
| - <!-- click on Edit button next to "Ship To" Text --> |
| 76 | + <!-- click on Edit button next to "Ship To" Text --> |
76 | 77 | <click selector="{{CheckoutPaymentSection.editShipToInformation}}" stepKey="clickOnEditButton"/>
|
77 | 78 | <actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShippingSectionAgain">
|
78 | 79 | <argument name="customerVar" value="CustomerEntityOne"/>
|
|
87 | 88 | <!-- click on Edit button next to "Shipping Method" Text -->
|
88 | 89 | <click selector="{{CheckoutPaymentSection.editShipMethodInformation}}" stepKey="clickOnEditShippingMethodButton"/>
|
89 | 90 | <!-- Assert that it has scrolled to Shipping Method text -->
|
90 |
| - <waitForElementVisible selector="{{CheckoutPaymentSection.success}}" stepKey="waitForShippingMethodTitle"/> |
| 91 | + <waitForElementVisible selector="{{CheckoutPaymentSection.shippingMethodTitle}}" stepKey="waitForShippingMethodTitle"/> |
91 | 92 | <scrollTo selector="{{CheckoutPaymentSection.shippingMethodTitle}}" stepKey="scrollToShippingMethodTitle"/>
|
92 | 93 | <see selector="{{CheckoutPaymentSection.shippingMethodTitle}}" userInput="Shipping Methods" stepKey="seeShippingMethodTitle"/>
|
93 | 94 | </test>
|
|
0 commit comments