From e618845112a68771367bfa2b3d6b1b27db4a1bdf Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 2 Jan 2019 16:08:25 +0100 Subject: [PATCH] [FIX] web: adapt forward-ported test --- addons/web/static/tests/fields/relational_fields_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/tests/fields/relational_fields_tests.js b/addons/web/static/tests/fields/relational_fields_tests.js index 4f996efa197..8b026e0fca2 100644 --- a/addons/web/static/tests/fields/relational_fields_tests.js +++ b/addons/web/static/tests/fields/relational_fields_tests.js @@ -4035,7 +4035,7 @@ QUnit.module('relational_fields', { form.$('.o_field_x2many_list_row_add a').click(); form.$('.o_input').val('pi').trigger('input'); // delete the line above it - form.$('.o_list_record_delete').first().click(); + form.$('.o_list_record_remove').first().click(); // the next line should be displayed below the newly added one assert.strictEqual(form.$('.o_data_row').length, 2, "should have 2 records"); assert.strictEqual(form.$('.o_data_row').text(), 'pikawa',