|
|
@ -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 |
|
|
|
``` |
|
|
|