|
38 | 38 | <deleteData createDataKey="product" stepKey="deleteProduct"/> |
39 | 39 | <deleteData createDataKey="category" stepKey="deleteCategory"/> |
40 | 40 | </after> |
| 41 | + <comment userInput="Open product page | Comment is kept to preserve the step key for backward compatibility" stepKey="openProdPage"/> |
| 42 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="goToSimpleProductPage"/> |
41 | 43 |
|
42 | | - <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductStorefront"> |
| 44 | + <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="waitForSimpleProductPage"> |
43 | 45 | <argument name="productUrl" value="$$product.custom_attributes[url_key]$$"/> |
44 | 46 | </actionGroup> |
45 | | - |
| 47 | + |
| 48 | + <comment userInput="'Add to compare' link is not available | Comment is kept to preserve the step key for backward compatibility" stepKey="addToCompareLinkAvailability"/> |
| 49 | + |
46 | 50 | <dontSeeElement selector="{{StorefrontProductInfoMainSection.productAddToCompare}}" stepKey="dontSeeAddToCompareLink"/> |
47 | 51 |
|
| 52 | + <comment userInput="Turn on 'out of stock' config | Comment is kept to preserve the step key for backward compatibility" stepKey="onOutOfStockConfig"/> |
48 | 53 | <magentoCLI command="config:set {{CatalogInventoryOptionsShowOutOfStockEnable.path}} {{CatalogInventoryOptionsShowOutOfStockEnable.value}}" stepKey="setConfigShowOutOfStockTrue"/> |
49 | 54 |
|
| 55 | + <comment userInput="Clear cache and reindex | Comment is kept to preserve the step key for backward compatibility" stepKey="cleanCache"/> |
50 | 56 | <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex"> |
51 | 57 | <argument name="indices" value=""/> |
52 | 58 | </actionGroup> |
53 | 59 | <actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache"> |
54 | 60 | <argument name="tags" value=""/> |
55 | 61 | </actionGroup> |
56 | 62 |
|
57 | | - <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductStorefront1"> |
| 63 | + <comment userInput="Open product page | Comment is kept to preserve the step key for backward compatibility" stepKey="openProductPage"/> |
| 64 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="goToSimpleProductPage2"/> |
| 65 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForSimpleProductPage2"/> |
| 66 | + <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="seeAddToCompareLink"> |
58 | 67 | <argument name="productUrl" value="$$product.custom_attributes[url_key]$$"/> |
59 | 68 | </actionGroup> |
| 69 | + |
| 70 | + <comment userInput="Click on 'Add to Compare' link | Comment is kept to preserve the step key for backward compatibility" stepKey="clickOnAddToCompareLink"/> |
| 71 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickOnAddToCompare"/> |
| 72 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForProdAddToCmpList"/> |
| 73 | + <comment userInput="Assert success message | Comment is kept to preserve the step key for backward compatibility" stepKey="assertSuccessMsg"/> |
| 74 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="grabTextFromSuccessMessage"/> |
60 | 75 |
|
61 | | - <actionGroup ref="StorefrontAddProductToCompareActionGroup" stepKey="addProductToCompare1"> |
| 76 | + <actionGroup ref="StorefrontAddProductToCompareActionGroup" stepKey="assertSuccessMessage"> |
62 | 77 | <argument name="productVar" value="$$product$$"/> |
63 | 78 | </actionGroup> |
64 | 79 |
|
65 | | - <actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPage"> |
| 80 | + <comment userInput="See product in the comparison list | Comment is kept to preserve the step key for backward compatibility" stepKey="seeProductInComparisonList"/> |
| 81 | + |
| 82 | + <actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPage"> |
66 | 83 | <argument name="categoryName" value="$$category.name$$"/> |
67 | 84 | </actionGroup> |
68 | 85 |
|
69 | | - <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="compareOpenComparePage"/> |
| 86 | + <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="navigateToComparePage"/> |
| 87 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontProductComparePageLoad"/> |
70 | 88 |
|
71 | | - <actionGroup ref="SeeProductInComparisonListActionGroup" stepKey="seeProductInComparisonList"> |
| 89 | + <actionGroup ref="SeeProductInComparisonListActionGroup" stepKey="seeProductInCompareList"> |
72 | 90 | <argument name="productVar" value="$$product$$"/> |
73 | 91 | </actionGroup> |
74 | 92 |
|
75 | | - <actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPage1"> |
| 93 | + |
| 94 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="deleteProdFromCmpList"/> |
| 95 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="onCategoryPage"/> |
| 96 | + <actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="waitForPageLoad1"> |
76 | 97 | <argument name="categoryName" value="$$category.name$$"/> |
77 | 98 | </actionGroup> |
78 | 99 |
|
79 | | - <actionGroup ref="StorefrontClearCompareActionGroup" stepKey="clearList"/> |
| 100 | + <actionGroup ref="StorefrontClearCompareActionGroup" stepKey="clickClearAll"/> |
| 101 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForConfirmPageLoad"/> |
| 102 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="confirmProdDelate"/> |
| 103 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForConfirmLoad"/> |
| 104 | + <comment userInput="Add product to compare list fom Category page | Comment is kept to preserve the step key for backward compatibility" stepKey="addToCmpFromCategPage"/> |
80 | 105 |
|
81 | | - <actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/> |
| 106 | + <actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverOverProduct"/> |
82 | 107 |
|
83 | | - <actionGroup ref="StorefrontAddProductToCompareActionGroup" stepKey="addProductToCompare2"> |
| 108 | + <actionGroup ref="StorefrontAddProductToCompareActionGroup" stepKey="clickAddToCompare"> |
84 | 109 | <argument name="productVar" value="$$product$$"/> |
85 | 110 | </actionGroup> |
86 | | - |
| 111 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitProdAddingToCmpList"/> |
| 112 | + <comment userInput="Assert success message | Comment is kept to preserve the step key for backward compatibility" stepKey="assertSuccessMsg2"/> |
| 113 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="grabTextFromSuccessMessage2"/> |
| 114 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="assertSuccessMessage2"/> |
| 115 | + |
| 116 | + <comment userInput="Check that product displays on add to compare widget | Comment is kept to preserve the step key for backward compatibility" stepKey="checkProdNameOnWidget"/> |
87 | 117 | <seeElement selector="{{StorefrontComparisonSidebarSection.ProductTitleByName($$product.name$$)}}" stepKey="seeProdNameOnCmpWidget"/> |
88 | 118 |
|
89 | | - <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="compareOpenComparePage1"/> |
| 119 | + <comment userInput="See product in the compare page" stepKey="seeProductInComparePage"/> |
| 120 | + <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="navigateToComparePage2"/> |
| 121 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontProductComparePageLoad2"/> |
90 | 122 |
|
91 | | - <actionGroup ref="SeeProductInComparisonListActionGroup" stepKey="seeProductInComparisonList1"> |
| 123 | + <actionGroup ref="SeeProductInComparisonListActionGroup" stepKey="seeProductInCompareList2"> |
92 | 124 | <argument name="productVar" value="$$product$$"/> |
93 | 125 | </actionGroup> |
94 | 126 |
|
|
0 commit comments