Closed bjornsnoen closed 1 year ago
Thank you for the report. Can you confirm whether this is fixed for you in #12?
- "thenbe/neotest-playwright",
+ {
+ "thenbe/neotest-playwright",
+ branch = "env-in-config",
+ },
Yep, that fixes it for me
The env setting defined in adapter settings is not used when running the get_config function in playwright.ts. This means that if any env vars are required inside the detected playwright conf file, there's a potential for a crash. Minimal reproduction would be the following, using
tiny-invariant
in the project.Try to run a test