Browse Source

make instructions for an Endorser server started from scratch

playwright-pwa-install-test
Trent Larson 4 months ago
parent
commit
bbf621fb18
  1. 14
      README.md

14
README.md

@ -75,17 +75,19 @@ At the test server:
`npx playwright test` `npx playwright test`
At the locally running server: At the locally running server:
... after cloning and setting up https://github.com/trentlarson/endorser-ch and running `test/test.sh`
... and after you `npx playwright install chrome` * Clone and set up https://github.com/trentlarson/endorser-ch and run the following:
... then run these:
``` ```
# In the endorser-ch directory: rm ../endorser-ch-test-local.sqlite3
NODE_ENV=test-local npm run flyway migrate
NODE_ENV=test-local npm run test test/controller0
NODE_ENV=test-local npm run dev NODE_ENV=test-local npm run dev
```
# Here: * Now run the local tests:
```
npx playwright test -c playwright.config-local.ts npx playwright test -c playwright.config-local.ts
``` ```
``
### Register new user on test server ### Register new user on test server

Loading…
Cancel
Save