|
20 | 20 | <group value="Catalog"/>
|
21 | 21 | </annotations>
|
22 | 22 | <before>
|
| 23 | + <comment userInput="Adding the comment for preserving Backward Compatibility" stepKey="loginAsAdmin"/> |
23 | 24 | <magentoCLI command="config:set {{CatalogInventoryOptionsShowOutOfStockDisable.path}} {{CatalogInventoryOptionsShowOutOfStockDisable.value}}" stepKey="setConfigShowOutOfStockFalse"/>
|
24 | 25 | <actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
|
25 | 26 | <argument name="tags" value=""/>
|
|
35 | 36 | <actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
|
36 | 37 | <argument name="tags" value=""/>
|
37 | 38 | </actionGroup>
|
38 |
| - <deleteData createDataKey="product" stepKey="deleteProduct"/> |
39 |
| - <deleteData createDataKey="category" stepKey="deleteCategory"/> |
| 39 | + <deleteData createDataKey="product" stepKey="deleteProduct"/> |
| 40 | + <deleteData createDataKey="category" stepKey="deleteCategory"/> |
| 41 | + <comment userInput="Adding the comment for preserving Backward Compatibility" stepKey="logout"/> |
40 | 42 | </after>
|
41 | 43 | <comment userInput="Open product page | Comment is kept to preserve the step key for backward compatibility" stepKey="openProdPage"/>
|
42 | 44 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="goToSimpleProductPage"/>
|
|
48 | 50 | <comment userInput="'Add to compare' link is not available | Comment is kept to preserve the step key for backward compatibility" stepKey="addToCompareLinkAvailability"/>
|
49 | 51 |
|
50 | 52 | <dontSeeElement selector="{{StorefrontProductInfoMainSection.productAddToCompare}}" stepKey="dontSeeAddToCompareLink"/>
|
51 |
| - |
| 53 | + |
52 | 54 | <comment userInput="Turn on 'out of stock' config | Comment is kept to preserve the step key for backward compatibility" stepKey="onOutOfStockConfig"/>
|
53 | 55 | <magentoCLI command="config:set {{CatalogInventoryOptionsShowOutOfStockEnable.path}} {{CatalogInventoryOptionsShowOutOfStockEnable.value}}" stepKey="setConfigShowOutOfStockTrue"/>
|
54 |
| - |
| 56 | + |
55 | 57 | <comment userInput="Clear cache and reindex | Comment is kept to preserve the step key for backward compatibility" stepKey="cleanCache"/>
|
56 | 58 | <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
|
57 | 59 | <argument name="indices" value=""/>
|
|
72 | 74 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForProdAddToCmpList"/>
|
73 | 75 | <comment userInput="Assert success message | Comment is kept to preserve the step key for backward compatibility" stepKey="assertSuccessMsg"/>
|
74 | 76 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="grabTextFromSuccessMessage"/>
|
75 |
| - |
| 77 | + |
76 | 78 | <actionGroup ref="StorefrontAddProductToCompareActionGroup" stepKey="assertSuccessMessage">
|
77 | 79 | <argument name="productVar" value="$$product$$"/>
|
78 | 80 | </actionGroup>
|
79 | 81 |
|
80 | 82 | <comment userInput="See product in the comparison list | Comment is kept to preserve the step key for backward compatibility" stepKey="seeProductInComparisonList"/>
|
81 |
| - |
| 83 | + |
82 | 84 | <actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPage">
|
83 | 85 | <argument name="categoryName" value="$$category.name$$"/>
|
84 | 86 | </actionGroup>
|
|
112 | 114 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="grabTextFromSuccessMessage2"/>
|
113 | 115 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="assertSuccessMessage2"/>
|
114 | 116 |
|
115 |
| - <comment userInput="Check that product displays on add to compare widget | Comment is kept to preserve the step key for backward compatibility" stepKey="checkProdNameOnWidget"/> |
| 117 | + <comment userInput="Check that product displays on add to compare widget | Comment is kept to preserve the step key for backward compatibility" stepKey="checkProdNameOnWidget"/> |
116 | 118 | <seeElement selector="{{StorefrontComparisonSidebarSection.ProductTitleByName($$product.name$$)}}" stepKey="seeProdNameOnCmpWidget"/>
|
117 | 119 |
|
118 | 120 | <comment userInput="See product in the compare page" stepKey="seeProductInComparePage"/>
|
119 | 121 | <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="navigateToComparePage2"/>
|
120 | 122 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontProductComparePageLoad2"/>
|
121 |
| - |
| 123 | + |
122 | 124 | <actionGroup ref="SeeProductInComparisonListActionGroup" stepKey="seeProductInCompareList2">
|
123 | 125 | <argument name="productVar" value="$$product$$"/>
|
124 | 126 | </actionGroup>
|
|
0 commit comments