|
181 | 181 | <see selector="{{CheckoutSuccessRegisterSection.customerEmail}}" userInput="Email Address: {{CustomerEntityOne.email}}" stepKey="seeCustomerEmail"/>
|
182 | 182 | <seeElement selector="{{CheckoutSuccessRegisterSection.createAccountButton}}" stepKey="seeVisibleCreateAccountButton"/>
|
183 | 183 | <click selector="{{CheckoutSuccessRegisterSection.createAccountButton}}" stepKey="clickCreateAccountButton"/>
|
184 |
| - <waitForElementNotVisible selector="{{CheckoutSuccessRegisterSection.createAccountButton}}" stepKey="waitInvisibleCreateAccountButton"/> |
185 |
| - <dontSeeElement selector="{{CheckoutSuccessRegisterSection.createAccountButton}}" stepKey="seeInvisibleCreateAccountButton"/> |
186 |
| - <see selector="{{CheckoutSuccessRegisterSection.registerMessage}}" userInput="A letter with further instructions will be sent to your email." stepKey="seeNotifyCreateAccount"/> |
| 184 | + <waitForElement selector="{{StorefrontCMSPageSection.mainTitle}}" stepKey="waitAccountPage"/> |
| 185 | + <seeInCurrentUrl url="{{StorefrontCustomerCreatePage.url}}" stepKey="seeCreateAccountPage"/> |
| 186 | + <see userInput="Create New Customer Account" selector="{{StorefrontCMSPageSection.mainTitle}}" stepKey="seeCreateAccountPageTitle"/> |
| 187 | + |
| 188 | + <!--Go to product page--> |
| 189 | + <amOnPage url="$$createSimpleProduct.custom_attributes[url_key]$$.html" stepKey="navigateToSimpleProductPage2"/> |
| 190 | + <waitForPageLoad stepKey="waitForCatalogPageLoad2"/> |
| 191 | + |
| 192 | + <!--Add Product to Shopping Cart--> |
| 193 | + <actionGroup ref="addToCartFromStorefrontProductPage" stepKey="addToCartFromStorefrontProductPage2"> |
| 194 | + <argument name="productName" value="$$createSimpleProduct.name$$"/> |
| 195 | + </actionGroup> |
| 196 | + |
| 197 | + <!--Go to Checkout--> |
| 198 | + <actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart2"/> |
| 199 | + <actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShippingSection2"> |
| 200 | + <argument name="customerVar" value="CustomerEntityOne" /> |
| 201 | + <argument name="customerAddressVar" value="CustomerAddressSimple" /> |
| 202 | + </actionGroup> |
| 203 | + |
| 204 | + <!--Click Place Order button--> |
| 205 | + <click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder2"/> |
| 206 | + <waitForElement selector="{{CheckoutSuccessMainSection.success}}" time="30" stepKey="waitForLoadSuccessPage2"/> |
| 207 | + |
| 208 | + <!--Continue shopping--> |
187 | 209 | <click selector="{{CheckoutSuccessMainSection.continueShoppingButton}}" stepKey="clickContinueShoppingButton"/>
|
188 | 210 | <waitForElement selector="{{StorefrontCMSPageSection.mainTitle}}" stepKey="waitHomePage"/>
|
189 | 211 | <seeCurrentUrlEquals url="{{_ENV.MAGENTO_BASE_URL}}" stepKey="seeHomePageUrl"/>
|
|
0 commit comments