summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js')
-rw-r--r--addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js b/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
index 9570aa0b7e8..c1ad31804e6 100644
--- a/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
+++ b/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
@@ -54,6 +54,7 @@ odoo.define('point_of_sale.tests.ChromeWidgets', function (require) {
class Parent extends PopupControllerMixin(PosComponent) {}
Parent.env = makePosTestEnv();
+ Parent.env.chrome = new owl.Context({ showOrderSelector: true });
Parent.template = xml/* html */ `
<div>
<OrderSelector></OrderSelector>