Closed lateek35 closed 1 year ago
Hello, I have encountered the same issue. It was working yesterday but not today, with the same Playwright version being 1.38.1. However, I’ve resolved this issue by upgrading to version 1.39.0. I hope this can help you.
Same issue for me. Resolved with the update to 1.39.0 version.
Playwright Version: 1.38.1
Operating System: macOS Sonoma 14.0
Browser: Chromium
Other info: node 18.18
Error message:
1) [chromium] › **.spec.ts:15:9 › ** suite @smoke › Common checks › should show **
Error: ENOENT: no such file or directory, open '/var/folders/ng/khzg222s79l64r0g7grc21qr0000gq/T/playwright-transform-cache-503/41/drugReportlocators_41b3dc0f10faca63cfc4b6286786d6dfbd9644aa.js'
at ../lib/page-objects/common-widgets/table.ts:2
1 | import { Locator } from "@playwright/test";
> 2 | import { REPORT_LOCATORS } from "../../../locators/components/pages/report/locators";
| ^
cc @sand4rt
I was having this issue in 1.39.0 also.
Removing the /var/folders/<path>/playwright-transform-cache-501
folder fixed it for me.
Waiting for 1.40.0 for proper fix.
I was also experiencing a weird time with a similar error and removing the
/var/folders/g3/53p2r2293bx02823n4_0v4s40000gq/T/playwright-transform-cache-503
fixed it for me.
Version working on: "1.38.1"
System info
Config file
Steps
Expected
I expect my test to start, and complete /or fail giving me revelant information.
Actual
My test immediately fails (it was working fine yesterday) and point to an import which absolutly correct with an error that mention a file that I didn't have control of :
It seems to be caching issues, but not the of the way to get out of it.
EDIT: Just seen from your discord that 4 other people seem to had the same issue.