add a config for local testing, plus add mobile testing and some instructions

This commit is contained in:
2024-07-27 16:52:44 -06:00
parent e8e5c70843
commit 77ce5c8ca7
5 changed files with 130 additions and 15 deletions

View File

@@ -71,8 +71,22 @@ npm run build
### Automated
At the test server:
`npx playwright test`
At the locally running server:
... after clone and setup https://github.com/trentlarson/endorser-ch
... and after you `npx playwright install chrome`
... then run these:
```
# In the endorser-ch directory:
NODE_ENV=test-local npm run dev
# Here:
npx playwright test -c playwright.config-local.ts
```
``
### Register new user on test server
On the test server, User #0 has rights to register others, so you can start