|
17 | 17 | <severity value="MAJOR"/>
|
18 | 18 | <testCaseId value="MC-139"/>
|
19 | 19 | <group value="Bundle"/>
|
| 20 | + <group value="SearchEngineElasticsearch"/> |
| 21 | + </annotations> |
| 22 | + <before> |
| 23 | + <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/> |
| 24 | + <createData entity="ApiProductWithDescription" stepKey="simple2" before="product"/> |
| 25 | + <createData entity="ApiBundleProduct" stepKey="product"/> |
| 26 | + <createData entity="DropDownBundleOption" stepKey="bundleOption"> |
| 27 | + <requiredEntity createDataKey="product"/> |
| 28 | + </createData> |
| 29 | + <createData entity="ApiBundleLink" stepKey="createBundleLink1"> |
| 30 | + <requiredEntity createDataKey="product"/> |
| 31 | + <requiredEntity createDataKey="bundleOption"/> |
| 32 | + <requiredEntity createDataKey="simple1"/> |
| 33 | + </createData> |
| 34 | + <createData entity="ApiBundleLink" stepKey="createBundleLink2"> |
| 35 | + <requiredEntity createDataKey="product"/> |
| 36 | + <requiredEntity createDataKey="bundleOption"/> |
| 37 | + <requiredEntity createDataKey="simple2"/> |
| 38 | + </createData> |
| 39 | + <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
| 40 | + <magentoCLI command="cache:flush" stepKey="flushCache"/> |
| 41 | + </before> |
| 42 | + <after> |
| 43 | + <deleteData createDataKey="simple1" stepKey="deleteSimple1" before="deleteSimple2"/> |
| 44 | + <deleteData createDataKey="simple2" stepKey="deleteSimple2" before="delete"/> |
| 45 | + </after> |
| 46 | + <see userInput="3 items" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/> |
| 47 | + <see userInput="$$product.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('1')}}" stepKey="seeProductName"/> |
| 48 | + <see userInput="$$simple1.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('2')}}" stepKey="seeSimple1ProductName"/> |
| 49 | + <see userInput="$$simple2.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('3')}}" stepKey="seeSimple2ProductName"/> |
| 50 | + </test> |
| 51 | + <test name="AdvanceCatalogSearchBundleByNameMysqlTest" extends="AdvanceCatalogSearchSimpleProductByNameTest"> |
| 52 | + <annotations> |
| 53 | + <features value="Bundle"/> |
| 54 | + <stories value="Advanced Catalog Product Search for all product types"/> |
| 55 | + <title value="Guest customer should be able to advance search Bundle product with product name using the MySQL search engine"/> |
| 56 | + <description value="Guest customer should be able to advance search Bundle product with product name using the MySQL search engine"/> |
| 57 | + <severity value="MAJOR"/> |
| 58 | + <testCaseId value="MC-20472"/> |
| 59 | + <group value="Bundle"/> |
| 60 | + <group value="SearchEngineMysql"/> |
20 | 61 | </annotations>
|
21 | 62 | <before>
|
22 | 63 | <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/>
|
|
56 | 97 | <before>
|
57 | 98 | <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/>
|
58 | 99 | <createData entity="ApiProductWithDescription" stepKey="simple2" before="product"/>
|
59 |
| - <createData entity="ApiBundleProduct" stepKey="product"/> |
| 100 | + <createData entity="ApiBundleProductUnderscoredSku" stepKey="product"/> |
60 | 101 | <createData entity="DropDownBundleOption" stepKey="bundleOption">
|
61 | 102 | <requiredEntity createDataKey="product"/>
|
62 | 103 | </createData>
|
|
87 | 128 | <severity value="MAJOR"/>
|
88 | 129 | <testCaseId value="MC-242"/>
|
89 | 130 | <group value="Bundle"/>
|
| 131 | + <group value="SearchEngineElasticsearch"/> |
| 132 | + </annotations> |
| 133 | + <before> |
| 134 | + <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/> |
| 135 | + <createData entity="ApiProductWithDescription" stepKey="simple2" before="product"/> |
| 136 | + <createData entity="ApiBundleProduct" stepKey="product"/> |
| 137 | + <createData entity="DropDownBundleOption" stepKey="bundleOption"> |
| 138 | + <requiredEntity createDataKey="product"/> |
| 139 | + </createData> |
| 140 | + <createData entity="ApiBundleLink" stepKey="createBundleLink1"> |
| 141 | + <requiredEntity createDataKey="product"/> |
| 142 | + <requiredEntity createDataKey="bundleOption"/> |
| 143 | + <requiredEntity createDataKey="simple1"/> |
| 144 | + </createData> |
| 145 | + <createData entity="ApiBundleLink" stepKey="createBundleLink2"> |
| 146 | + <requiredEntity createDataKey="product"/> |
| 147 | + <requiredEntity createDataKey="bundleOption"/> |
| 148 | + <requiredEntity createDataKey="simple2"/> |
| 149 | + </createData> |
| 150 | + <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
| 151 | + <magentoCLI command="cache:flush" stepKey="flushCache"/> |
| 152 | + </before> |
| 153 | + <after> |
| 154 | + <deleteData createDataKey="simple1" stepKey="deleteSimple1" before="deleteSimple2"/> |
| 155 | + <deleteData createDataKey="simple2" stepKey="deleteSimple2" before="delete"/> |
| 156 | + </after> |
| 157 | + <see userInput="3 items" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/> |
| 158 | + <see userInput="$$product.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('1')}}" stepKey="seeProductName"/> |
| 159 | + <see userInput="$$simple1.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('2')}}" stepKey="seeSimple1ProductName"/> |
| 160 | + <see userInput="$$simple2.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('3')}}" stepKey="seeSimple2ProductName"/> |
| 161 | + </test> |
| 162 | + <test name="AdvanceCatalogSearchBundleByDescriptionMysqlTest" extends="AdvanceCatalogSearchSimpleProductByDescriptionTest"> |
| 163 | + <annotations> |
| 164 | + <features value="Bundle"/> |
| 165 | + <stories value="Advanced Catalog Product Search for all product types"/> |
| 166 | + <title value="Guest customer should be able to advance search Bundle product with product description using the MySQL search engine"/> |
| 167 | + <description value="Guest customer should be able to advance search Bundle product with product description using the MySQL search engine"/> |
| 168 | + <severity value="MAJOR"/> |
| 169 | + <testCaseId value="MC-20473"/> |
| 170 | + <group value="Bundle"/> |
| 171 | + <group value="SearchEngineMysql"/> |
90 | 172 | </annotations>
|
91 | 173 | <before>
|
92 | 174 | <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/>
|
|
122 | 204 | <severity value="MAJOR"/>
|
123 | 205 | <testCaseId value="MC-250"/>
|
124 | 206 | <group value="Bundle"/>
|
| 207 | + <group value="SearchEngineElasticsearch"/> |
| 208 | + </annotations> |
| 209 | + <before> |
| 210 | + <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/> |
| 211 | + <createData entity="ApiProductWithDescription" stepKey="simple2" before="product"/> |
| 212 | + <createData entity="ApiBundleProduct" stepKey="product"/> |
| 213 | + <createData entity="DropDownBundleOption" stepKey="bundleOption"> |
| 214 | + <requiredEntity createDataKey="product"/> |
| 215 | + </createData> |
| 216 | + <createData entity="ApiBundleLink" stepKey="createBundleLink1"> |
| 217 | + <requiredEntity createDataKey="product"/> |
| 218 | + <requiredEntity createDataKey="bundleOption"/> |
| 219 | + <requiredEntity createDataKey="simple1"/> |
| 220 | + </createData> |
| 221 | + <createData entity="ApiBundleLink" stepKey="createBundleLink2"> |
| 222 | + <requiredEntity createDataKey="product"/> |
| 223 | + <requiredEntity createDataKey="bundleOption"/> |
| 224 | + <requiredEntity createDataKey="simple2"/> |
| 225 | + </createData> |
| 226 | + <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
| 227 | + <magentoCLI command="cache:flush" stepKey="flushCache"/> |
| 228 | + </before> |
| 229 | + <after> |
| 230 | + <deleteData createDataKey="simple1" stepKey="deleteSimple1" before="deleteSimple2"/> |
| 231 | + <deleteData createDataKey="simple2" stepKey="deleteSimple2" before="delete"/> |
| 232 | + </after> |
| 233 | + <see userInput="3 items" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/> |
| 234 | + <see userInput="$$product.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('1')}}" stepKey="seeProductName"/> |
| 235 | + <see userInput="$$simple1.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('2')}}" stepKey="seeSimple1ProductName"/> |
| 236 | + <see userInput="$$simple2.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('3')}}" stepKey="seeSimple2ProductName"/> |
| 237 | + </test> |
| 238 | + <test name="AdvanceCatalogSearchBundleByShortDescriptionMysqlTest" extends="AdvanceCatalogSearchSimpleProductByShortDescriptionTest"> |
| 239 | + <annotations> |
| 240 | + <features value="Bundle"/> |
| 241 | + <stories value="Advanced Catalog Product Search for all product types"/> |
| 242 | + <title value="Guest customer should be able to advance search Bundle product with product short description using the MySQL search engine"/> |
| 243 | + <description value="Guest customer should be able to advance search Bundle product with product short description using the MySQL search engine"/> |
| 244 | + <severity value="MAJOR"/> |
| 245 | + <testCaseId value="MC-20474"/> |
| 246 | + <group value="Bundle"/> |
| 247 | + <group value="SearchEngineMysql"/> |
125 | 248 | </annotations>
|
126 | 249 | <before>
|
127 | 250 | <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/>
|
|
157 | 280 | <severity value="MAJOR"/>
|
158 | 281 | <testCaseId value="MC-251"/>
|
159 | 282 | <group value="Bundle"/>
|
| 283 | + <group value="SearchEngineElasticsearch"/> |
| 284 | + </annotations> |
| 285 | + <before> |
| 286 | + <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/> |
| 287 | + <createData entity="ApiProductWithDescription" stepKey="simple2" before="product"/> |
| 288 | + <createData entity="ApiBundleProduct" stepKey="product"/> |
| 289 | + <createData entity="DropDownBundleOption" stepKey="bundleOption"> |
| 290 | + <requiredEntity createDataKey="product"/> |
| 291 | + </createData> |
| 292 | + <createData entity="ApiBundleLink" stepKey="createBundleLink1"> |
| 293 | + <requiredEntity createDataKey="product"/> |
| 294 | + <requiredEntity createDataKey="bundleOption"/> |
| 295 | + <requiredEntity createDataKey="simple1"/> |
| 296 | + </createData> |
| 297 | + <createData entity="ApiBundleLink" stepKey="createBundleLink2"> |
| 298 | + <requiredEntity createDataKey="product"/> |
| 299 | + <requiredEntity createDataKey="bundleOption"/> |
| 300 | + <requiredEntity createDataKey="simple2"/> |
| 301 | + </createData> |
| 302 | + <getData entity="GetProduct" stepKey="arg1"> |
| 303 | + <requiredEntity createDataKey="product"/> |
| 304 | + </getData> |
| 305 | + <getData entity="GetProduct" stepKey="arg2"> |
| 306 | + <requiredEntity createDataKey="simple1"/> |
| 307 | + </getData> |
| 308 | + <getData entity="GetProduct" stepKey="arg3"> |
| 309 | + <requiredEntity createDataKey="simple2"/> |
| 310 | + </getData> |
| 311 | + <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
| 312 | + <magentoCLI command="cache:flush" stepKey="flushCache"/> |
| 313 | + </before> |
| 314 | + <after> |
| 315 | + <deleteData createDataKey="simple1" stepKey="deleteSimple1" before="deleteSimple2"/> |
| 316 | + <deleteData createDataKey="simple2" stepKey="deleteSimple2" before="delete"/> |
| 317 | + </after> |
| 318 | + <see userInput="3 items" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/> |
| 319 | + <see userInput="$$product.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('1')}}" stepKey="seeProductName"/> |
| 320 | + <see userInput="$$simple1.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('2')}}" stepKey="seeSimple1ProductName"/> |
| 321 | + <see userInput="$$simple2.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.nthProductName('3')}}" stepKey="seeSimple2ProductName"/> |
| 322 | + </test> |
| 323 | + <test name="AdvanceCatalogSearchBundleByPriceMysqlTest" extends="AdvanceCatalogSearchSimpleProductByPriceTest"> |
| 324 | + <annotations> |
| 325 | + <features value="Bundle"/> |
| 326 | + <stories value="Advanced Catalog Product Search for all product types"/> |
| 327 | + <title value="Guest customer should be able to advance search Bundle product with product price using the MySQL search engine"/> |
| 328 | + <description value="Guest customer should be able to advance search Bundle product with product price the MySQL search engine"/> |
| 329 | + <severity value="MAJOR"/> |
| 330 | + <testCaseId value="MC-20475"/> |
| 331 | + <group value="Bundle"/> |
| 332 | + <group value="SearchEngineMysql"/> |
160 | 333 | </annotations>
|
161 | 334 | <before>
|
162 | 335 | <createData entity="ApiProductWithDescription" stepKey="simple1" before="simple2"/>
|
|
0 commit comments