We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dca116 commit 7abb9b5Copy full SHA for 7abb9b5
1 file changed
test/browser_common.py
@@ -332,11 +332,11 @@ def configure_test_browser():
332
if not has_browser():
333
return
334
335
- if not EMTEST_BROWSER:
336
- EMTEST_BROWSER = shutil.which('google-chrome')
337
338
- EMTEST_BROWSER = shutil.which('firefox')
339
+ EMTEST_BROWSER = 'google-chrome'
+ if not shutil.which(EMTEST_BROWSER):
+ EMTEST_BROWSER = 'firefox'
+ # FIXME: This should really be and error, but this code currently also runs for non-browser tests.
340
EMTEST_BROWSER = 'default-browser-not-found'
341
342
if WINDOWS and '"' not in EMTEST_BROWSER and "'" not in EMTEST_BROWSER:
0 commit comments