|
19 | 19 | <group value="module-checkout"/>
|
20 | 20 | </annotations>
|
21 | 21 | <before>
|
22 |
| - <actionGroup ref="AdminLoginActionGroup" stepKey="LoginAsAdmin"/> |
23 | 22 | <!-- create category and simple product -->
|
24 | 23 | <createData entity="_defaultCategory" stepKey="createCategory"/>
|
25 | 24 | <createData entity="SimpleProduct" stepKey="createProduct">
|
26 | 25 | <requiredEntity createDataKey="createCategory"/>
|
27 | 26 | </createData>
|
28 | 27 | <!--Goto Admin Configuration page and Allow Guest Checkout is No-->
|
29 |
| - <actionGroup ref="AdminConfigurationAllowGuestCheckoutNoNavigateActionGroup" stepKey="storeConfigurationAllowGuestCheckoutNo"/> |
30 |
| - <actionGroup ref="SaveStoreConfigurationActionGroup" stepKey="clickOnSaveConfig"/> |
| 28 | + <createData entity="DisableAllowGuestCheckout" stepKey="storeConfigurationAllowGuestCheckoutNo"> |
| 29 | + </createData> |
31 | 30 | <!-- create customer and clean the cache and index-->
|
32 | 31 | <createData entity="Simple_US_Customer" stepKey="createCustomer"/>
|
33 | 32 | <comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
|
|
48 | 47 | <argument name="email" value="$$createCustomer.email$$"/>
|
49 | 48 | <argument name="password" value="$$createCustomer.password$$"/>
|
50 | 49 | </actionGroup>
|
51 |
| - <amOnPage url="{{AdminLoginPage.url}}" stepKey="onLoginPage"/> |
52 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingPage"/> |
53 |
| - |
54 | 50 | <after>
|
55 | 51 | <!--Goto Admin Configuration page and Allow Guest Checkout is Yes-->
|
56 |
| - <actionGroup ref="AdminConfigurationAllowGuestCheckoutYesNavigateActionGroup" stepKey="storeConfigurationAllowGuestCheckoutYes"/> |
57 |
| - <actionGroup ref="SaveStoreConfigurationActionGroup" stepKey="clickOnSaveConfigAgain"/> |
| 52 | + <createData entity="EnableAllowGuestCheckout" stepKey="storeConfigurationAllowGuestCheckoutYes"> |
| 53 | + </createData> |
58 | 54 | <!-- Delete created category, product and customer-->
|
59 | 55 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
60 | 56 | <deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
|
61 | 57 | <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
|
62 |
| - <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
63 | 58 | </after>
|
64 | 59 | </test>
|
65 | 60 | </tests>
|
0 commit comments