[FIX] mail: adapt misleading assert comment in form tests
closes odoo/odoo#93342 X-original-commit: 849eba9a9d037c3486772dce9c96662516425dba Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -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'"
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user