From 8ad3e3a30f7ec7da08d5bfcf5cdd8bf76d5e8dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Fri, 10 Jun 2022 09:19:42 +0000 Subject: [PATCH] [FIX] mail: adapt misleading assert comment in form tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#93342 X-original-commit: 849eba9a9d037c3486772dce9c96662516425dba Signed-off-by: Alexandre Kühn (aku) Signed-off-by: Sébastien Theys (seb) --- .../tests/qunit_suite_tests/widgets/form_renderer_tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mail/static/tests/qunit_suite_tests/widgets/form_renderer_tests.js b/addons/mail/static/tests/qunit_suite_tests/widgets/form_renderer_tests.js index 2c132183e21..8894cda7335 100644 --- a/addons/mail/static/tests/qunit_suite_tests/widgets/form_renderer_tests.js +++ b/addons/mail/static/tests/qunit_suite_tests/widgets/form_renderer_tests.js @@ -312,7 +312,7 @@ QUnit.test('basic chatter rendering without followers', async function (assert) assert.containsNone( document.body, '.o_FollowerListMenu', - "there should be no followers menu" + "there should be no followers menu because the 'message_follower_ids' field is not present in 'oe_chatter'" ); assert.containsOnce( document.body, @@ -364,7 +364,7 @@ QUnit.test('basic chatter rendering without activities', async function (assert) assert.containsNone( document.body, '.o_ChatterTopbar_buttonScheduleActivity', - "there should be a schedule activity button" + "there should be no schedule activity button because the 'activity_ids' field is not present in 'oe_chatter'" ); assert.containsOnce( document.body, @@ -431,7 +431,7 @@ QUnit.test('basic chatter rendering without messages', async function (assert) { assert.containsNone( document.body, '.o_Chatter_thread', - "there should be a thread" + "there should be no thread because the 'message_ids' field is not present in 'oe_chatter'" ); });