Skip to content

Commit b3aa88a

Browse files
committed
MC-21958: Merge to mainline EPAM PR 84
- mftf tests stabilization
1 parent cd9a11c commit b3aa88a

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/ProductData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,8 +1086,8 @@
10861086
<data key="name" unique="suffix">BBB Product</data>
10871087
</entity>
10881088
<entity name="simpleProductWithShortNameAndSku" type="product" extends="defaultSimpleProduct">
1089-
<data key="name">Simple_Product</data>
1090-
<data key="sku">testsku</data>
1089+
<data key="name">Test_Product</data>
1090+
<data key="sku">test_sku</data>
10911091
</entity>
10921092
<entity name="productWithSpecialCharacters" type="product" extends="_defaultProduct">
10931093
<data key="name" unique="suffix">Product "!@#$%^&amp;*()+:;\|}{][?=~` </data>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,21 @@
2222
<before>
2323
<createData entity="ApiCategory" stepKey="createCategory"/>
2424
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
25-
2625
<!-- Create a configurable product via the UI -->
2726
<actionGroup ref="createConfigurableProduct" stepKey="createProduct">
2827
<argument name="product" value="_defaultProduct"/>
2928
<argument name="category" value="$$createCategory$$"/>
3029
</actionGroup>
30+
<!-- TODO: REMOVE AFTER FIX MC-21717 -->
31+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
32+
<magentoCLI command="cache:flush eav" stepKey="flushCache"/>
3133
</before>
3234

3335
<after>
3436
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
37+
<actionGroup stepKey="deleteProduct" ref="deleteProductBySku">
38+
<argument name="sku" value="{{_defaultProduct.sku}}"/>
39+
</actionGroup>
3540
<actionGroup ref="logout" stepKey="adminLogout"/>
3641
</after>
3742

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sku,store_view_code,attribute_set_code,product_type,categories,product_websites,name,description,short_description,weight,product_online,tax_class_name,visibility,price,special_price,special_price_from_date,special_price_to_date,url_key,meta_title,meta_keywords,meta_description,base_image,base_image_label,small_image,small_image_label,thumbnail_image,thumbnail_image_label,swatch_image,swatch_image_label,created_at,updated_at,new_from_date,new_to_date,display_product_options_in,map_price,msrp_price,map_enabled,gift_message_available,custom_design,custom_design_from,custom_design_to,custom_layout_update,page_layout,product_options_container,msrp_display_actual_price_type,country_of_manufacture,additional_attributes,qty,out_of_stock_qty,use_config_min_qty,is_qty_decimal,allow_backorders,use_config_backorders,min_cart_qty,use_config_min_sale_qty,max_cart_qty,use_config_max_sale_qty,is_in_stock,notify_on_stock_below,use_config_notify_stock_qty,manage_stock,use_config_manage_stock,use_config_qty_increments,qty_increments,use_config_enable_qty_inc,enable_qty_increments,is_decimal_divided,website_id,deferred_stock_update,use_config_deferred_stock_update,related_skus,related_position,crosssell_skus,crosssell_position,upsell_skus,upsell_position,additional_images,additional_image_labels,hide_from_product_page,custom_options,bundle_price_type,bundle_sku_type,bundle_price_view,bundle_weight_type,bundle_values,bundle_shipment_type,giftcard_type,giftcard_allow_open_amount,giftcard_open_amount_min,giftcard_open_amount_max,giftcard_amount,use_config_is_redeemable,giftcard_is_redeemable,use_config_lifetime,giftcard_lifetime,use_config_allow_message,giftcard_allow_message,use_config_email_template,giftcard_email_template,associated_skus,configurable_variations,configurable_variation_labels
2-
testsku,,Default,simple,Default Category/simpleCategory5d53a993b7ccb2,base,Simple_Product,,,,1,Taxable Goods,"Catalog, Search",560,,,,simple-product,Simple_Product,Simple_Product,Simple_Product ,,,,,,,,,"8/14/19, 6:27 AM","8/14/19, 6:27 AM",,,Block after Info Column,,,,Use config,,,,,,,Use config,,,25,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1+
sku,store_view_code,attribute_set_code,product_type,categories,product_websites,name,description,short_description,weight,product_online,tax_class_name,visibility,price,special_price,special_price_from_date,special_price_to_date,url_key,meta_title,meta_keywords,meta_description,base_image,base_image_label,small_image,small_image_label,thumbnail_image,thumbnail_image_label,swatch_image,swatch_image_label,created_at,updated_at,new_from_date,new_to_date,display_product_options_in,map_price,msrp_price,map_enabled,gift_message_available,custom_design,custom_design_from,custom_design_to,custom_layout_update,page_layout,product_options_container,msrp_display_actual_price_type,country_of_manufacture,additional_attributes,qty,out_of_stock_qty,use_config_min_qty,is_qty_decimal,allow_backorders,use_config_backorders,min_cart_qty,use_config_min_sale_qty,max_cart_qty,use_config_max_sale_qty,is_in_stock,notify_on_stock_below,use_config_notify_stock_qty,manage_stock,use_config_manage_stock,use_config_qty_increments,qty_increments,use_config_enable_qty_inc,enable_qty_increments,is_decimal_divided,website_id,deferred_stock_update,use_config_deferred_stock_update,related_skus,related_position,crosssell_skus,crosssell_position,upsell_skus,upsell_position,additional_images,additional_image_labels,hide_from_product_page,custom_options,bundle_price_type,bundle_sku_type,bundle_price_view,bundle_weight_type,bundle_values,bundle_shipment_type,use_config_is_redeemable,use_config_lifetime,use_config_allow_message,use_config_email_template,associated_skus,configurable_variations,configurable_variation_labels
2+
test_sku,,Default,simple,Default Category/simpleCategory5d53a993b7ccb2,base,Test_Product,,,,1,Taxable Goods,"Catalog, Search",560,,,,test-product,Test_Product,Test_Product,Test_Product ,,,,,,,,,"8/14/19, 6:27 AM","8/14/19, 6:27 AM",,,Block after Info Column,,,,Use config,,,,,,,Use config,,,25,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,1,1,,,,,,,,,,,,,,,,,,,,,,,

0 commit comments

Comments
 (0)