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 slowMo = parseInt((process.env.SLOW_MO || '0').trim(), 10);
|
||||||
|
|
||||||
const executablePath = {
|
const executablePath = {
|
||||||
'Chromium': process.env.CHROME,
|
'Chromium': process.env.CRPATH,
|
||||||
'Firefox': process.env.FFOX,
|
'Firefox': process.env.FFPATH,
|
||||||
'WebKit': process.env.WEBKIT_PATH,
|
'WebKit': process.env.WKPATH,
|
||||||
}[product];
|
}[product];
|
||||||
const defaultBrowserOptions = {
|
const defaultBrowserOptions = {
|
||||||
handleSIGINT: false,
|
handleSIGINT: false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue