[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).
This commit is contained in:
Nicolas Lempereur
2019-06-04 16:16:41 +00:00
parent bbc8c9fc26
commit 32f13fae14
+1 -1
View File
@@ -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");