Cypress Hands On Test
In this hands-on activity we will use cypress to automate a test in a very simple todo app
- Clone the following repo https://github.com/csps-efpc-daan-students-etudiants/intro-to-azure-devops-handson
git clone https://github.com/csps-efpc-daan-students-etudiants/intro-to-azure-devops-handson.git - Navigate to
./vue-client - Run
npm ito install all your dependencies. - Run
npm run test:e2eto bring up Cypress. - Write a test that enters in the
./vue-client/tests/e2e/spec/test.jsa value in the text box, clicks the button, and then ensures that the text is added to the bottom of the list.