From 32f13fae14b931ed9c8aac9bcd98b53a18438498 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 4 Jun 2019 16:11:58 +0000 Subject: [PATCH] [FIX] web: list editable test forward-port Now in 12.3, when the a editable list view is grouped, the "Create" button is no longer shown as was the case before (when it would open the form view when clicked). --- addons/web/static/tests/views/list_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/tests/views/list_tests.js b/addons/web/static/tests/views/list_tests.js index dbce481710d..be34bd19999 100644 --- a/addons/web/static/tests/views/list_tests.js +++ b/addons/web/static/tests/views/list_tests.js @@ -972,7 +972,7 @@ QUnit.module('Views', { await testUtils.dom.click(actionManager.$('.o_dropdown_toggler_btn:contains("Group By")')); await testUtils.dom.click(actionManager.$('.o_group_by_menu .o_menu_item a:contains("candle")')); - assert.isVisible(actionManager.$('.o_list_button_add'), "create button should be invisible"); + assert.isNotVisible(actionManager.$('.o_list_button_add'), "create button should be invisible"); assert.isNotVisible(actionManager.$('.o_list_button_save'), "save button should be invisible after applying groupby");