[FIX] web: adapt clickeverywhere test to the controlpanel refactor
Since4cd379cf6ethe ControlPanel is now a child of the viewController. This breaks the clickEveryWhere test. With this commit, the view_controller selector is adapted in the clickEverywhere test. cheery-pick of5e92adb39ccloses odoo/odoo#29396
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
$element.click();
|
||||
},250);
|
||||
var waitViewSwitch = waitForCondition(function(){
|
||||
return $('.o_content > .o_view_controller').data('view-type') === viewType;
|
||||
return $('.o_action_manager> .o_action.o_view_controller').data('view-type') === viewType;
|
||||
});
|
||||
return waitViewSwitch.then(function() {
|
||||
return testFilters();
|
||||
|
||||
Reference in New Issue
Block a user