Browse Source

update instructions for test-all testing

master
Trent Larson 2 weeks ago
parent
commit
6cf28776b7
  1. 18
      README.md

18
README.md

@ -33,13 +33,10 @@ npm run serve
npm run lint 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 ### 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: * Clone and set up https://github.com/trentlarson/endorser-ch and run the following in that directory:
``` ```
npm install
test/test.sh test/test.sh
cp .env.local .env
NODE_ENV=test-local npm run dev 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 npm run test-all
``` ```

Loading…
Cancel
Save