diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 649381ad..f4b55383 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -94,25 +94,40 @@
-
-
+
+
People {{ profileImageUrl ? "without your image" : "" }} see this
(if you've let them see your activity): @@ -146,13 +161,13 @@
-
ID
+
ID: 
{{ activeDid }}
@@ -269,21 +284,23 @@
{{ notifyingNewActivityTime.replace(" ", " ") }}
- - Troubleshoot your notifications. - +
+ + Troubleshoot your notifications… + +

Location for Searches

{{ isSearchAreasSet ? "Change" : "Set" }} Search Area… @@ -295,10 +312,10 @@ class="bg-slate-100 rounded-md overflow-hidden px-4 py-4 mt-8 mb-8" aria-labelledby="userProfileHeading" > -

- Public Profile +

+ Public Profile

-
+
-

- Beware! - You aren't sharing your name, so quickly -
- + Note: your identity currently does not include a name. +

+ +
diff --git a/test-playwright/README.md b/test-playwright/README.md index 3b55ffe0..38ff5abf 100644 --- a/test-playwright/README.md +++ b/test-playwright/README.md @@ -29,6 +29,14 @@ Tests are organized by feature area and numbered for execution order: ## Prerequisites 1. Endorser server running locally (see TESTING.md for setup) + ```bash + git clone https://github.com/time-endorser/endorser-ch.git + cd endorser-ch + npm install + test/test.sh + cp .env.local .env + NODE_ENV=test-local npm run dev + ``` 2. Playwright browsers installed: ```bash npx playwright install @@ -78,9 +86,9 @@ npx playwright test -c playwright.config-local.ts --trace on test-playwright/40- ## Test Data -The test suite uses predefined test users, with User #0 having registration privileges: -- DID: `did:ethr:0x0000694B58C2cC69658993A90D3840C560f2F51F` -- Seed phrase available in TESTING.md +The test suite uses predefined test users, with User #0 having registration privileges. To use it: Profile -> Advanced -> Switch Identifier -> Add Another Identity -> You Have A Seed -> Advanced -> Use mnemonic for Test User #0 -> Import + +More details available in TESTING.md ## Troubleshooting diff --git a/test-playwright/TESTING.md b/test-playwright/TESTING.md index 22513157..e6c3cb7c 100644 --- a/test-playwright/TESTING.md +++ b/test-playwright/TESTING.md @@ -1,69 +1,6 @@ # Testing Guide -## Automated Tests - -### Setup - -1. Clone and set up the Endorser server: - -```bash -git clone https://github.com/time-endorser/endorser-ch.git -cd endorser-ch -npm install -test/test.sh -cp .env.local .env -NODE_ENV=test-local npm run dev -``` - -If that fails, follow the instructions in the endorser-ch directory's README.md. - -2. Install Playwright browsers: - -```bash -npx playwright install -``` - -### Running Tests - -#### Full Test Suite - -To run all tests, make sure XCode is started and either Android Studio is started or an Android device is connected. - -```bash -npm run test:all -``` - -Run only web tests: - -```bash -npm run test:web -``` - -Note: Tests may occasionally fail and succeed on rerun (especially if a different test fails). - -#### Single Test -To run a single test with tracing enabled: - -```bash -npx playwright test -c playwright.config-local.ts --trace on test-playwright/40-add-contact.spec.ts -``` -#### Global Test Server -It's possible to use the global test Endorser (ledger) server, though not all tests currently succeed: - -```bash -VITE_DEFAULT_ENDORSER_API_SERVER=https://test-ledger.time.com npm run dev -``` - -#### Minimal Test Data -To run with minimal test data: - -```bash -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 -``` - +Start with [README.md](./README.md). This file has more details. ## Test User Setup