summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/tools
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-12-10 10:31:36 +0000
committerChristophe Monniez <moc@odoo.com>2018-12-10 15:59:07 +0000
commitab376d60cbf5862c3d4f82c60c3ee737dc9dea73 (patch)
tree83c3cd018196c76d8f6cfbd22576bdb4116e58f6 /addons/web/static/src/js/tools
parentd3357836bc6187e141f9b50aa1f1380e08ebb665 (diff)
[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. cheery-pick of 5e92adb39ca8cf5f4b48e3eb1d52a66dc65572f3 closes odoo/odoo#29396
Diffstat (limited to 'addons/web/static/src/js/tools')
-rw-r--r--addons/web/static/src/js/tools/test_menus.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/tools/test_menus.js b/addons/web/static/src/js/tools/test_menus.js
index c0543bf1772..c7b1846b1e9 100644
--- a/addons/web/static/src/js/tools/test_menus.js
+++ b/addons/web/static/src/js/tools/test_menus.js
@@ -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();