diff --git a/README.md b/README.md index d117f0a..9e81d38 100644 --- a/README.md +++ b/README.md @@ -75,17 +75,19 @@ At the test server: `npx playwright test` 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` -... then run these: + +* Clone and set up https://github.com/trentlarson/endorser-ch and run the following: ``` -# 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 +``` -# Here: +* Now run the local tests: +``` npx playwright test -c playwright.config-local.ts ``` -`` ### Register new user on test server