diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-03-11 10:16:53 +0000 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-03-11 10:16:53 +0000 |
| commit | 2b3296bbf8b5d08fad20a4ca8d83ebb0aa7303b3 (patch) | |
| tree | 4293435d36874cc8a7c0c0739857603706c8f6b6 /addons/web/static/tests/fields/relational_fields_tests.js | |
| parent | ae8aac2a182be51ef7921d07067adef007cf6709 (diff) | |
[FIX] web: use stricter css selector in new test
It allow not matching the dropdowns of the search view.
closes odoo/odoo#31738
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/relational_fields_tests.js')
| -rw-r--r-- | addons/web/static/tests/fields/relational_fields_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
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', { '</tree>', }); 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"); |
