From 4f97010f99e59ad31b7cad132d11cd9e5e6616a6 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 18 Aug 2024 13:48:07 -0600 Subject: [PATCH] fix tests, add test for offer update --- src/components/GiftedDialog.vue | 2 +- src/components/OfferDialog.vue | 2 +- src/views/ClaimView.vue | 9 +++--- src/views/NewEditProjectView.vue | 2 ++ src/views/OfferDetailsView.vue | 3 +- test-playwright/50-record-offer.spec.ts | 39 +++++++++++++++++++++---- 6 files changed, 45 insertions(+), 12 deletions(-) diff --git a/src/components/GiftedDialog.vue b/src/components/GiftedDialog.vue index 7b9b520..b23400d 100644 --- a/src/components/GiftedDialog.vue +++ b/src/components/GiftedDialog.vue @@ -55,7 +55,7 @@ }" class="text-blue-500" > - Photo & Details ... + Photo & more options ... diff --git a/src/components/OfferDialog.vue b/src/components/OfferDialog.vue index f208571..0d7fab7 100644 --- a/src/components/OfferDialog.vue +++ b/src/components/OfferDialog.vue @@ -54,7 +54,7 @@ }" class="text-blue-500" > - Conditions, expiration... + Conditions & more options... diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue index 7ec60b5..8d28050 100644 --- a/src/views/ClaimView.vue +++ b/src/views/ClaimView.vue @@ -30,8 +30,9 @@ " @click="onClickEditClaim" title="Edit" + data-testId="editClaimButton" > - +
@@ -50,11 +51,11 @@ Copied ID
-
+
{{ - veriClaim.claim?.description || - veriClaim.claim?.itemOffered?.description + veriClaim.claim?.itemOffered?.description || + veriClaim.claim?.description }}
diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index 0e167e1..c486135 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -91,11 +91,13 @@