test: normalize browser executable path variables (#287)

This commit is contained in:
Andrey Lushnikov 2019-12-17 18:07:01 -08:00 committed by GitHub
parent 0f8333ba89
commit f56726759b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,