SOLVED : Visual Studio Error : The editor could not be opened due to an unexpected error: Unable to read file playwright-boilerplate/tests/api.ui.spec.ts’ (NoPermissions (FileSystemError): An unknown error occurred.

Analysis: Problem is with permissions of folder and hence application permissions need to be increased for visual studio to read the code.

Solution:

chmod -R 755 .

Run the above command so all files in the folder have permissions to be executed.

Quit Visual Studio

Reopen Visual Studio

All files must be loaded and Issue must be resolved.

CLAP IT IF YOU LIKE IT

!! HAPPY CODING !!

--

--

Tejasvi Manmatha - Playwright, Cypress, Automation

Tej has over 18 years of IT experience with 3 years as a developer & 15 years as SDET (Software Developer in Test). Playwright, Cypress, Typescript, javascript