-
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-devel…
…op latest changes Accepted Community Pull Requests: - #31057: [MFTF] Refactoring of AdminMassProductPriceUpdateTest (by @AnnaAPak) - #31371: [MFTF] Refactoring AdminSortingByWebsitesTest (by @AnnaAPak) - #31009: [MFTF]: Refactoring of AdminCreateInvoiceTest (by @AnnaAPak) - #31323: [MFTF] Adding AdminClickRefundOfflineOnNewMemoPageActionGroup (by @AnnaAPak) - #31198: Issues 31197 - Loading wrong order tax info (by @srenon) - #31162: Allow to load base64 encoded images and fonts (by @vovayatsyuk) - #31436: Updating with StorefrontSelectCustomizeAndAddToTheCartButtonActionGroup (by @AnnaAPak) - #31320: Removed CliIndexerReindexActionGroup action group usage for Catalog module (by @sergiy-v) - #31334: Fix issue with logging each cookie as separate context (by @aleksinoleg) - #31330: Update varnish 6 vcl config (by @mrtuvn) - #31308: Fix ftp_nlist for empty folders returns false (by @Nazar65) - #30776: [MFTF] Add AssertStorefrontCartDiscountActionGroup (by @Usik2203) Fixed GitHub Issues: - #31073: [Issue] [MFTF] Refactoring of AdminMassProductPriceUpdateTest (reported by @m2-assistant[bot]) has been fixed in #31057 by @AnnaAPak in 2.4-develop branch Related commits: 1. 97e3454 2. 131cd1a 3. bdb653d 4. faf0c87 5. dd4334d 6. 758b0d6 7. 52e5d2c 8. a048fb7 9. c9e2c6f 10. 6fc4191 11. 64b617f 12. 9691ef6 13. b3efee9 - #31442: [Issue] [MFTF] Refactoring AdminSortingByWebsitesTest (reported by @m2-assistant[bot]) has been fixed in #31371 by @AnnaAPak in 2.4-develop branch Related commits: 1. 2a71255 2. ec105b5 - #31036: [Issue] [MFTF]: Refactoring of AdminCreateInvoiceTest (reported by @m2-assistant[bot]) has been fixed in #31009 by @AnnaAPak in 2.4-develop branch Related commits: 1. 9ffcdc6 2. 0c14e5f 3. ea99547 4. 3e46731 5. d157d42 6. 3d5060f 7. b23cad2 8. 2d8be9c 9. ce7a351 10. 83dab7e - #31325: [Issue] [MFTF] Adding AdminClickRefundOfflineOnNewMemoPageActionGroup (reported by @m2-assistant[bot]) has been fixed in #31323 by @AnnaAPak in 2.4-develop branch Related commits: 1. 37e8487 2. 31eb859 3. 06b3b29 - #31197: Magento loading the wrong Tax info on admin Invoice and Creditmemo page (reported by @srenon) has been fixed in #31198 by @srenon in 2.4-develop branch Related commits: 1. 41c3aa2 2. 4b007c2 3. 0e58811 4. 84b1ea0 - #31170: [Issue] Allow to load base64 encoded images and fonts (reported by @m2-assistant[bot]) has been fixed in #31162 by @vovayatsyuk in 2.4-develop branch Related commits: 1. 2f10855 2. 7de93bb 3. 1f201ae 4. 5e35bb3 5. 2b15a1f - #31437: [Issue] Updating with StorefrontSelectCustomizeAndAddToTheCartButtonActionGroup (reported by @m2-assistant[bot]) has been fixed in #31436 by @AnnaAPak in 2.4-develop branch Related commits: 1. 1f04b0a - #31327: [Issue] Removed CliIndexerReindexActionGroup action group usage for Catalog module (reported by @m2-assistant[bot]) has been fixed in #31320 by @sergiy-v in 2.4-develop branch Related commits: 1. 3a808ff 2. a40f256 3. 57e23c6 4. 9ca51cd - #31471: [Issue] Fix issue with logging each cookie as separate context (reported by @m2-assistant[bot]) has been fixed in #31334 by @aleksinoleg in 2.4-develop branch Related commits: 1. 01eb682 - #31445: [Issue] Update varnish 6 vcl config (reported by @m2-assistant[bot]) has been fixed in #31330 by @mrtuvn in 2.4-develop branch Related commits: 1. e07d328 - #31288: FileSystem IO Ftp connection ls() method error for empty folders (reported by @Nazar65) has been fixed in #31308 by @Nazar65 in 2.4-develop branch Related commits: 1. 5559a51 2. c42d022 - #30784: [Issue] [MFTF] Add AssertStorefrontCartDiscountActionGroup (reported by @m2-assistant[bot]) has been fixed in #30776 by @Usik2203 in 2.4-develop branch Related commits: 1. 7806115 2. 1851fe8 3. 91e72ed 4. d4e7e1e 5. 57011bd 6. a231737
- Loading branch information
Showing
62 changed files
with
505 additions
and
235 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
.../Magento/Catalog/Test/Mftf/ActionGroup/AdminChangeWebSiteAssignedToProductActionGroup.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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminChangeWebSiteAssignedToProductActionGroup" extends="AddWebsiteToProductActionGroup"> | ||
<annotations> | ||
<description>Extends AddWebsiteToProductActionGroup. Changes website assigned to product from websiteToDeselect to website</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="websiteToDeselect" type="string"/> | ||
</arguments> | ||
|
||
<uncheckOption selector="{{ProductInWebsitesSection.website(websiteToDeselect)}}" stepKey="uncheckWebsite" after="checkWebsite"/> | ||
</actionGroup> | ||
</actionGroups> |
37 changes: 18 additions & 19 deletions
37
app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminCheckProductOnProductGridActionGroup.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 |
---|---|---|
@@ -1,22 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminCheckProductOnProductGridActionGroup"> | ||
<annotations> | ||
<description>Check the checkbox for the product on the Product Grid</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="product" type="entity"/> | ||
</arguments> | ||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminCheckProductOnProductGridActionGroup"> | ||
<annotations> | ||
<description>Check the checkbox for the product on the Product Grid</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="product" type="entity"/> | ||
</arguments> | ||
|
||
<checkOption selector="{{AdminProductGridSection.productRowCheckboxBySku(product.sku)}}" stepKey="selectProduct"/> | ||
<checkOption selector="{{AdminProductGridSection.productRowCheckboxBySku(product.sku)}}" stepKey="selectProduct"/> | ||
|
||
</actionGroup> | ||
</actionGroups> | ||
</actionGroup> | ||
</actionGroups> |
24 changes: 24 additions & 0 deletions
24
app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminSetPriceForMassUpdateActionGroup.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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminSetPriceForMassUpdateActionGroup"> | ||
<annotations> | ||
<description>Click the "Change" checkbox for the "Price" field. Set new price.</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="price" type="string"/> | ||
</arguments> | ||
|
||
<scrollTo stepKey="scrollToPriceCheckBox" selector="{{AdminEditProductAttributesSection.ChangeAttributePriceToggle}}" x="0" y="-160"/> | ||
<click selector="{{AdminEditProductAttributesSection.ChangeAttributePriceToggle}}" stepKey="selectPriceCheckBox"/> | ||
<fillField stepKey="fillPrice" selector="{{AdminEditProductAttributesSection.AttributePrice}}" userInput="{{price}}"/> | ||
|
||
</actionGroup> | ||
</actionGroups> |
22 changes: 22 additions & 0 deletions
22
app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminSortProductsGridByActionGroup.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,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminSortProductsGridByActionGroup"> | ||
<annotations> | ||
<description>Sorts the Product Grid by field</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="field" type="string"/> | ||
</arguments> | ||
|
||
<click selector="{{AdminProductGridSection.columnHeader(field)}}" stepKey="clickWebsitesHeaderToSort"/> | ||
<waitForLoadingMaskToDisappear stepKey="waitForApplyingChanges"/> | ||
</actionGroup> | ||
</actionGroups> |
25 changes: 25 additions & 0 deletions
25
...nto/Catalog/Test/Mftf/ActionGroup/AssertAdminProductPriceUpdatedOnEditPageActionGroup.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,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AssertAdminProductPriceUpdatedOnEditPageActionGroup" extends="OpenEditProductOnBackendActionGroup"> | ||
<annotations> | ||
<description>Validate if Product price is updated on the Product creation/edit page</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="product" type="entity"/> | ||
<argument name="price" type="string"/> | ||
</arguments> | ||
|
||
<waitForPageLoad stepKey="waitForProductToLoad"/> | ||
<seeInField selector="{{AdminProductFormSection.productName}}" userInput="{{product.name}}" stepKey="seeProductName"/> | ||
<seeInField selector="{{AdminProductFormSection.productSku}}" userInput="{{product.sku}}" stepKey="seeProductSku"/> | ||
<seeInField selector="{{AdminProductFormSection.productPrice}}" userInput="{{price}}" stepKey="seeProductPrice"/> | ||
</actionGroup> | ||
</actionGroups> |
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
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
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
Oops, something went wrong.