|
124 | 124 | <!-- Login Customer Storefront -->
|
125 | 125 |
|
126 | 126 | <amOnPage url="{{StorefrontCustomerSignInPage.url}}" stepKey="amOnSignInPage"/>
|
| 127 | + <waitForPageLoad stepKey="waitForSignInPage"/> |
127 | 128 | <fillField userInput="$$createCustomer.email$$" selector="{{StorefrontCustomerSignInFormSection.emailField}}" stepKey="fillEmail"/>
|
128 | 129 | <fillField userInput="$$createCustomer.password$$" selector="{{StorefrontCustomerSignInFormSection.passwordField}}" stepKey="fillPassword"/>
|
129 | 130 | <click selector="{{StorefrontCustomerSignInFormSection.signInAccountButton}}" stepKey="clickSignInAccountButton"/>
|
130 | 131 |
|
131 | 132 | <!-- Go to Product Page -->
|
132 | 133 |
|
133 | 134 | <amOnPage url="{{StorefrontHomePage.url}}$$createProduct.custom_attributes[url_key]$$.html" stepKey="amOnProduct1Page"/>
|
134 |
| - |
| 135 | + <waitForPageLoad stepKey="waitForProductPage"/> |
135 | 136 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownTitle('Custom Options 1')}}" stepKey="seeProductOptionDropDownTitle"/>
|
136 | 137 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('Custom Options 1', 'option1')}}" stepKey="seeproductOptionDropDownOptionTitle1"/>
|
137 | 138 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('Custom Options 1', 'option2')}}" stepKey="seeproductOptionDropDownOptionTitle2"/>
|
|
194 | 195 | <!-- Switch to FR Store View Storefront -->
|
195 | 196 |
|
196 | 197 | <amOnPage url="{{StorefrontHomePage.url}}" stepKey="amOnProduct4Page"/>
|
| 198 | + <waitForPageLoad stepKey="waitForStorefrontHomePage"/> |
197 | 199 | <click selector="{{StorefrontHeaderSection.storeViewSwitcher}}" stepKey="clickStoreViewSwitcher1"/>
|
198 | 200 | <waitForElementVisible selector="{{StorefrontHeaderSection.storeViewDropdown}}" stepKey="waitForStoreViewDropdown1"/>
|
199 | 201 | <click selector="{{StorefrontHeaderSection.storeViewOption(customStoreFR.code)}}" stepKey="selectStoreView1"/>
|
200 | 202 | <waitForPageLoad stepKey="waitForPageLoad4"/>
|
201 | 203 |
|
202 | 204 | <amOnPage url="{{StorefrontHomePage.url}}$$createProduct.custom_attributes[url_key]$$.html" stepKey="amOnProduct2Page"/>
|
203 |
| - |
| 205 | + <waitForPageLoad stepKey="waitForProductPage2"/> |
204 | 206 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownTitle('FR Custom Options 1')}}" stepKey="seeProductFrOptionDropDownTitle"/>
|
205 | 207 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('FR Custom Options 1', 'FR option1')}}" stepKey="productFrOptionDropDownOptionTitle1"/>
|
206 | 208 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('FR Custom Options 1', 'FR option2')}}" stepKey="productFrOptionDropDownOptionTitle2"/>
|
|
281 | 283 | <!--Go to Product Page-->
|
282 | 284 |
|
283 | 285 | <amOnPage url="{{StorefrontHomePage.url}}$$createProduct.custom_attributes[url_key]$$.html" stepKey="amOnProduct2Page2"/>
|
284 |
| - |
| 286 | + <waitForPageLoad stepKey="waitForProductPage3"/> |
285 | 287 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownTitle('Custom Options 1')}}" stepKey="seeProductOptionDropDownTitle1"/>
|
286 | 288 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('Custom Options 1', 'option1')}}" stepKey="seeProductOptionDropDownOptionTitle3"/>
|
287 | 289 | <seeElement selector="{{StorefrontProductInfoMainSection.productOptionDropDownOptionTitle('Custom Options 1', 'option2')}}" stepKey="seeProductOptionDropDownOptionTitle4"/>
|
|
0 commit comments