Skip to content

Commit

Permalink
[PRMDR-464] Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joefong-nhs committed Dec 13, 2023
1 parent 3917231 commit b80d747
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The National Document Repository user interface (UI) has been developed with Rea

### 1. Set Env Variables

Create a `.env` file by duplicating [.env.example](.env_example) and adding any missing values. This file is sourced to
Create a `.env` file by duplicating [.env.template](.env.template) and adding any missing values. This file is sourced to
your shell env so make sure it doesn't have any extra whitespace, comments etc.
The `local` environment variable will allow your local app to bypass auth and mock most lambda requests.

Expand Down Expand Up @@ -57,7 +57,10 @@ The applications unit tests will also run automatically every-time a push is mad

### 2. E2E Tests

There are also Cypress end-to-end tests written against each user journey and it's functionality. You can run these by running
There are also Cypress end-to-end tests written against each user journey and it's functionality.

Before running the E2E tests, please ensure you have got the value `CYPRESS_BASE_URL=http://localhost:xxxx` set up in your .env file.
You can run then start the E2E tests by running

```bash
make cypress-open
Expand Down

0 comments on commit b80d747

Please sign in to comment.