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 +}