|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 11 | + <test name="CorrectCountOfAssignedProductsFromSubcategoriesTest"> |
| 12 | + <annotations> |
| 13 | + <features value="Count of products in subcategory"/> |
| 14 | + <stories value="Correct count of assigned products from subcategories"/> |
| 15 | + <title value="Correct count of assigned products from subcategories should be displayed"/> |
| 16 | + <description value="The number of products assigned in subcategory should be counted after anchor is enabled"/> |
| 17 | + <severity value="MAJOR"/> |
| 18 | + <testCaseId value="MC-28649"/> |
| 19 | + <group value="Catalog"/> |
| 20 | + </annotations> |
| 21 | + <before> |
| 22 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminPanel"/> |
| 23 | + <createData entity="SimpleProduct" stepKey="Product1Created"/> |
| 24 | + <createData entity="SimpleProductAfterImport2" stepKey="Product2Created"/> |
| 25 | + <createData entity="_defaultProduct" stepKey="Product3Created"/> |
| 26 | + <createData entity="SimpleProductAfterImport1" stepKey="Product4Created"/> |
| 27 | + <createData entity="SimpleProductBeforeUpdate" stepKey="Product5Created"/> |
| 28 | + <createData entity="NewRootCategory" stepKey="rootCategory" /> |
| 29 | + <createData entity="SimpleRootSubCategory" stepKey="category"> |
| 30 | + <requiredEntity createDataKey="rootCategory"/> |
| 31 | + </createData> |
| 32 | + |
| 33 | + </before> |
| 34 | + <after> |
| 35 | + <deleteData createDataKey="rootCategory" stepKey="deleterootCategory"/> |
| 36 | + <deleteData createDataKey="Product1Created" stepKey="deleteProduct1Created"/> |
| 37 | + <deleteData createDataKey="Product2Created" stepKey="deleteProduct2Created"/> |
| 38 | + <deleteData createDataKey="Product3Created" stepKey="deleteProduct3Created"/> |
| 39 | + <deleteData createDataKey="Product4Created" stepKey="deleteProduct4Created"/> |
| 40 | + <deleteData createDataKey="Product5Created" stepKey="deleteProduct5Created"/> |
| 41 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/> |
| 42 | + </after> |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + </test> |
| 47 | +</tests> |
| 48 | + |
0 commit comments