Objectives:

Starter Code:

https://github.com/LambdaSchool/cypress-end-to-end

Testing

Commands to get started:

You can quickly add Cypress to an application and get started with end-to-end testing.

For today we make sure we are in the cypress-end-to-end directory and then we can run the following commands in our terminal:

npm install --save-dev cypress
npx cypress open

When you run the last command for the first time the Cypress GUI will pop up with a lot of example tests.

You could click on any of these and run through a few to get an idea of how the GUI works and also take a look at the new cypress folder in your project.