diff options
| author | Xavier Dubuc <xdu@odoo.com> | 2020-09-04 16:08:57 +0000 |
|---|---|---|
| committer | Xavier Dubuc <xdu@odoo.com> | 2020-09-18 07:27:33 +0000 |
| commit | ca457e990c87cd0405a2b7416a6c8064a9a83e21 (patch) | |
| tree | 4994ce07b35be4c88d69ce06638b3e8e45a21816 /addons/sms/static/src/components/message/message_tests.js | |
| parent | 6e83898e17d4aac93ce11b20d589b5a637eb6a8c (diff) | |
[FIX] mail: fix notification partners display in popover
Handle notification creation in convertData correctly.
task-2324260
closes odoo/odoo#57970
X-original-commit: 7305bcf4edcbaa31b86bdc7b4ece460f30515c27
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/sms/static/src/components/message/message_tests.js')
| -rw-r--r-- | addons/sms/static/src/components/message/message_tests.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/sms/static/src/components/message/message_tests.js b/addons/sms/static/src/components/message/message_tests.js index 4eff0ae768c..d0670e2113f 100644 --- a/addons/sms/static/src/components/message/message_tests.js +++ b/addons/sms/static/src/components/message/message_tests.js @@ -75,7 +75,7 @@ QUnit.test('Notification Sent', async function (assert) { ); assert.containsOnce( document.body, - '.o_Message_notificationIconContainer', + '.o_Message_notificationIconClickable', "should display the notification icon container" ); assert.containsOnce( @@ -90,7 +90,7 @@ QUnit.test('Notification Sent', async function (assert) { ); await afterNextRender(() => { - document.querySelector('.o_Message_notificationIconContainer').click(); + document.querySelector('.o_Message_notificationIconClickable').click(); }); assert.containsOnce( document.body, @@ -166,7 +166,7 @@ QUnit.test('Notification Error', async function (assert) { ); assert.containsOnce( document.body, - '.o_Message_notificationIconContainer', + '.o_Message_notificationIconClickable', "should display the notification icon container" ); assert.containsOnce( @@ -181,7 +181,7 @@ QUnit.test('Notification Error', async function (assert) { ); await afterNextRender(() => { - document.querySelector('.o_Message_notificationIconContainer').click(); + document.querySelector('.o_Message_notificationIconClickable').click(); }); assert.verifySteps( ['do_action'], |
