-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unable to run testcafe from visual studio code #35
Comments
Hi @rehanmomin . Try to open any JS/TS file in your workspace and check the VS Code context menu. It should contain a few "TestCafe: ..." items. |
@romanresh sorry to not include this in previous comment. Now i have updated TestCafe Test Runner to 2.0.0 |
@rehanmomin It's difficult to find out a cause of this problem without debugging. Let me describe you some background, how the extension works. The extension uses the Terminal tab to run the testcafe process. When you click the "TestCafe: ..." menu item the extension determines a test name in your file (based on cursor position) and run the testcafe process in terminal with parameters (including filename and test name). Usually the extension cannot run a test because of a few known problems:
If nothing happens (both terminal is empty and no VSCode message box appears) you can try to find the cause of the problem yourself via debugging of the extension:
|
Unable to run testcafe from visual studio code
Installed TestCafe Test Runner 1.4.5 from market Place .
nothing is happening in Visual Studio Code.
No error is shown nothing.
Same program is running from Visual Studio Code Powershell.
The text was updated successfully, but these errors were encountered: