-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Playwright for VSCode - No Playwright tests found. #23684
Comments
I believe this is same as #20332 I am using nvm and vscode can't find node ? |
Could you try to completely close vscode and start it again? |
Yes I tried that. Also installed node using brew.
…On Wed, Jun 14, 2023, 3:33 AM Max Schmitt ***@***.***> wrote:
Could you try to completely close vscode and start it again?
—
Reply to this email directly, view it on GitHub
<#23684 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASPWOGKZ2U3FKUCXHVTTMDXLFSL7ANCNFSM6AAAAAAZFGTPCI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here is what worked - instead of clicking VSCode from Dock navigate to your project folder from open a bash and the open code |
Just to double check, did you before right click on the vscode icon in the dock and clicked on "Quit"? |
I clicked "Quit Visual Studio Code". But I had even restarted my machine. |
When you launch VSCode from terminal it inherits its environment including PATH variable. When launching from dock the PATH is likely different for some reason and There is also some relevant discussions in microsoft/vscode#21655 and https://stackoverflow.com/questions/66162058/vscode-complains-that-resolving-my-environment-takes-too-long |
Closing per the response above, feel free to open a new issue if it doesn't work. |
best response - works, thank you! |
This did not work for me. |
Curious why does playwright need access to the shell? I am assuming that
when vs code is started via a shell it's pkigins gets access to it
…On Wed, Apr 24, 2024, 2:29 PM jshtawayHR ***@***.***> wrote:
Here is what worked - instead of clicking VSCode from Dock navigate to
your project folder from open a bash and the open code code . and the
errors are gone.
This did not work for me.
—
Reply to this email directly, view it on GitHub
<#23684 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASPWOG2EJAROOITMJ277I3Y672XHAVCNFSM6AAAAAAZFGTPCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGU3TKNRYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Context:
"No Playwright tests found."
In the Testing - Test Explorer
vscode version: 1.79
Playwright Test for VSCode v1.0.13
This morning suddenly after the updates Playwright test are not showing up.
Developer Tools console is showing the error saying node not found.
It is found from bash/zsh shell as it is in the path
Code Snippet
Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally. For example:
Describe the bug
Add any other details about the problem here.
The text was updated successfully, but these errors were encountered: