From 1a4052d1a0dd56c1a99a16cc96ee6006dd5b63e3 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 7b9b520ff..b23400d3d 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 f20857120..0d7fab770 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 7ec60b59f..8d28050ed 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 0e167e15e..c48613573 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -91,11 +91,13 @@