From 3262adf5663f718abca893d1b2e93f03c8556f8f Mon Sep 17 00:00:00 2001 From: william Date: Fri, 1 Jul 2022 14:17:56 +0000 Subject: [PATCH] [FIX] tests: look for google-chrome-stable executable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On archlinux, when installing the AUR package [1] through yay, the executable name is `google-chrome-stable` [1]: https://aur.archlinux.org/packages/google-chrome closes odoo/odoo#95093 Signed-off-by: Xavier Dollé (xdo) --- odoo/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/tests/common.py b/odoo/tests/common.py index f3ec7e10fcc..396c726e235 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -909,7 +909,7 @@ class ChromeBrowser: def executable(self): system = platform.system() if system == 'Linux': - for bin_ in ['google-chrome', 'chromium', 'chromium-browser']: + for bin_ in ['google-chrome', 'chromium', 'chromium-browser', 'google-chrome-stable']: try: return find_in_path(bin_) except IOError: