diff --git a/mail_sent/tests/test_js.py b/mail_sent/tests/test_js.py index 25c074f..952c7e2 100644 --- a/mail_sent/tests/test_js.py +++ b/mail_sent/tests/test_js.py @@ -9,7 +9,7 @@ class TestUi(openerp.tests.HttpCase): setTimeout(function () { $(".mail_sent").click(); setTimeout(function () {console.log('ok');}, 3000); - }, 3000); + }, 1000); """ link = '/web#action=%s' % self.ref('mail.mail_channel_action_client_chat') - self.phantom_js(link, code, "", login="demo") + self.phantom_js(link, code, "odoo.__DEBUG__.services['mail_sent.sent']", login="demo")