diff --git a/odoo/tests/common.py b/odoo/tests/common.py index aa647233dce..07f089906c5 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -976,6 +976,9 @@ class ChromeBrowser: '--remote-debugging-port': '0', '--no-sandbox': '', '--disable-gpu': '', + # required for tests that depends on the jquery.touchSwipe library, which detects + # touch capabilities using "'ontouchstart' in window" + '--touch-events':'', } cmd = [self.executable] cmd += ['%s=%s' % (k, v) if v else k for k, v in switches.items()]