diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-11-26 16:14:47 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-11-26 16:26:34 +0000 |
| commit | 9df8e880468bca0873b2d4628d8300fdf1e4fb18 (patch) | |
| tree | 2cad264b4f7adb3a053dedb46ca139a893cb012e /addons/test_mail/tests/test_ui.py | |
| parent | 00bf6709a8cf10100ae04d5b60b0528d72dc276b (diff) | |
[FIX] mail, test_mail: make `mail_tour` work
This tour was broken since the following refactoring:
https://github.com/odoo/odoo/commit/cd34f6de727d5b3858420cff3c9d3c5995c4e75c
With this commit, mail_tour should work correctly, and
is automatically run on runbot.
Note that the tour is automatically run in the module `test_mail`,
so that the tips are not displayed by installing Discuss.
Task-ID 1912730
closes odoo/odoo#29040
Diffstat (limited to 'addons/test_mail/tests/test_ui.py')
| -rw-r--r-- | addons/test_mail/tests/test_ui.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/test_mail/tests/test_ui.py b/addons/test_mail/tests/test_ui.py new file mode 100644 index 00000000000..f3f38d8a8c4 --- /dev/null +++ b/addons/test_mail/tests/test_ui.py @@ -0,0 +1,10 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +import odoo.tests + + +@odoo.tests.tagged('post_install', '-at_install') +class TestUi(odoo.tests.HttpCase): + + def test_01_project_tour(self): + self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('mail_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.mail_tour.ready", login="admin") |
