|
29 | 29 | <createData entity="_defaultProduct" stepKey="simpleProduct3">
|
30 | 30 | <requiredEntity createDataKey="category1"/>
|
31 | 31 | </createData>
|
| 32 | + |
| 33 | + <actionGroup ref="LoginAsAdmin" stepKey="logInAsAdmin"/> |
32 | 34 | </before>
|
33 | 35 | <after>
|
| 36 | + <actionGroup ref="logout" stepKey="logoutFromAdmin"/> |
| 37 | + |
34 | 38 | <deleteData createDataKey="simpleProduct1" stepKey="deleteSimp1"/>
|
35 | 39 | <deleteData createDataKey="simpleProduct2" stepKey="deleteSimp2"/>
|
36 | 40 | <deleteData createDataKey="simpleProduct3" stepKey="deleteSimp3"/>
|
37 | 41 | <deleteData createDataKey="category1" stepKey="deleteCategory"/>
|
38 | 42 | </after>
|
39 | 43 |
|
40 |
| - <actionGroup ref="LoginAsAdmin" stepKey="logInAsAdmin"/> |
41 |
| - |
42 | 44 | <!-- Go to simpleProduct1, add simpleProduct2 and simpleProduct3 as cross-sell-->
|
43 | 45 | <amOnPage url="{{AdminProductEditPage.url($simpleProduct1.id$)}}" stepKey="goToProduct1"/>
|
44 | 46 | <click stepKey="openHeader1" selector="{{AdminProductFormRelatedUpSellCrossSellSection.sectionHeader}}"/>
|
|
50 | 52 | <argument name="sku" value="$simpleProduct3.sku$"/>
|
51 | 53 | </actionGroup>
|
52 | 54 | <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSave"/>
|
53 |
| - <waitForLoadingMaskToDisappear stepKey="waitForProductPageSave"/> |
| 55 | + <waitForPageLoad stepKey="waitForPageLoad1"/> |
54 | 56 |
|
55 | 57 | <!-- Go to simpleProduct3, add simpleProduct1 and simpleProduct2 as cross-sell-->
|
56 | 58 | <amOnPage url="{{AdminProductEditPage.url($simpleProduct3.id$)}}" stepKey="goToProduct3"/>
|
|
63 | 65 | <argument name="sku" value="$simpleProduct2.sku$"/>
|
64 | 66 | </actionGroup>
|
65 | 67 | <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSave2"/>
|
66 |
| - <waitForLoadingMaskToDisappear stepKey="waitForProductPageSave2"/> |
| 68 | + <waitForPageLoad stepKey="waitForPageLoad2"/> |
67 | 69 |
|
68 | 70 | <!-- Go to frontend, add simpleProduct1 to cart-->
|
69 | 71 | <actionGroup ref="AddSimpleProductToCart" stepKey="addSimp1ToCart">
|
|
0 commit comments