|
106 | 106 | </actionGroup>
|
107 | 107 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
108 | 108 | </after>
|
109 |
| - <!--Assert that attribute values present in layered navigation --> |
110 |
| - <amOnPage url="$$createCategory.custom_attributes[url_key]$$.html" stepKey="amOnCategoryPage"/> |
111 |
| - <waitForPageLoad stepKey="waitForCategoryPageLoad"/> |
112 |
| - <click selector="{{StorefrontCategorySidebarSection.seeLayeredNavigationCategoryTextSwatch}}" stepKey="clickTextSwatch"/> |
113 |
| - <click selector="{{StorefrontCategorySidebarSection.seeTextSwatchOption}}" stepKey="seeTextSwatch"/> |
114 |
| - <see userInput="{{SimpleProduct.name}}" stepKey="assertTextSwatchProduct"/> |
115 |
| - <!--Assert that attribute values present in layered navigation --> |
116 |
| - <amOnPage url="$$createCategory.custom_attributes[url_key]$$.html" stepKey="amOnCategoryPage1"/> |
117 |
| - <waitForPageLoad stepKey="waitForCategoryPageLoad1"/> |
118 |
| - <click selector="{{StorefrontCategorySidebarSection.seeLayeredNavigationCategoryVisualSwatch}}" stepKey="clickVisualSwatch"/> |
119 |
| - <click selector="{{StorefrontCategorySidebarSection.seeVisualSwatchOption}}" stepKey="seeVisualSwatch"/> |
120 |
| - <see userInput="{{DownloadableProduct.name}}" stepKey="assertVisualSwatchProduct"/> |
121 |
| - <!--Verfiy the text swatch attribute product appears in search option with option one --> |
122 |
| - <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage"/> |
123 |
| - <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionOne"> |
124 |
| - <argument name="phrase" value="textSwatchOption1"/> |
125 |
| - </actionGroup> |
126 |
| - <see selector="{{StorefrontCategoryMainSection.productName}}" userInput="{{SimpleProduct.name}}" stepKey="seeTextSwatchAttributeProductName"/> |
127 |
| - <!--Verfiy the text swatch attribute product does not appears in search option with option two --> |
128 |
| - <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage1"/> |
129 |
| - <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionTwo"> |
130 |
| - <argument name="phrase" value="textSwatchOption2"/> |
131 |
| - </actionGroup> |
132 |
| - <dontSee selector="{{StorefrontCatalogSearchMainSection.searchResults}}" userInput="{{SimpleProduct.name}}" stepKey="doNotSeeProduct"/> |
133 |
| - <!--Verfiy the visual swatch attribute product appears in search option with option two --> |
134 |
| - <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage2"/> |
135 |
| - <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionTwo1"> |
136 |
| - <argument name="phrase" value="visualSwatchOption2"/> |
137 |
| - </actionGroup> |
138 |
| - <waitForText selector="{{StorefrontCategoryMainSection.productName}}" userInput="{{DownloadableProduct.name}}" stepKey="seeVisualSwatchAttributeProductName"/> |
139 |
| - <!--Verfiy the visual swatch attribute product does not appear in search option with option one --> |
140 |
| - <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage3"/> |
141 |
| - <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionOne1"> |
142 |
| - <argument name="phrase" value="visualSwatchOption1"/> |
143 |
| - </actionGroup> |
144 |
| - <dontSee selector="{{StorefrontCatalogSearchMainSection.searchResults}}" userInput="{{DownloadableProduct.name}}" stepKey="doNotSeeProduct1"/> |
| 109 | + <!--Assert that attribute values present in layered navigation --> |
| 110 | + <amOnPage url="$$createCategory.custom_attributes[url_key]$$.html" stepKey="amOnCategoryPage"/> |
| 111 | + <waitForPageLoad stepKey="waitForCategoryPageLoad"/> |
| 112 | + <click selector="{{StorefrontCategorySidebarSection.seeLayeredNavigationCategoryTextSwatch}}" stepKey="clickTextSwatch"/> |
| 113 | + <click selector="{{StorefrontCategorySidebarSection.seeTextSwatchOption}}" stepKey="seeTextSwatch"/> |
| 114 | + <see userInput="{{SimpleProduct.name}}" stepKey="assertTextSwatchProduct"/> |
| 115 | + <!--Assert that attribute values present in layered navigation --> |
| 116 | + <amOnPage url="$$createCategory.custom_attributes[url_key]$$.html" stepKey="amOnCategoryPage1"/> |
| 117 | + <waitForPageLoad stepKey="waitForCategoryPageLoad1"/> |
| 118 | + <click selector="{{StorefrontCategorySidebarSection.seeLayeredNavigationCategoryVisualSwatch}}" stepKey="clickVisualSwatch"/> |
| 119 | + <click selector="{{StorefrontCategorySidebarSection.seeVisualSwatchOption}}" stepKey="seeVisualSwatch"/> |
| 120 | + <see userInput="{{DownloadableProduct.name}}" stepKey="assertVisualSwatchProduct"/> |
| 121 | + <!--Verfiy the text swatch attribute product appears in search option with option one --> |
| 122 | + <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage"/> |
| 123 | + <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionOne"> |
| 124 | + <argument name="phrase" value="textSwatchOption1"/> |
| 125 | + </actionGroup> |
| 126 | + <see selector="{{StorefrontCategoryMainSection.productName}}" userInput="{{SimpleProduct.name}}" stepKey="seeTextSwatchAttributeProductName"/> |
| 127 | + <!--Verfiy the text swatch attribute product does not appears in search option with option two --> |
| 128 | + <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage1"/> |
| 129 | + <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionTwo"> |
| 130 | + <argument name="phrase" value="textSwatchOption2"/> |
| 131 | + </actionGroup> |
| 132 | + <dontSee selector="{{StorefrontCatalogSearchMainSection.searchResults}}" userInput="{{SimpleProduct.name}}" stepKey="doNotSeeProduct"/> |
| 133 | + <!--Verfiy the visual swatch attribute product appears in search option with option two --> |
| 134 | + <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage2"/> |
| 135 | + <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionTwo1"> |
| 136 | + <argument name="phrase" value="visualSwatchOption2"/> |
| 137 | + </actionGroup> |
| 138 | + <waitForText selector="{{StorefrontCategoryMainSection.productName}}" userInput="{{DownloadableProduct.name}}" stepKey="seeVisualSwatchAttributeProductName"/> |
| 139 | + <!--Verfiy the visual swatch attribute product does not appear in search option with option one --> |
| 140 | + <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefrontPage3"/> |
| 141 | + <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchForOptionOne1"> |
| 142 | + <argument name="phrase" value="visualSwatchOption1"/> |
| 143 | + </actionGroup> |
| 144 | + <dontSee selector="{{StorefrontCatalogSearchMainSection.searchResults}}" userInput="{{DownloadableProduct.name}}" stepKey="doNotSeeProduct1"/> |
145 | 145 | </test>
|
146 | 146 | </tests>
|
0 commit comments