diff --git a/addons/web/static/tests/fields/relational_fields_tests.js b/addons/web/static/tests/fields/relational_fields_tests.js index 5b3ff08a1b6..ec8b06b6351 100644 --- a/addons/web/static/tests/fields/relational_fields_tests.js +++ b/addons/web/static/tests/fields/relational_fields_tests.js @@ -1270,7 +1270,7 @@ QUnit.module('relational_fields', { '', }); assert.containsN(list, '.o_field_many2manytags .badge', 2, "there should be 2 tags"); - assert.containsNone(list, '.dropdown-toggle', "the tags should not be dropdowns"); + assert.containsNone(list, '.badge.dropdown-toggle', "the tags should not be dropdowns"); testUtils.intercept(list, 'switch_view', function (event) { assert.strictEqual(event.data.view_type, "form", "should switch to form view");