Setting up Cypress

Pragati Sharma: Now, we'll try and duplicate whatever we have seen here into our automation framework, we'll be using IntelliJ in order for us to make automation suite from scratch so that let's create a new project an empty project. So selected an empty project and I write this as Test-guild. Let's open that in a new window. So this is all we have in an empty project. Now I want to create a package for Json. So I'll do npm init and it would create a package for our Json to me, so you can simply press redone, because none of these select my ... So now if you check here, you'll have package.Json now within this you'll get to see all the dependancies that you've added since we're using Cypress or Cypress is a Node dependency. We'll be adding Cypress here. So npm install Cypress. After installing Cypress, we would be doing a Cypress open, so instead of npm, we would be using npx which is our package runner command. So the best part about Cypress that it would give you a template-like structure, which would be having four different folders. Now, if I were to walk you through those four different folders. 

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}