-
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: - #30340: Allow to cache search results (by @alinalexandru) - #29868: Remove wrong tags (by @Usik2203) - #28172: Issue #27925, moved the submit button to the inside of the <form> (by @vestman) - #28157: Fix #24091 - Selected configurable product attribute options are not displaying in wishlist page. (by @Bartlomiejsz) - #28928: [vcl] don't explicitly hash the host header (by @gquintard) - #27672: Fixed creating shipping labels in part-shipment (by @NikolasSumrak) Fixed GitHub Issues: - #30508: [Issue] Allow to cache search results (reported by @m2-assistant[bot]) has been fixed in #30340 by @alinalexandru in 2.4-develop branch Related commits: 1. 47c21ab - #30061: [Issue] Remove wrong tags (reported by @m2-assistant[bot]) has been fixed in #29868 by @Usik2203 in 2.4-develop branch Related commits: 1. 3efc95a 2. abff48f 3. 61b3c24 4. 199943d 5. da555dd 6. 4666ac0 7. bce4a8c 8. 9e24869 9. ff97fe6 10. 4cde7eb - #27925: Checkout: Placing an order using the enter key causes a redirect to the checkout (reported by @vestman) has been fixed in #28172 by @vestman in 2.4-develop branch Related commits: 1. 4fd92e7 2. cf5d73b 3. 9173df7 4. 2dee565 5. d59c837 6. 16fdccb 7. 08e7e4f 8. cfcd91d 9. b97c6c3 10. eb468d0 11. 2778f76 12. afbdb27 - #22503: Added Wish-list product displaying with wrong configurations (reported by @GrishmaNayee) has been fixed in #28157 by @Bartlomiejsz in 2.4-develop branch Related commits: 1. a128f39 2. e3bad69 3. 536a728 4. 3d69b13 5. 75a5f25 6. 0471e4e 7. 2c07389 8. e3e5a9a 9. e378086 10. 11abbf9 11. ac6be80 12. 8eead95 13. e3fd246 14. 129f451 15. 8d02533 16. 840c99c - #24091: Selected configurable product attribute options are not displaying in wishlist page. (reported by @venugopal-codilar) has been fixed in #28157 by @Bartlomiejsz in 2.4-develop branch Related commits: 1. a128f39 2. e3bad69 3. 536a728 4. 3d69b13 5. 75a5f25 6. 0471e4e 7. 2c07389 8. e3e5a9a 9. e378086 10. 11abbf9 11. ac6be80 12. 8eead95 13. e3fd246 14. 129f451 15. 8d02533 16. 840c99c - #29988: [Issue] [vcl] don't explicitly hash the host header (reported by @m2-assistant[bot]) has been fixed in #28928 by @gquintard in 2.4-develop branch Related commits: 1. 7660725 2. 8920869 - #29552: [Issue] Fixed creating shipping labels in part-shipment (reported by @m2-assistant[bot]) has been fixed in #27672 by @NikolasSumrak in 2.4-develop branch Related commits: 1. eb8cd70 2. b213915 3. 40e4ac0 4. fee7c0c 5. 0694d79 6. 78a897b 7. 25422c2
- Loading branch information
Showing
43 changed files
with
617 additions
and
140 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
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
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
2 changes: 0 additions & 2 deletions
2
app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php
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
3 changes: 0 additions & 3 deletions
3
app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Action/FullTest.php
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
3 changes: 0 additions & 3 deletions
3
app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Action/RowTest.php
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
3 changes: 0 additions & 3 deletions
3
app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Action/RowsTest.php
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
3 changes: 0 additions & 3 deletions
3
app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Plugin/StoreGroupTest.php
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
26 changes: 26 additions & 0 deletions
26
.../Magento/Checkout/Test/Mftf/ActionGroup/CheckoutSelectPurchaseOrderPaymentActionGroup.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,26 @@ | ||
<?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="CheckoutSelectPurchaseOrderPaymentActionGroup"> | ||
<annotations> | ||
<description>Selects the 'Purchase Order' Payment Method on the Storefront Checkout page.</description> | ||
</annotations> | ||
|
||
<arguments> | ||
<argument name="purchaseOrderNumber" type="string"/> | ||
</arguments> | ||
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMask"/> | ||
<waitForPageLoad stepKey="waitForPageLoad"/> | ||
<remove keyForRemoval="checkCheckMoneyOption"/> | ||
<conditionalClick selector="{{CheckoutPaymentSection.purchaseOrderPayment}}" dependentSelector="{{CheckoutPaymentSection.purchaseOrderPayment}}" visible="true" stepKey="checkPurchaseOrderOption"/> | ||
<fillField selector="{{StorefrontCheckoutPaymentMethodSection.purchaseOrderNumber}}" userInput="{{purchaseOrderNumber}}" stepKey="fillPurchaseOrderNumber"/> | ||
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskAfterPaymentMethodSelection"/> | ||
</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
69 changes: 69 additions & 0 deletions
69
...to/Checkout/Test/Mftf/Test/StorefrontCheckoutWithPurchaseOrderNumberPressKeyEnterTest.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,69 @@ | ||
<?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="StorefrontCheckoutWithPurchaseOrderNumberPressKeyEnterTest"> | ||
<annotations> | ||
<features value="Checkout"/> | ||
<stories value="Checkout with Purchase Order Payment. Create Order with Press Key Enter."/> | ||
<title value="Create Checkout with purchase order payment method test. Press key Enter on field Purchase Order Number for create Order."/> | ||
<description value="Create Checkout with purchase order payment method. Press key Enter on field Purchase Order Number for create Order."/> | ||
<severity value="MAJOR"/> | ||
<testCaseId value="MC-37227"/> | ||
<group value="checkout"/> | ||
</annotations> | ||
|
||
<before> | ||
<createData entity="SimpleTwo" stepKey="createSimpleProduct"/> | ||
|
||
<!-- Enable payment method --> | ||
<magentoCLI command="config:set {{PurchaseOrderEnableConfigData.path}} {{PurchaseOrderEnableConfigData.value}}" stepKey="enablePaymentMethod"/> | ||
</before> | ||
|
||
<after> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/> | ||
<deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/> | ||
|
||
<!-- Disable payment method --> | ||
<magentoCLI command="config:set {{PurchaseOrderDisabledConfigData.path}} {{PurchaseOrderDisabledConfigData.value}}" stepKey="disablePaymentMethod"/> | ||
</after> | ||
|
||
<!--Go to product page--> | ||
<amOnPage url="$$createSimpleProduct.custom_attributes[url_key]$$.html" stepKey="navigateToSimpleProductPage"/> | ||
<waitForPageLoad stepKey="waitForCatalogPageLoad"/> | ||
|
||
<!--Add Product to Shopping Cart--> | ||
<actionGroup ref="AddToCartFromStorefrontProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage"> | ||
<argument name="productName" value="$$createSimpleProduct.name$$"/> | ||
</actionGroup> | ||
|
||
<!--Go to Checkout--> | ||
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart"/> | ||
|
||
<actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShippingSection"> | ||
<argument name="customerVar" value="CustomerEntityOne"/> | ||
<argument name="customerAddressVar" value="CustomerAddressSimple"/> | ||
</actionGroup> | ||
|
||
<!-- Checkout select Purchase Order payment --> | ||
<actionGroup ref="CheckoutSelectPurchaseOrderPaymentActionGroup" stepKey="selectPurchaseOrderPayment"> | ||
<argument name="purchaseOrderNumber" value="12345"/> | ||
</actionGroup> | ||
|
||
<!--Press Key ENTER--> | ||
<pressKey selector="{{StorefrontCheckoutPaymentMethodSection.purchaseOrderNumber}}" parameterArray="[\Facebook\WebDriver\WebDriverKeys::ENTER]" stepKey="pressKeyEnter"/> | ||
<waitForPageLoad stepKey="waitForPageLoad"/> | ||
|
||
<!--See success messages--> | ||
<see selector="{{CheckoutSuccessMainSection.successTitle}}" userInput="Thank you for your purchase!" stepKey="seeSuccessTitle"/> | ||
<see selector="{{CheckoutSuccessMainSection.orderNumberText}}" userInput="Your order # is: " stepKey="seeOrderNumber"/> | ||
|
||
</test> | ||
|
||
</tests> |
67 changes: 67 additions & 0 deletions
67
app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCheckoutWithPurchaseOrderNumberTest.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,67 @@ | ||
<?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="StorefrontCheckoutWithPurchaseOrderNumberTest"> | ||
<annotations> | ||
<features value="Checkout"/> | ||
<stories value="Checkout with Purchase Order Payment"/> | ||
<title value="Create Checkout with purchase order payment method test"/> | ||
<description value="Create Checkout with purchase order payment method"/> | ||
<severity value="MAJOR"/> | ||
<group value="checkout"/> | ||
</annotations> | ||
|
||
<before> | ||
<createData entity="SimpleTwo" stepKey="createSimpleProduct"/> | ||
|
||
<!-- Enable payment method --> | ||
<magentoCLI command="config:set {{PurchaseOrderEnableConfigData.path}} {{PurchaseOrderEnableConfigData.value}}" stepKey="enablePaymentMethod"/> | ||
</before> | ||
|
||
<after> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/> | ||
<deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/> | ||
|
||
<!-- Disable payment method --> | ||
<magentoCLI command="config:set {{PurchaseOrderDisabledConfigData.path}} {{PurchaseOrderDisabledConfigData.value}}" stepKey="disablePaymentMethod"/> | ||
</after> | ||
|
||
<!--Go to product page--> | ||
<amOnPage url="$$createSimpleProduct.custom_attributes[url_key]$$.html" stepKey="navigateToSimpleProductPage"/> | ||
<waitForPageLoad stepKey="waitForCatalogPageLoad"/> | ||
|
||
<!--Add Product to Shopping Cart--> | ||
<actionGroup ref="AddToCartFromStorefrontProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage"> | ||
<argument name="productName" value="$$createSimpleProduct.name$$"/> | ||
</actionGroup> | ||
|
||
<!--Go to Checkout--> | ||
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart"/> | ||
|
||
<actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShippingSection"> | ||
<argument name="customerVar" value="CustomerEntityOne"/> | ||
<argument name="customerAddressVar" value="CustomerAddressSimple"/> | ||
</actionGroup> | ||
|
||
<!-- Checkout select Purchase Order payment --> | ||
<actionGroup ref="CheckoutSelectPurchaseOrderPaymentActionGroup" stepKey="selectPurchaseOrderPayment"> | ||
<argument name="purchaseOrderNumber" value="12345"/> | ||
</actionGroup> | ||
|
||
<!--Click Place Order button--> | ||
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder"/> | ||
<waitForPageLoad stepKey="waitForPageLoad"/> | ||
|
||
<!--See success messages--> | ||
<see selector="{{CheckoutSuccessMainSection.successTitle}}" userInput="Thank you for your purchase!" stepKey="seeSuccessTitle"/> | ||
<see selector="{{CheckoutSuccessMainSection.orderNumberText}}" userInput="Your order # is: " stepKey="seeOrderNumber"/> | ||
|
||
</test> | ||
|
||
</tests> |
Oops, something went wrong.