-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Graphql events.xml is added for quote submit succes to trigger sales … #28352
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
Graphql events.xml is added for quote submit succes to trigger sales … #28352
Conversation
Hi @cyildirim. 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. |
@magento run all tests |
@magento run Functional Tests B2B |
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 @cyildirim. Thank you for your collaboration.
Please note, we already have the same observer registered (for the same event) in the Quote
module.
As there result, the observer with the module that is being loaded later in the modules loading sequence will override the previous declaration. The existing issue will not be fixed in that way
My fault. I've just noticed that the previous observer is registered for all areas except the GraphQl. I see the integration tests as the following, you are emulating the GraphQl area and triggering the Thank you! |
@magento run all tests |
Hi @rogyar, please review the test coverage. |
Hi @rogyar, thank you for the review. |
Hi @cyildirim, thank you for your contribution! |
…email
Description (*)
Sales email is not sent after order placement through graphql requests. The fix includes event that triggers sales emails after order placement.
Related Pull Requests
Fixed Issues (if relevant)
#28124 is fixed with this PR.
Manual testing scenarios (*)
sales_email/order/enabled
to yesQuestions or comments
I haven't seen any test related to this feature as it's used with soap and rest events.xml. I am happy to add related test if required.
Contribution checklist (*)