Skip to content

Commit

Permalink
add more warning msg
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Feb 12, 2024
1 parent 40bc2c4 commit dd37837
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/playwright-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ function generateJUnitFile(
platformName: string,
) {
if (!fs.existsSync(sourceFile)) {
console.warn(
`JUnit file generation skipped as the original JUnit file (${sourceFile}) from Playwright was not located.`,
);
return;
}

Expand Down

0 comments on commit dd37837

Please sign in to comment.