|
53 | 53 | </actionGroup>
|
54 | 54 |
|
55 | 55 | <!--Go to Catalog > Categories (choose category where created products)-->
|
56 |
| - <amOnPage url="{{AdminCategoryPage.url}}" stepKey="onCategoryIndexPage"/> |
57 |
| - <waitForPageLoad stepKey="waitForCategoryPageLoadAddProducts" after="onCategoryIndexPage"/> |
58 |
| - <click selector="{{AdminCategorySidebarTreeSection.expandAll}}" stepKey="clickExpandAll" after="waitForCategoryPageLoadAddProducts"/> |
59 |
| - <click selector="{{AdminCategorySidebarTreeSection.categoryInTree(SimpleSubCategory.name)}}" stepKey="clickCategoryLink"/> |
60 |
| - <waitForPageLoad stepKey="waitForCategoryPageLoad"/> |
| 56 | + <actionGroup ref="AdminOpenCategoryPageActionGroup" stepKey="onCategoryIndexPage"/> |
| 57 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCategoryPageLoadAddProducts"/> |
| 58 | + <actionGroup ref="AdminExpandCategoryTreeActionGroup" stepKey="clickExpandAll"/> |
| 59 | + <actionGroup ref="AdminCategoriesOpenCategoryActionGroup" stepKey="clickCategoryLink"> |
| 60 | + <argument name="category" value="SimpleSubCategory"/> |
| 61 | + </actionGroup> |
| 62 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCategoryPageLoad"/> |
61 | 63 |
|
62 | 64 | <!--Content > Add CMS Block: name saved block-->
|
63 | 65 | <waitForElementVisible selector="{{AdminCategoryContentSection.sectionHeader}}" stepKey="waitForContentSection"/>
|
|
75 | 77 | <actionGroup ref="AssertAdminCategorySaveSuccessMessageActionGroup" stepKey="seeSuccessMessage"/>
|
76 | 78 |
|
77 | 79 | <!--Go to Storefront > category-->
|
78 |
| - <amOnPage url="$$simplecategory.custom_attributes[url_key]$$.html" stepKey="goToStorefrontCategoryPage"/> |
79 |
| - <waitForPageLoad stepKey="waitForStorefrontPageLoaded"/> |
| 80 | + <actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="goToStorefrontCategoryPage"> |
| 81 | + <argument name="category" value="$$simplecategory$$"/> |
| 82 | + </actionGroup> |
| 83 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontPageLoaded"/> |
80 | 84 |
|
81 | 85 | <!--Check operators Greater than-->
|
82 | 86 | <dontSeeElement selector="{{InsertWidgetSection.checkElementStorefrontByPrice('10')}}" stepKey="dontSeeElementByPrice20"/>
|
|
95 | 99 | </actionGroup>
|
96 | 100 |
|
97 | 101 | <!--Go to Storefront > category-->
|
98 |
| - <amOnPage url="$$simplecategory.custom_attributes[url_key]$$.html" stepKey="goToStorefrontCategoryPage2"/> |
99 |
| - <waitForPageLoad stepKey="waitForStorefrontPageLoaded2"/> |
| 102 | + <actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="goToStorefrontCategoryPage2"> |
| 103 | + <argument name="category" value="$$simplecategory$$"/> |
| 104 | + </actionGroup> |
| 105 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontPageLoaded2"/> |
100 | 106 |
|
101 | 107 | <!--Check operators Greater than-->
|
102 | 108 | <seeElement selector="{{InsertWidgetSection.checkElementStorefrontByPrice('10')}}" stepKey="seeElementByPrice20"/>
|
|
115 | 121 | </actionGroup>
|
116 | 122 |
|
117 | 123 | <!--Go to Storefront > category-->
|
118 |
| - <amOnPage url="$$simplecategory.custom_attributes[url_key]$$.html" stepKey="goToStorefrontCategoryPage3"/> |
119 |
| - <waitForPageLoad stepKey="waitForStorefrontPageLoaded3"/> |
| 124 | + <actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="goToStorefrontCategoryPage3"> |
| 125 | + <argument name="category" value="$$simplecategory$$"/> |
| 126 | + </actionGroup> |
| 127 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontPageLoaded3"/> |
120 | 128 |
|
121 | 129 | <!--Check operators Greater than-->
|
122 | 130 | <dontSeeElement selector="{{InsertWidgetSection.checkElementStorefrontByPrice('10')}}" stepKey="dontSeeElementByPrice20s"/>
|
|
135 | 143 | </actionGroup>
|
136 | 144 |
|
137 | 145 | <!--Go to Storefront > category-->
|
138 |
| - <amOnPage url="$$simplecategory.custom_attributes[url_key]$$.html" stepKey="goToStorefrontCategoryPage4"/> |
139 |
| - <waitForPageLoad stepKey="waitForStorefrontPageLoaded4"/> |
| 146 | + <actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="goToStorefrontCategoryPage4"> |
| 147 | + <argument name="category" value="$$simplecategory$$"/> |
| 148 | + </actionGroup> |
| 149 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForStorefrontPageLoaded4"/> |
140 | 150 |
|
141 | 151 | <!--Check operators Greater than-->
|
142 | 152 | <seeElement selector="{{InsertWidgetSection.checkElementStorefrontByPrice('10')}}" stepKey="seeElementByPrice20s"/>
|
|
0 commit comments