Skip to content

Commit

Permalink
fix tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
epszaw committed Feb 13, 2025
1 parent 97e1beb commit 916087b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/allure-playwright/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ export const runPlaywrightInlineTest = async (

return new Promise((resolve) => {
testProcess.on("exit", async (code, signal) => {
const resultsFiles = (await glob(join(testDir, "**/*"), { nodir: true }))
const resultsFiles = (
await glob(join(testDir, "**/*"), {
nodir: true,
windowsPathsNoEscape: true,
})
)
.map((filename) => relative(testDir, filename))
.filter((filename) => !testFilesNames.includes(filename));

Expand Down

0 comments on commit 916087b

Please sign in to comment.