diff --git a/addons/mail/static/tests/chatter_tests.js b/addons/mail/static/tests/chatter_tests.js index 884fc79fee6..3296a84ab0d 100644 --- a/addons/mail/static/tests/chatter_tests.js +++ b/addons/mail/static/tests/chatter_tests.js @@ -1198,7 +1198,7 @@ QUnit.test('chatter: new message notification from document', async function (as }; const notifications = [ [['myDB', 'ir.needaction'], message] ]; form.call('bus_service', 'trigger', 'notification', notifications); - await testUtils.nextMicrotaskTick(); + await testUtils.nextTick(); assert.strictEqual( thread.getUnreadCounter(), 1,