From 9507af4a8b4e68c4873fb1f4cdc65aaa50a0f1a6 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Wed, 28 Apr 2021 07:42:30 +0000 Subject: [FIX] web: make test pass on chrome 90 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The changed test uses the drag&drop helper, and an operation does not work as expected with the given params on chrome 90. The runbot currently uses chrome 80, so it is not an issue, but if your chrome is up-to-date, and you try to run the test suite, this test would fail. closes odoo/odoo#70008 X-original-commit: 43994da9980e4133274984f720bb58f3546ea0f9 Signed-off-by: Géry Debongnie (ged) Signed-off-by: Aaron Bohy (aab) --- .../web/static/tests/fields/relational_fields/field_one2many_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/tests/fields') diff --git a/addons/web/static/tests/fields/relational_fields/field_one2many_tests.js b/addons/web/static/tests/fields/relational_fields/field_one2many_tests.js index e496b3674b7..21d0acf65d1 100644 --- a/addons/web/static/tests/fields/relational_fields/field_one2many_tests.js +++ b/addons/web/static/tests/fields/relational_fields/field_one2many_tests.js @@ -1707,7 +1707,7 @@ QUnit.module('fields', {}, function () { var positions = [ [6, 0, 'top', ['3', '6', '1', '2', '5', '7', '4']], // move the last to the first line [5, 1, 'top', ['7', '6', '1', '2', '5']], // move the penultimate to the second line - [2, 5, 'center', ['1', '2', '5', '6']], // move the third to the penultimate line + [2, 5, 'bottom', ['1', '2', '5', '6']], // move the third to the penultimate line ]; async function dragAndDrop() { var pos = positions.shift(); -- cgit v1.2.3