From a305c6c6ca4c9b38677952ae122f06c956b1a400 Mon Sep 17 00:00:00 2001 From: "ben.hansell1" Date: Fri, 15 Nov 2024 12:07:58 +0000 Subject: [PATCH] CCM-7248: fix minor formatting issues --- README.md | 8 +++++--- .../vale/styles/config/vocabularies/words/accept.txt | 1 + tests/test-team/package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 49eadda..ae88db3 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ copy and rename `.env.template` to `.env` #### USE_LOCAL_AUTH -``` +```bash true/false ``` @@ -106,9 +106,11 @@ When `true` a new Cognito instance will be created within the Amplify sandbox. Y npm run test:unit ``` -### Playwright sutomated tests +### Playwright automated tests + +You'll need to ensure you have an authenticated terminal to `nhs-notify-iam-dev` AWS account. Then run: ```bash cd /tests/test-team/ -npm run test:e2e-local +npm run test:component ``` diff --git a/scripts/config/vale/styles/config/vocabularies/words/accept.txt b/scripts/config/vale/styles/config/vocabularies/words/accept.txt index 797ee07..c5f53d6 100644 --- a/scripts/config/vale/styles/config/vocabularies/words/accept.txt +++ b/scripts/config/vale/styles/config/vocabularies/words/accept.txt @@ -22,3 +22,4 @@ Syft Terraform toolchain Trufflehog +Cognito diff --git a/tests/test-team/package.json b/tests/test-team/package.json index 495b096..e07afe4 100644 --- a/tests/test-team/package.json +++ b/tests/test-team/package.json @@ -11,4 +11,4 @@ "@aws-sdk/client-cognito-identity-provider": "^3.691.0", "generate-password": "^1.7.1" } -} \ No newline at end of file +}