[FIX] web: adapt 1a9a082d to new fields

This commit is contained in:
Aaron Bohy
2017-04-11 19:44:38 +02:00
parent 722cb7cd83
commit 00a172b40d
2 changed files with 3 additions and 25 deletions
@@ -2035,11 +2035,9 @@ QUnit.module('relational_fields', {
form.$buttons.find('.o_form_button_edit').click();
assert.ok(form.$('.o_form_field_x2many_list_row_add').length,
'"Add an item" link should be available in edit');
assert.ok(!form.$('.o_form_field_x2many_list_row_add').length,
'"Add an item" link should not be available in edit either');
// TODO: click on add an item and test that the select create dialog has no 'Create' button
// form.$('.o_form_field_x2many_list_row_add').click();
form.destroy();
});