[FIX] tests: look for google-chrome-stable executable

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) <xdo@odoo.com>
This commit is contained in:
william
2022-07-01 17:48:27 +02:00
parent 9da9ad2a80
commit 3262adf566
+1 -1
View File
@@ -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: