diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-12-10 10:31:36 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-12-10 10:42:48 +0000 |
| commit | 5e92adb39ca8cf5f4b48e3eb1d52a66dc65572f3 (patch) | |
| tree | 1369e1d1e64f209a1d5dfc577730de6f7fb21619 /addons/web/static | |
| parent | b65202cb8ec49fd212a4d2170aa2397fffc06c58 (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.
closes odoo/odoo#29383
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/js/tools/test_menus.js | 2 |
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(); |
