Open rehanmomin opened 5 years ago
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. But after Clicking TesCafe: Run in (any browser) Nothing is happening.
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:
npm i
to install dependencies
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.