From 8bf80e7b9701b11a7630f5b54be36fb9cb99416b Mon Sep 17 00:00:00 2001 From: Jordi <55429631+jorbush@users.noreply.github.com> Date: Wed, 8 May 2024 09:38:48 +0200 Subject: [PATCH] Update Readme with testing commands --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index f204cff..138c5b4 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,23 @@ npm run format ```bash npm run check-format ``` + +## Testing + +### Using the terminal + +Run the following command: + +```sh +npm run cypress +``` + +### Using the UI + +Start running the command below: +```sh +npx cypress open +``` +1. Then select the type of testing (in our case, it's E2E). +2. Select where the tests will run. We recommend using Chrome. +3. Open the specs tab and open the file `index.cy.js`; this will test the entire application.