[REF] mail, *: move contains count to named parameter

* = calendar, hr, im_livechat, mrp, project_todo, sms, snailmail,
    test_mail

The parameter is too often specified with its default value to be worth
being a positional parameter.

Part-of: odoo/odoo#133717
This commit is contained in:
Sébastien Theys
2023-09-01 13:21:01 +00:00
parent 78897c1890
commit 3ce461cc51
85 changed files with 1300 additions and 1265 deletions
@@ -159,7 +159,7 @@ QUnit.test(
res_id: avatarId,
views: [[false, "form"]],
});
await contains(".o_field_widget[name=employee_id] input", 1, { value: "Mario" });
await contains(".o_field_widget[name=employee_id] input", { value: "Mario" });
await dom.click(document.querySelector(".o_m2o_avatar > img"));
await contains(
".o_notification.border-info:contains(You can only chat with employees that have a dedicated user.)"