Skip to content

Commit bb59141

Browse files
committed
MQE-1441: Deliver weekly PR
- Add mftf_migrated:yes tag to MTF tests - Fix many incorrect testCaseIds
1 parent 47d89b7 commit bb59141

File tree

11 files changed

+24
-14
lines changed

11 files changed

+24
-14
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AddToCartCrossSellTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Admin should be able to add cross-sell to products."/>
1616
<description value="Create products, add products to cross sells, and check that they appear in the Shopping Cart page."/>
1717
<severity value="MAJOR"/>
18-
<testCaseId value="MC-113"/>
18+
<testCaseId value="MC-9143"/>
1919
<group value="Catalog"/>
2020
</annotations>
2121
<before>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateAndSwitchProductType.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<title value="Admin should be able to switch a new product from virtual to simple"/>
6868
<description value="After selecting a virtual product when adding Admin should be switch to simple implicitly"/>
6969
<severity value="CRITICAL"/>
70-
<testCaseId value="MC-10925"/>
70+
<testCaseId value="MC-10928"/>
7171
<group value="catalog"/>
7272
<group value="mtf_migrated"/>
7373
</annotations>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateAndSwitchProductType.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Admin should be able to switch a new product from configurable to simple"/>
1616
<description value="After selecting a configurable product when adding Admin should be switch to simple implicitly"/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MC-10925"/>
18+
<testCaseId value="MC-10926"/>
1919
<group value="catalog"/>
2020
<group value="mtf_migrated"/>
2121
</annotations>
@@ -34,7 +34,7 @@
3434
<title value="Admin should be able to switch a new product from configurable to virtual"/>
3535
<description value="After selecting a configurable product when adding Admin should be switch to virtual implicitly"/>
3636
<severity value="CRITICAL"/>
37-
<testCaseId value="MC-10925"/>
37+
<testCaseId value="MC-10927"/>
3838
<group value="catalog"/>
3939
<group value="mtf_migrated"/>
4040
</annotations>
@@ -43,14 +43,14 @@
4343
</actionGroup>
4444
<see selector="{{AdminProductGridSection.productGridCell('1', 'Type')}}" userInput="Virtual Product" stepKey="seeProductTypeInGrid"/>
4545
</test>
46-
<test name="AdminCreateSimpleProductSwitchToConfigurableTest" extends="AdminCreateSimpleProductSwitchToVirtualTest">
46+
<test name="AdminCreateVirtualProductSwitchToConfigurableTest" extends="AdminCreateSimpleProductSwitchToVirtualTest">
4747
<annotations>
4848
<features value="Catalog"/>
4949
<stories value="Product Type Switching"/>
50-
<title value="Admin should be able to switch a new product from simple to configurable"/>
51-
<description value="After selecting a simple product when adding Admin should be switch to configurable implicitly"/>
50+
<title value="Admin should be able to switch a new product from virtual to configurable"/>
51+
<description value="After selecting a virtual product when adding Admin should be switch to configurable implicitly"/>
5252
<severity value="CRITICAL"/>
53-
<testCaseId value="MC-10925"/>
53+
<testCaseId value="MC-10930"/>
5454
<group value="catalog"/>
5555
<group value="mtf_migrated"/>
5656
</annotations>
@@ -64,7 +64,7 @@
6464
<deleteData stepKey="deleteAttribute" createDataKey="createConfigProductAttribute"/>
6565
</after>
6666
<actionGroup ref="GoToSpecifiedCreateProductPage" stepKey="openProductFillForm">
67-
<argument name="productType" value="simple"/>
67+
<argument name="productType" value="virtual"/>
6868
</actionGroup>
6969
<actionGroup ref="fillMainProductForm" stepKey="fillProductForm">
7070
<argument name="product" value="_defaultProduct"/>

app/code/Magento/Downloadable/Test/Mftf/Test/AdminCreateAndSwitchProductType.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<title value="Admin should be able to switch a new product from downloadable to simple"/>
1616
<description value="After selecting a downloadable product when adding Admin should be switch to simple implicitly"/>
1717
<severity value="CRITICAL"/>
18-
<testCaseId value="MC-10925"/>
18+
<testCaseId value="MC-10929"/>
1919
<group value="catalog"/>
2020
<group value="mtf_migrated"/>
2121
</annotations>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/AddToCartCrossSellTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\Product\AddToCartCrossSellTest" summary="Promote Products as Cross-Sells" ticketId="MAGETWO-12390">
1010
<variation name="AddToCartCrossSellTestVariation1" method="test">
11-
<data name="tag" xsi:type="string">test_type:acceptance_test, test_type:extended_acceptance_test</data>
11+
<data name="tag" xsi:type="string">test_type:acceptance_test, test_type:extended_acceptance_test, mftf_migrated:yes</data>
1212
<data name="products" xsi:type="string">simple1::catalogProductSimple::product_with_category,simple2::catalogProductSimple::product_with_category,config1::configurableProduct::two_options_with_fixed_price</data>
1313
<data name="promotedProducts" xsi:type="string">simple1:simple2,config1;config1:simple2</data>
1414
<data name="navigateProductsOrder" xsi:type="string">simple1,config1,simple2</data>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/ManageProductsStockTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<constraint name="Magento\Checkout\Test\Constraint\AssertProductQtyInShoppingCart" />
1616
</variation>
1717
<variation name="ManageProductsStockTestVariation2" summary="Checking that Out of Stock products are not visible in category" ticketId="MAGETWO-13645">
18+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
1819
<data name="product/dataset" xsi:type="string">product_with_category</data>
1920
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
2021
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">5</data>
@@ -33,6 +34,7 @@
3334
<constraint name="Magento\Catalog\Test\Constraint\AssertProductOutOfStock" />
3435
</variation>
3536
<variation name="ManageProductsStockTestVariation3" summary="Add In Stock product to cart" ticketId="MAGETWO-13645">
37+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
3638
<data name="product/dataset" xsi:type="string">product_with_category</data>
3739
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
3840
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">5</data>
@@ -51,6 +53,7 @@
5153
<constraint name="Magento\Catalog\Test\Constraint\AssertProductPage" />
5254
</variation>
5355
<variation name="ManageProductsStockTestVariation4" summary="Enable displaying of out of stock products in category" ticketId="MAGETWO-13645">
56+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
5457
<data name="product/dataset" xsi:type="string">product_with_category</data>
5558
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
5659
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">5</data>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/ProductTypeSwitchingOnCreationTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\Product\ProductTypeSwitchingOnCreationTest" summary="Product Type Switching on Creation" ticketId="MAGETWO-29398">
1010
<variation name="ProductTypeSwitchingOnCreationTestVariation1">
11-
<data name="tag" xsi:type="string">stable:no</data>
11+
<data name="tag" xsi:type="string">stable:no, mftf_migrated:yes</data>
1212
<data name="createProduct" xsi:type="string">simple</data>
1313
<data name="product" xsi:type="string">configurableProduct::default</data>
14-
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
1514
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
1615
<constraint name="Magento\Catalog\Test\Constraint\AssertProductInGrid" />
1716
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertChildProductsInGrid" />
@@ -36,6 +35,7 @@
3635
<constraint name="Magento\Catalog\Test\Constraint\AssertProductInGrid" />
3736
</variation>
3837
<variation name="ProductTypeSwitchingOnCreationTestVariation4">
38+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
3939
<data name="issue" xsi:type="string">MSI-1624</data>
4040
<data name="createProduct" xsi:type="string">configurable</data>
4141
<data name="product" xsi:type="string">catalogProductVirtual::required_fields</data>
@@ -50,7 +50,7 @@
5050
<constraint name="Magento\Catalog\Test\Constraint\AssertProductInGrid" />
5151
</variation>
5252
<variation name="ProductTypeSwitchingOnCreationTestVariation6">
53-
<data name="tag" xsi:type="string">stable:no</data>
53+
<data name="tag" xsi:type="string">stable:no, mftf_migrated:yes</data>
5454
<data name="createProduct" xsi:type="string">virtual</data>
5555
<data name="product" xsi:type="string">configurableProduct::not_virtual_for_type_switching</data>
5656
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/ProductAttribute/CreateAttributeSetEntityTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\ProductAttribute\CreateAttributeSetEntityTest" summary="Create Attribute Set (Attribute Set)" ticketId="MAGETWO-25104">
1010
<variation name="CreateAttributeSetEntityTestVariation1">
11+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
1112
<data name="attributeSet/data/attribute_set_name" xsi:type="string">AttributeSet%isolation%</data>
1213
<data name="attributeSet/data/skeleton_set/dataset" xsi:type="string">default</data>
1314
<constraint name="Magento\Catalog\Test\Constraint\AssertAttributeSetSuccessSaveMessage" />

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/ProductAttribute/CreateProductAttributeEntityFromProductPageTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\ProductAttribute\CreateProductAttributeEntityFromProductPageTest" summary="Create Product Attribute from Product Page" ticketId="MAGETWO-30528">
1010
<variation name="CreateProductAttributeEntityFromProductPageTestVariation1_Searchable_Global_Visible_Comparable_HtmlAllowed_UsedForSorting">
11+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
1112
<data name="attribute/data/frontend_label" xsi:type="string">Text_Field_Admin_%isolation%</data>
1213
<data name="attribute/data/frontend_input" xsi:type="string">Text Field</data>
1314
<data name="attribute/data/is_required" xsi:type="string">No</data>
@@ -33,6 +34,7 @@
3334
<constraint name="Magento\Catalog\Test\Constraint\AssertProductAttributeIsUsedInSortOnFrontend" />
3435
</variation>
3536
<variation name="CreateProductAttributeEntityFromProductPageTestVariation2_Filterable">
37+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
3638
<data name="attribute/data/frontend_label" xsi:type="string">Dropdown_Admin_%isolation%</data>
3739
<data name="attribute/data/frontend_input" xsi:type="string">Dropdown</data>
3840
<data name="attribute/data/options/dataset" xsi:type="string">two_options</data>
@@ -50,6 +52,7 @@
5052
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertProductAttributeIsConfigurable" />
5153
</variation>
5254
<variation name="CreateProductAttributeEntityFromProductPageTestVariation3_Required">
55+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
5356
<data name="attribute/data/frontend_label" xsi:type="string">Text_Field_Admin_%isolation%</data>
5457
<data name="attribute/data/frontend_input" xsi:type="string">Text Field</data>
5558
<data name="attribute/data/is_required" xsi:type="string">Yes</data>
@@ -59,6 +62,7 @@
5962
<constraint name="Magento\Catalog\Test\Constraint\AssertProductAttributeIsRequired" />
6063
</variation>
6164
<variation name="CreateProductAttributeEntityFromProductPageTestVariation4_Unique">
65+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
6266
<data name="attribute/data/frontend_label" xsi:type="string">Text_Field_Admin_%isolation%</data>
6367
<data name="attribute/data/frontend_input" xsi:type="string">Text Field</data>
6468
<data name="attribute/data/is_required" xsi:type="string">No</data>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/ProductAttribute/DeleteSystemProductAttributeTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\ProductAttribute\DeleteSystemProductAttributeTest" summary="Delete System Product Attribute" ticketId="MAGETWO-24771">
1010
<variation name="DeleteSystemProductAttributeTestVariation1">
11+
<data name="tag" xsi:type="string">mftf_migrated:yes</data>
1112
<data name="productAttribute/data/attribute_code" xsi:type="string">news_from_date</data>
1213
<data name="productAttribute/data/is_user_defined" xsi:type="string">Yes</data>
1314
<constraint name="Magento\Catalog\Test\Constraint\AssertAbsenceDeleteAttributeButton" />

0 commit comments

Comments
 (0)