-
Notifications
You must be signed in to change notification settings - Fork 9.4k
set correct remaining available discount amount when applying fixed p… #30953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set correct remaining available discount amount when applying fixed p… #30953
Conversation
Hi @sky-hub. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sky-hub, thank you for the following fix. According to the Definition of Done, all changes have to be covered by some automated tests. Would you be kind covering the fixed case by a test?
You may write a simple MFTF test that will pass through the Precondition steps and will check the cart discount.
Thank you.
@eduard13, sure. I will get back with a comment when tests are implemented. Cheers |
@eduard13 I had a look in the MTFT testing and I ran into a dead end. It seems there is already a MTFT Test for bundle products in At this point I do not know if I should update this test, and if I do update it what is the reason behind that issue that marks the test as skipped. Do you think you can help here? PS: Please note that my experience with MTFT is very limited. |
@sky-hub ahh, got your point. Based on the commit's message, it looks like there were some issues running the test on Chrome 85 version. As far as I can see, the existing test applies on What do you think? |
@magento run Integration Tests, Functional Tests B2B |
@eduard13 , sounds good to me. |
abfc139
to
3332e14
Compare
@eduard13 , test implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sky-hub, thank you for the test coverage. I've left couple of comments, could you please review them?
Feel free to reach me if additional questions arise.
Thanks.
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
.../SalesRule/Test/Mftf/Test/StorefrontCartFixedAmountWholeCartDiscountForBundleProductTest.xml
Outdated
Show resolved
Hide resolved
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE |
Additionally, could you please review the failed Functional Tests, as they might be related to your changes? |
@magento run all tests |
…rice cart rules to bundle products
8982061
to
d56db5b
Compare
…ount' into bundle-products-fixed-cart-discount
@magento run all tests |
@magento run Functional Tests B2B |
# Conflicts: # app/code/Magento/Checkout/Test/Mftf/Test/StoreFrontFreeShippingRecalculationAfterCouponCodeAddedTest.xml
@magento run all tests |
@magento run all tests |
@magento run all tests |
@magento run Functional Tests CE |
Hi @sky-hub, thank you for your contribution! |
…rice cart rules to bundle products
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)