|
73 | 73 |
|
74 | 74 | <!-- 4. Click Sign Out -->
|
75 | 75 | <actionGroup ref="CustomerLogoutStorefrontByMenuItemsActionGroup" stepKey="logoutJohnSmithCustomer"/>
|
76 |
| - <seeInCurrentUrl url="{{StorefrontCustomerLogoutSuccessPage.url}}" stepKey="seeLogoutSuccessPageUrlAfterLogOutJohnSmithCustomer"/> |
77 |
| - <waitForPageLoad stepKey="waitForRedirectToHomePage"/> |
78 |
| - <waitForText selector="{{StorefrontCmsPageSection.mainContent}}" userInput="CMS homepage content goes here." stepKey="waitForLoadContentMessage"/> |
| 76 | + <actionGroup ref="StorefrontWaitCustomerLoggedOut" stepKey="waitJohnSmithCustomerLoggedOut"/> |
79 | 77 | <actionGroup ref="StorefrontAssertPersistentCustomerWelcomeMessageNotPresentActionGroup" stepKey="dontSeeWelcomeJohnSmithCustomerNotYouMessage">
|
80 | 78 | <argument name="customerFullName" value="{{John_Smith_Customer.fullname}}"/>
|
81 | 79 | </actionGroup>
|
|
102 | 100 |
|
103 | 101 | <!-- 7. Click Log Out -->
|
104 | 102 | <actionGroup ref="CustomerLogoutStorefrontByMenuItemsActionGroup" stepKey="logoutJohnDoeCustomer"/>
|
105 |
| - <seeInCurrentUrl url="{{StorefrontCustomerLogoutSuccessPage.url}}" stepKey="seeLogoutSuccessPageUrlAfterLogOutJohnDoeCustomer"/> |
106 |
| - <waitForPageLoad stepKey="waitForHomePageLoad"/> |
107 |
| - <waitForText selector="{{StorefrontCmsPageSection.mainContent}}" userInput="CMS homepage content goes here." stepKey="waitForLoadContentMessageOnHomePage"/> |
| 103 | + <actionGroup ref="StorefrontWaitCustomerLoggedOut" stepKey="waitJohnDoeCustomerLoggedOut"/> |
108 | 104 | <actionGroup ref="StorefrontAssertPersistentCustomerWelcomeMessageActionGroup" stepKey="seeWelcomeForJohnDoeCustomer">
|
109 | 105 | <argument name="customerFullName" value="{{Simple_Customer_Without_Address.fullname}}"/>
|
110 | 106 | </actionGroup>
|
|
149 | 145 |
|
150 | 146 | <!-- 12. Sign out and click the Not you? link -->
|
151 | 147 | <actionGroup ref="CustomerLogoutStorefrontByMenuItemsActionGroup" stepKey="logoutJohnDoeCustomerSecondTime"/>
|
152 |
| - <seeInCurrentUrl url="{{StorefrontCustomerLogoutSuccessPage.url}}" stepKey="seeLogoutSuccessPageUrlAfterLogOutJohnSmithCustomerSecondTime"/> |
153 |
| - <waitForPageLoad stepKey="waitForHomePageLoadAfter5Seconds"/> |
154 |
| - <waitForText selector="{{StorefrontCmsPageSection.mainContent}}" userInput="CMS homepage content goes here." stepKey="waitForLoadMainContentMessageOnHomePage"/> |
| 148 | + <actionGroup ref="StorefrontWaitCustomerLoggedOut" stepKey="waitJohnDoeCustomerLoggedOutSecondTime"/> |
155 | 149 | <click selector="{{StorefrontPanelHeaderSection.notYouLink}}" stepKey="clickOnNotYouLink" />
|
156 | 150 | <waitForPageLoad stepKey="waitForCustomerLoginPageLoad"/>
|
157 | 151 | <actionGroup ref="AssertMiniCartEmpty" stepKey="assertMiniCartEmptyAfterJohnDoeSignOut" />
|
|
0 commit comments