summaryrefslogtreecommitdiff
path: root/addons/base_import_module/tests/test_module/static/src
diff options
context:
space:
mode:
authorOdoo's Mergebot <robodoo@odoo.com>2021-04-19 18:02:10 +0200
committerGitHub <noreply@github.com>2021-04-19 18:02:10 +0200
commit4cad0ab17ae1917b7acc71cfb0fe2255845cdc94 (patch)
tree7c255e8ff2529967c52d5cb9f0d33facbe22c8bd /addons/base_import_module/tests/test_module/static/src
parentb7b83db88c61d7db87045d87b09d7348f3a8a9eb (diff)
parentcf183da67ff47636bbba967609b1e106bd97c404 (diff)
[MERGE] test_{mass_mailing, mail, mail_full}: improve mail marketing tests
PURPOSE Purpose is to have more tests when sending mail mailings, notably about canceled or failed mails or sms as well as jinja and links rendering. SPECIFICATIONS In this commit we improve Email/SMS Marketing mailing tests. We notably * add tests for void and invalid emails and numbers. It allows to check they correctly update their trace status; * add tests for unsubscribe and view links embedded in mass mailing emails and sms; * add tests to simulate a click on links sent through mass mailing and ensure click statistics are effectively updated; * add tests to simulate bounce emails coming back to the mail gateway; Default content of mailings used in test is updated to ensure jinja is correctly rendered, including links and some corner cases. This will also helps ensuring behavior is kept when converting to QWeb. Both text- and html-based jinja rendering for links is now tested. Various docstrings are added to helpers and custom asserts. Various helpers are improved or cleaned, with some old methods kept for backward compatibility. LINKS Task ID-2508643 Followup of #68874 (improve mail tests) Prepares Task ID-27033 (support QWeb in templates) Prepares Task ID-2377974 (clean trace and status management in mass mailing) closes odoo/odoo#69461 Related: odoo/enterprise#17780 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/base_import_module/tests/test_module/static/src')
0 files changed, 0 insertions, 0 deletions