modify the settings to allow account-specific settings, eg. for "isRegistered"
This commit is contained in:
11
README.md
11
README.md
@@ -97,7 +97,7 @@ It's possible to use the global test Endorser (ledger) server (but currently the
|
||||
|
||||
|
||||
|
||||
It's possible to run with a minimal set of data: the following starts with the bare minimum of test data (but currently the tests don't all succeed):
|
||||
It's possible to run with a minimal set of data; the following starts with the bare minimum of test data:
|
||||
```
|
||||
rm ../endorser-ch-test-local.sqlite3
|
||||
NODE_ENV=test-local npm run flyway migrate
|
||||
@@ -106,6 +106,15 @@ NODE_ENV=test-local npm run dev
|
||||
```
|
||||
|
||||
|
||||
To run a single test with the screenshots, use the following:
|
||||
```
|
||||
npx playwright test test-playwright/40-add-contact.spec.ts --trace on
|
||||
```
|
||||
|
||||
... with the `-c playwright.config-local.ts` to get the same results as above.
|
||||
|
||||
|
||||
|
||||
### Register new user on test server
|
||||
|
||||
On the test server, User #0 has rights to register others, so you can start
|
||||
|
||||
Reference in New Issue
Block a user