-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔃 [Magento Community Engineering] Community Contributions - 2.4-develop
Accepted Community Pull Requests: - #27390: magento/magento2: fixes PHPDocs for module Magento_reports (by @andrewbess) - #27353: Add xml declaration for catalog_widget_product_list.xml file (by @Usik2203) - #27375: Updating link to Adobe CLA in contributing.md (by @filmaj) - #26538: Refactor datetime class (by @Tjitse-E) - #27334: MFTF: Customer Subscribes To Newsletter Subscription On StoreFront (by @DmitryTsymbal) - #27319: Cleanup ObjectManager usage - Magento_Catalog ViewModel,Plugin (by @Bartlomiejsz) - #27000: MFTF FIX: Remove Customer by e-mail does not filter by e-mail (by @lbajsarowicz) - #25664: #25540: Products are not displaying infront end after updating product via importing CSV. (by @p-bystritsky) - #27307: magento/magento2: Fixes for the schema cache.xsd (by @andrewbess) - #27276: Add "Admin" prefix to Test and ActionGroup (by @lbajsarowicz) - #22011: #22010: Updates AbstractExtensibleObject and AbstractExtensibleModel annotations (by @atwixfirster) Fixed GitHub Issues: - #25540: Products are not displaying infront end after updating product via importing CSV. (reported by @Sathishkumar8731) has been fixed in #25664 by @p-bystritsky in 2.4-develop branch Related commits: 1. f96d993 2. 1dd81a4 3. 6ad372a 4. a070cf3 5. 143bd5b - #22010: 22010 -Updates AbstractExtensibleObject and AbstractExtensibleModel annotations (reported by @atwixfirster) has been fixed in #22011 by @atwixfirster in 2.4-develop branch Related commits: 1. 1a2b1ce 2. 1a66568 3. 764cdf9 4. 987d713 5. 70c5e12 6. 852bf03
- Loading branch information
Showing
38 changed files
with
731 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
app/code/Magento/BundleImportExport/Test/Mftf/Test/UpdateBundleProductViaImportTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="UpdateBundleProductViaImportTest"> | ||
<annotations> | ||
<features value="Import/Export"/> | ||
<title value="Update Bundle product via import"/> | ||
<description | ||
value="Check that Bundle products are displaying on the storefront after updating product via importing CSV"/> | ||
<severity value="MAJOR"/> | ||
<group value="importExport"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> | ||
</before> | ||
<after> | ||
<!-- Delete products created via import --> | ||
<actionGroup ref="DeleteProductBySkuActionGroup" stepKey="deleteBundleProduct"> | ||
<argument name="sku" value="Bundle"/> | ||
</actionGroup> | ||
<actionGroup ref="DeleteProductBySkuActionGroup" stepKey="deleteSimpleProduct"> | ||
<argument name="sku" value="Simple"/> | ||
</actionGroup> | ||
<actionGroup ref="logout" stepKey="logoutFromAdmin"/> | ||
</after> | ||
|
||
<!-- Create Bundle product via import --> | ||
<actionGroup ref="AdminImportProductsActionGroup" stepKey="adminImportProductsCreate"> | ||
<argument name="behavior" value="Add/Update"/> | ||
<argument name="importFile" value="catalog_product_import_bundle.csv"/> | ||
<argument name="importNoticeMessage" value="Created: 2, Updated: 0, Deleted: 0"/> | ||
</actionGroup> | ||
<magentoCLI command="cache:flush" arguments="full_page" stepKey="flushCacheAfterCreate"/> | ||
<magentoCLI command="indexer:reindex" stepKey="indexerReindexAfterCreate"/> | ||
|
||
<!-- Check Bundle product is visible on the storefront--> | ||
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPageAfterCreation"> | ||
<argument name="categoryName" value="New"/> | ||
</actionGroup> | ||
<actionGroup ref="AssertStorefrontProductIsPresentOnCategoryPageActionGroup" | ||
stepKey="assertBundleProductInStockAfterCreation"> | ||
<argument name="productName" value="Bundle"/> | ||
</actionGroup> | ||
|
||
<!-- Update Bundle product via import --> | ||
<actionGroup ref="AdminImportProductsActionGroup" stepKey="adminImportProductsUpdate"> | ||
<argument name="behavior" value="Add/Update"/> | ||
<argument name="importFile" value="catalog_product_import_bundle.csv"/> | ||
<argument name="importNoticeMessage" value="Created: 0, Updated: 2, Deleted: 0"/> | ||
</actionGroup> | ||
<magentoCLI command="cache:flush" arguments="full_page" stepKey="flushCacheAfterUpdate"/> | ||
<magentoCLI command="indexer:reindex" stepKey="indexerReindexAfterUpdate"/> | ||
|
||
<!-- Check Bundle product is still visible on the storefront--> | ||
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPageAfterUpdate"> | ||
<argument name="categoryName" value="New"/> | ||
</actionGroup> | ||
<actionGroup ref="AssertStorefrontProductIsPresentOnCategoryPageActionGroup" | ||
stepKey="assertBundleProductInStockAfterUpdate"> | ||
<argument name="productName" value="Bundle"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.