-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
Context:
- PlayWright Version: 0.10.0
- Operating System: Windows 2019
Might relate to #680
Code Snippet
Run npx jest
const { chromium } = require("playwright");
test("browser one success", async () => {
const context = await chromium.launch();
await context.close();
});
test("browser two failure", async () => {
const context = await chromium.launch();
await context.close();
});Describe the bug
The second test throws this error.
assert(received)
Expected value to be equal to:
true
Received:
false
at fixWinEPERM (node_modules/rimraf/rimraf.js:175:5)
at node_modules/rimraf/rimraf.js:160:15
Others have seen this same issue with rimraf on windows.
jestjs/jest#3942 (comment)
GoogleChrome/lighthouse#2641
I tried to force the playwright-core resolution to rimraf 3.0.1 but I ran into the same issue.
Is there a way to remove the rimraf dependency and replace it with fs-extra, that seems to be an approach that worked here. getgauge/taiko#837
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels