diff --git a/README.md b/README.md index 190f938..b801728 100644 --- a/README.md +++ b/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 diff --git a/src/App.vue b/src/App.vue index e1a43ca..0c2d5dc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -375,7 +375,10 @@