mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-13 02:21:10 +03:00
fix(test): default DEBUGP to false (#989)
This commit is contained in:
parent
8ed88c910a
commit
d790b4c280
@ -45,7 +45,7 @@ module.exports.describe = ({testRunner, product, playwrightPath}) => {
|
||||
const headless = !!valueFromEnv('HEADLESS', true);
|
||||
const slowMo = valueFromEnv('SLOW_MO', 0);
|
||||
const CI = valueFromEnv('CI', false);
|
||||
const dumpProtocolOnFailure = CI || valueFromEnv('DEBUGP', true);
|
||||
const dumpProtocolOnFailure = CI || valueFromEnv('DEBUGP', false);
|
||||
|
||||
function valueFromEnv(name, defaultValue) {
|
||||
if (!(name in process.env))
|
||||
|
Loading…
Reference in New Issue
Block a user