Open the visual studio code
Check if the terminal is not opened already then terminal -> New Terminal
Switch to the desired workspace by using cd C:/DemoWorkspace
Create a project directory by using mkdir CypressDemo
And switch to CypressDemo by using cd CypressDemo
In CypressDemo project directory call below npm command
npm init -y
a package.json file is created.
Now open the project directory in vscode
File -> open folder-> C -> DemoWorkspace -> CypressDemo -> Select Folder
0 comments:
Post a Comment