From 7a2589247251691f4432a97ed1f0f66fadada3bb Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Thu, 22 Aug 2024 20:21:37 -0600 Subject: [PATCH 1/7] add test for registration of new user --- playwright.config-local.ts | 2 +- src/views/AccountViewView.vue | 5 +- src/views/NewIdentifierView.vue | 12 ++--- src/views/StartView.vue | 1 + test-playwright/00-noid-tests.spec.ts | 18 ++++++- test-playwright/10-check-usage-limits.spec.ts | 12 ++++- test-playwright/40-add-contact.spec.ts | 7 ++- test-playwright/testUtils.ts | 50 ++++++++++++++++--- 8 files changed, 87 insertions(+), 20 deletions(-) diff --git a/playwright.config-local.ts b/playwright.config-local.ts index 511af52..c3bd2a5 100644 --- a/playwright.config-local.ts +++ b/playwright.config-local.ts @@ -74,7 +74,7 @@ export default defineConfig({ /* Configure global timeout; default is 30000 milliseconds */ // the image upload will often not succeed at 5 seconds - timeout: 20000, + // timeout: 10000, /* Run your local dev server before starting the tests */ /** diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index d5617a3..ea1a389 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -129,7 +129,10 @@
ID
-
+
{{ activeDid }} +
- -
- - Choose From All Contacts - - -
From 767d33c0a0ed633a86888a36923a624d2529ad21 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Fri, 23 Aug 2024 20:06:50 -0600 Subject: [PATCH 3/7] prompt for name when showing info, and provide a "copy" page when remote --- src/App.vue | 7 +- src/components/ImageMethodDialog.vue | 2 +- src/components/UserNameDialog.vue | 96 ++++++++++++++++++++++++ src/constants/app.ts | 4 +- src/libs/endorserServer.ts | 52 ++++++++++++- src/router/index.ts | 5 ++ src/views/AccountViewView.vue | 4 +- src/views/ContactQRScanShowView.vue | 18 ++++- src/views/ContactsView.vue | 4 +- src/views/DiscoverView.vue | 10 ++- src/views/HomeView.vue | 62 ++++++++++++---- src/views/ProjectsView.vue | 8 +- src/views/ShareMyContactInfoView.vue | 106 +++++++++++++++++++++++++++ 13 files changed, 343 insertions(+), 35 deletions(-) create mode 100644 src/components/UserNameDialog.vue create mode 100644 src/views/ShareMyContactInfoView.vue diff --git a/src/App.vue b/src/App.vue index 49d0356..e1a43ca 100644 --- a/src/App.vue +++ b/src/App.vue @@ -180,8 +180,9 @@ " class="block w-full text-center text-md font-bold uppercase bg-blue-600 text-white px-2 py-2 rounded-md mb-2" > - Yes - {{ notification.yesText ? ", " + notification.yesText : "" }} + Yes{{ + notification.yesText ? ", " + notification.yesText : "" + }}