test: normalize browser executable path variables (#287)
This commit is contained in:
parent
0f8333ba89
commit
f56726759b
|
|
@ -42,9 +42,9 @@ module.exports.addTests = ({testRunner, product, playwrightPath}) => {
|
|||
const slowMo = parseInt((process.env.SLOW_MO || '0').trim(), 10);
|
||||
|
||||
const executablePath = {
|
||||
'Chromium': process.env.CHROME,
|
||||
'Firefox': process.env.FFOX,
|
||||
'WebKit': process.env.WEBKIT_PATH,
|
||||
'Chromium': process.env.CRPATH,
|
||||
'Firefox': process.env.FFPATH,
|
||||
'WebKit': process.env.WKPATH,
|
||||
}[product];
|
||||
const defaultBrowserOptions = {
|
||||
handleSIGINT: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue