Skip to content

Commit ba1dbaf

Browse files
author
Alex Plischke
committed
debug: more lines
1 parent d52b11d commit ba1dbaf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/playwright-runner.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ async function runPlaywright(
277277

278278
// Copy our runner's playwright config to a custom location in order to
279279
// preserve the customer's config which we may want to load in the future
280+
console.log('Copying Playwright config file.');
280281
const configFileName = (await utils.isEsmProject(runCfg.projectPath))
281282
? 'sauce.config.mjs'
282283
: 'sauce.config.cjs';
@@ -288,6 +289,7 @@ async function runPlaywright(
288289
config: configFile,
289290
};
290291

292+
console.log('Constructing Playwright command arguments.');
291293
const playwrightBin = path.join(
292294
__dirname,
293295
'..',
@@ -368,6 +370,7 @@ async function runPlaywright(
368370
};
369371

370372
// runCfg.path must be set for prepareNpmEnv to find node_modules. :(
373+
console.log('Preparing NPM environment.');
371374
await prepareNpmEnv(runCfg, nodeCtx);
372375

373376
// Run suite preExecs

src/sauce.config.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
console.log('Top of sauce.config.cjs');
2+
13
const process = require('process');
24
const _ = require('lodash');
35
const fs = require('fs');

0 commit comments

Comments
 (0)