|
84 | 84 | <actionGroup ref="StorefrontCheckoutWithMultipleAddressesActionGroup" stepKey="checkoutWithMultipleAddresses"/> |
85 | 85 |
|
86 | 86 | <!-- Check Ship to Multiple Address Page is opened--> |
87 | | - <wait time="10" stepKey="10"/> |
| 87 | + <wait time="10" stepKey="waitForAddressPage"/> |
88 | 88 | <seeInCurrentUrl url="{{MultishippingCheckoutAddressesPage.url}}" stepKey="seeShiptoMultipleAddressesPageIsOpened"/> |
89 | 89 |
|
90 | 90 | <!-- Assert Simple product has address in Send To section--> |
|
94 | 94 |
|
95 | 95 | <!--Virtual product has a message in Send To section : "A shipping selection is not applicable.--> |
96 | 96 | <grabTextFrom selector="{{StorefrontMultishippingCheckoutAddressesToolbarSection.shippingnotapplicable($$createVirtualProduct.name$$)}}" stepKey="grabshippingtext"/> |
97 | | - <assertEquals message="Virtual product has a message in Send To section : 'A shipping selection is not applicable" stepKey="ssertEquals1"> |
| 97 | + <assertEquals message="Virtual product has a message in Send To section : 'A shipping selection is not applicable" stepKey="assertmessage"> |
98 | 98 | <expectedResult type="string">A shipping selection is not applicable.</expectedResult> |
99 | 99 | <actualResult type="string">$grabshippingtext</actualResult> |
100 | 100 | </assertEquals> |
|
104 | 104 |
|
105 | 105 |
|
106 | 106 | <!-- See Shipping Method is opened --> |
107 | | - <wait time="10" stepKey="20"/> |
| 107 | + <wait time="10" stepKey="waitForCheckoutShippingPageUrl"/> |
108 | 108 | <seeInCurrentUrl url="{{MultishippingCheckoutShippingPage.url}}" stepKey="seeSelectShippingMethodPageIsOpened"/> |
109 | 109 |
|
110 | 110 |
|
111 | 111 | <!-- Halt test execution for 10 seconds before continuing. --> |
112 | | - <wait time="10" stepKey="29"/> |
| 112 | + <wait time="10" stepKey="waitForElement"/> |
113 | 113 | <!-- See Shipping Method available ONLY for Simple product--> |
114 | 114 | <seeElement selector="{{StorefrontMultishippingCheckoutAddressesToolbarSection.shippingmethods($$createSimpleProduct.name$$)}}" stepKey="ShippingMethodForSimpleProduct"/> |
115 | 115 |
|
|
121 | 121 | <waitForPageLoad stepKey="waitForCheckoutShippingToolbarPageLoad"/> |
122 | 122 |
|
123 | 123 | <!-- See Billing Information Page is opened--> |
124 | | - <wait time="10" stepKey="30"/> |
| 124 | + <wait time="10" stepKey="waitForUrl"/> |
125 | 125 | <seeInCurrentUrl url="{{MultishippingCheckoutBillingPage.url}}" stepKey="seeBillingPageIsOpened"/> |
126 | 126 |
|
127 | 127 | <!-- Check Page contains customer's billing address--> |
|
0 commit comments