-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Newsletter subscription emails should also use paragraph tags #27357
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
Newsletter subscription emails should also use paragraph tags #27357
Conversation
Hi @ptylek. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
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 @ptylek. Thank you for your collaboration.
Please, take a look at the failing functional tests
@rogyar , I don't think these failing tests are related. I will run them again. |
Hi @ptylek. Sorry, my bad. I meant the integration tests. It does look like the integration tests use the old email body in the assertion. And the subscribe/unsubscribe tests are failing because of that. So we need to modify the assertion expectation to match our change. Thank you. |
@magento run Database Compare, Integration Tests |
@rogyar just wanted to confirm if this PR is also going to be merged? As tests for this PR have received |
Hi @ptylek. We still have the integration tests failing. So the integration tests need to be fixed before the PR merge. Thank you |
@rogyar Only database test is failing, however I think this is not related to this PR. |
Hi @rogyar, thank you for the review. |
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 @ptylek. Thanks for collaboration. I think this case can be covered by MFTF tests, can you please do it?
Hi @VladimirZaets , All other e-mails use proper html tags and there aren't any MFTF tests for that. This is a small fix to add html tag in e-mail template that misses them. |
Hi @ptylek. Integration test is ok for this case, thank you, I missed PR with coverage |
@magento run all tests |
Hi @VladimirZaets, thank you for the review. |
Hi @ptylek, thank you for your contribution! |
Accepted Community Pull Requests: - #29799: Add elasticsearch params to integration tests config (by @ihor-sviziev) - #29634: [MFTF] Added some ActionGroups to Analytics module (by @Usik2203) - #29348: [MFTF] Test scenario for "Apply shopping cart rule to a single bundle item" (#28921) (by @zhartaunik) - #28413: Fix Downloadable product after refund (by @ProkopovVitaliy) - #27609: Test coverage for PR #27357 (E-mail templates) (by @lbajsarowicz) - #27579: Fix #27523: throw informative errors in setup:db:generate-patch (by @korostii) Fixed GitHub Issues: - #29648: [Issue] [MFTF] Added some ActionGroups to Analytics module (reported by @m2-assistant[bot]) has been fixed in #29634 by @Usik2203 in 2.4-develop branch Related commits: 1. f54fd86 2. 1492668 3. 59d5d32 4. 8c2291f 5. e25fc55 - #28921: Apply shopping cart rule to a single bundle item (reported by @MilanFrajt) has been fixed in #29348 by @zhartaunik in 2.4-develop branch Related commits: 1. e6aca3b 2. 7abc82f - #28388: Downloadable product is available in My Download Products tab after it has been partially refunded (reported by @YaninaPrudnikova) has been fixed in #28413 by @ProkopovVitaliy in 2.4-develop branch Related commits: 1. a6f460d 2. 9a83830 3. 96c9d54 4. 59cf9f7 5. c6c3231 6. eafdb17 7. 92fd06b 8. 1f7eace 9. db84d3a 10. d0a0962 11. aea9276 12. 1be2cd7 13. dee9b16 14. a49709f 15. 8023f42 16. 9e31246 17. d91b305 18. 62e4866 19. 97df424 20. 2d58988 21. 87d8984 - #27523: CLI Patch Generator: Lack of information what path cannot be created (reported by @lbajsarowicz) has been fixed in #27579 by @korostii in 2.4-develop branch Related commits: 1. 1e8e825 2. 1dd5290 3. c1d8fef 4. a74f8fe 5. f48cd50 6. 2bc691a 7. 8991733 8. 347602f 9. 75bb2c3 10. 7d316d4
Description (*)
Other emails (also subscription confirmation email in the same module) are using proper html tags for their content.
The same should apply for newsletter subscription and unsubscription emails.
This will help in keeping same email styling.
Related Pull Requests
Fixed Issues (if relevant)
Couldn't find issue.
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
Resolved issues: