[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user