From 6cf28776b76b9b414a315e285b9d3158e9c8c115 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 4 Jan 2025 20:32:56 -0700 Subject: [PATCH] update instructions for test-all testing --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5d5c7f7..c0164b3 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,10 @@ npm run serve npm run lint ``` -### Run all important tests +### Run all UI tests -... including automated UI tests (see below for details) +Look below for the "test-all" instructions. -``` -npm run test-all -``` ### Compile and minify for test & production @@ -92,11 +89,20 @@ Use the locally running Endorser server: * Clone and set up https://github.com/trentlarson/endorser-ch and run the following in that directory: ``` +npm install test/test.sh +cp .env.local .env NODE_ENV=test-local npm run dev ``` -* Now run the local tests: +If that fails, go to the README.md in the endorser-ch directory and follow the instructions there. + +* Install playwright browsers: +``` +npx playwright install +``` + +* Now you can run the local tests: ``` npm run test-all ```