-
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 expedited Accepted Community Pull Requests: - #29290: #1618: Duplicated items in Used in Entities filters (by @joweecaquicla) - #28975: improve NonComposerComponentRegistration (by @rvitaliy) - #29271: Unit Test / Bugfix / Inverted Expected value with actual one (by @lbajsarowicz) - #29139: Fix: CustomerAddressId missing for backend orders (by @engcom-Echo) - #28930: Support cron expressions like `3/10 * * * *` and handle hyphen expres… (by @AntonEvers) - #29135: [MFTF] use actionGroup click next button on checkout (by @Usik2203) - #28992: PageCache / Layout: Avoid multiple calls and config fetch (by @lbajsarowicz) - #27537: Add validation phone field on checkout page (by @Usik2203) - #23972: fixed disabled guest checkout issue in case of downloadable product (by @rani-webkul) - #28842: Cover form email component in checkout page with jasmine test (by @mrtuvn) - #29244: Fix unit tests with PHPUnit 9 errors (by @AntonEvers) - #26032: #7213 prevent pointless session start in webapi scope (by @maqlec) Fixed GitHub Issues: - #29308: [Issue] improve NonComposerComponentRegistration (reported by @m2-assistant[bot]) has been fixed in #28975 by @rvitaliy in 2.4-develop branch Related commits: 1. 8e45616 - #29283: [Issue] Unit Test / Bugfix / Inverted Expected value with actual one (reported by @m2-assistant[bot]) has been fixed in #29271 by @lbajsarowicz in 2.4-develop branch Related commits: 1. ff0e8f6 - #28793: Magento 2 CustomerAddressId missing for backend orders (reported by @boseasha) has been fixed in #29139 by @engcom-Echo in 2.4-develop branch Related commits: 1. c899815 - #29240: [Issue] Support cron expressions like `3/10 * * * *` and handle hyphen expres� (reported by @m2-assistant[bot]) has been fixed in #28930 by @AntonEvers in 2.4-develop branch Related commits: 1. 6dd0bb6 2. ce87ede - #29159: [Issue] PageCache / Layout: Avoid multiple calls and config fetch (reported by @m2-assistant[bot]) has been fixed in #28992 by @lbajsarowicz in 2.4-develop branch Related commits: 1. b59dc72 - #28800: [Issue] Add validation phone field on checkout page (reported by @m2-assistant[bot]) has been fixed in #27537 by @Usik2203 in 2.4-develop branch Related commits: 1. c54b8f3 2. 196e423 3. f951152 4. f5c2575 5. 42889f8 6. d9f626d 7. 9706369 8. 0433c82 9. 3afe988 10. 15ceda0 11. a692863 12. 95be243 - #23971: Disable Guest Checkout if Cart Contains Downloadable Items doesn't work correctly (reported by @rani-webkul) has been fixed in #23972 by @rani-webkul in 2.4-develop branch Related commits: 1. 548ea7b 2. 1cf1389 3. 65cf71b 4. a1dd986 5. c3e1ce0 6. caf9ef7 7. 98dd6c0 8. 9f37b2f 9. 993a1e5 10. 575d9e5 11. c343492 12. 4d045cd 13. 05a3348 14. 9e9bc69 15. 4380ff6 16. f4eb33e 17. 11f21bf 18. 59e7f33 19. 49e2fa9 20. 5389a71 21. 938a68c 22. 08e3875 23. 4c50949 24. af4b740 25. 592915d 26. 4dac91c 27. 4db0172 28. f1e11ea 29. 88778bd 30. 63ad4a3 31. 88953ac 32. 11e34b3 - #29329: [Issue] Fix unit tests with PHPUnit 9 errors (reported by @m2-assistant[bot]) has been fixed in #29244 by @AntonEvers in 2.4-develop branch Related commits: 1. 86000ce 2. 48f5a92 - #7213: WEBAPI: PHP session is always started 2.1.2 (reported by @boldhedgehog) has been fixed in #26032 by @maqlec in 2.4-develop branch Related commits: 1. 859307b 2. 8aed39f 3. 4a05e78 4. cfa889e 5. b219c4e 6. c5ad40b 7. fe0bd17 8. ac0dea5 9. ea10595 10. b4a02dd 11. 4f20656 12. 192bc7e 13. f149763 14. ac0f4e6 15. 3e833b3 16. c1f5509 17. edd0ccd 18. 4dac67d 19. 97b235d 20. 16797c3
- Loading branch information
Showing
45 changed files
with
634 additions
and
165 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
44 changes: 44 additions & 0 deletions
44
app/code/Magento/Checkout/Test/Mftf/Test/StorefrontOnePageCheckoutPhoneValidationTest.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,44 @@ | ||
<?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="StorefrontOnePageCheckoutPhoneValidationTest"> | ||
<annotations> | ||
<features value="Checkout"/> | ||
<stories value="Checkout validation phone field"/> | ||
<title value="Validate phone field on checkout page"/> | ||
<description value="Validate phone field on checkout page, field must not contain alphabetical symbols"/> | ||
<severity value="MAJOR" /> | ||
<testCaseId value="MC-35292"/> | ||
</annotations> | ||
<before> | ||
<createData entity="_defaultCategory" stepKey="createCategory"/> | ||
<createData entity="ApiSimpleProduct" stepKey="createProduct"> | ||
<requiredEntity createDataKey="createCategory"/> | ||
</createData> | ||
</before> | ||
<after> | ||
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/> | ||
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/> | ||
</after> | ||
|
||
<actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="openCategoryPageOnFrontend"> | ||
<argument name="category" value="$createCategory$"/> | ||
</actionGroup> | ||
|
||
<actionGroup ref="StorefrontAddSimpleProductToCartActionGroup" stepKey="addToCartFromStorefrontProductPage"> | ||
<argument name="product" value="$$createProduct$$"/> | ||
</actionGroup> | ||
|
||
<actionGroup ref="StorefrontOpenCheckoutPageActionGroup" stepKey="guestGoToCheckout"/> | ||
|
||
<fillField userInput="Sample text" selector="{{CheckoutShippingSection.telephone}}" stepKey="enterAlphabeticalSymbols"/> | ||
<see userInput="Please enter a valid phone number. For example (123) 456-7890 or 123-456-7890." selector="{{CheckoutShippingSection.addressFieldValidationError}}" stepKey="checkPhoneFieldValidationIsPassed"/> | ||
</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
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.