Thursday, July 15, 2021

on

   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








Now go to vs code terminal and and run below command in CypressDemo project directory

npm install cypress



0 comments:

Post a Comment

Contact Form for full-stack-sdet