[FIX] web: adapt clickeverywhere test to the controlpanel refactor
Since 4cd379cf6e the 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.
closes odoo/odoo#29383
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