summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2021-04-28 07:42:30 +0000
committerAaron Bohy <aab@odoo.com>2021-04-28 12:29:32 +0000
commit9507af4a8b4e68c4873fb1f4cdc65aaa50a0f1a6 (patch)
tree936b625d28e1f991776afab3e76ed2ebe6d79a10 /addons/web
parent11376c88e0068a0bece0b0b56ffd4a9f296ffb87 (diff)
[FIX] web: make test pass on chrome 90
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) <ged@openerp.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web')
-rw-r--r--addons/web/static/tests/fields/relational_fields/field_one2many_tests.js2
1 files changed, 1 insertions, 1 deletions
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();