-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#30255: Fixed "The coupon code has been accepted." message remains after a Coupon Code was removed #30391
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
#30255: Fixed "The coupon code has been accepted." message remains after a Coupon Code was removed #30391
Conversation
…ains after a Coupon Code was removed Fixed "The coupon code has been accepted." message remains after a Coupon Code was removed
Hi @shikhamis11. 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 give me test instance |
Hi @rodrigowebjump. Thank you for your request. I'm working on Magento instance for you. |
Hi @rodrigowebjump, here is your Magento Instance: https://abc4ca6d605a710c7fac378118341a81.instances.magento-community.engineering |
#dmcdindia2020 |
#dmcdindia2020 |
@pramod-mishra thank you for joining. Please accept team invitation here and self-assign the issue. |
Hi @shikhamis11 Thanks for your contribution. Please could you cover your fix by autotests (MFTF)? |
@magento give me test instance |
Hi @pramod-mishra. Thank you for your request. I'm working on Magento instance for you. |
@rodrigowebjump Thanks for the review . I am working on to add MFTF coverage for the issue |
Hi @pramod-mishra, here is your Magento Instance: https://abc4ca6d605a710c7fac378118341a81.instances.magento-community.engineering |
@magento give me 2.4-develop instance |
Hi @rodrigowebjump. Thank you for your request. I'm working on Magento instance for you. |
Hi @rodrigowebjump, here is your Magento Instance: https://abc4ca6d605a710c7fac378118341a81-2-4-develop.instances.magento-community.engineering |
Hi @shikhamis11 Apparently the issue is being caused because there is no message returned when the coupon is removed. The current JS behavior does not remove the previous message if a empty is received in the response. Since there is a lot of requests happening there, my recommendation is to not change this behavior for now because we can create some undesirable |
…ns after a Coupon Code was removed reverted previous changes and updated requested changes
@magento give me test instance |
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-37386"/> |
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.
@shikhamis11 could you please update severity
and testCaseId
?
Thank you.
<severity value="AVERAGE"/>
<testCaseId value="MC-38919"/>
updated `severity` and `testCaseId` for added MFTF test
@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 @shikhamis11, I believe we might have an issue with the mftf, can you check it?
<magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" | ||
stepKey="disableFlatRate"/> |
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.
I believe flat rate is enabled by default, by disabling it we may have made other tests flaky. I guess you can keep the CLI to enable it, but remove this one.
removed disable flat rate step from after action
@magento run all tests |
@magento run Functional Tests EE |
Hi @gabrieldagama, thank you for the review. |
✔️ QA Passed |
…ge remains after a Coupon Code was removed #30391
Hi @shikhamis11, thank you for your contribution! |
Fixed #30255 "The coupon code has been accepted." message remains after a Coupon Code was removed
Preconditions
Steps:
(/) Expected result
"The coupon code has been accepted." message should disappear
(x) Actual result
"The coupon code has been accepted." message is still present
Contribution checklist (*)