From 1d2252b43c0a56a552df90fc668165a590d36ecc Mon Sep 17 00:00:00 2001 From: Eric Jinks <3147296+Jinksi@users.noreply.github.com> Date: Fri, 15 Sep 2023 14:43:29 +1000 Subject: [PATCH 1/2] Fix typo in staged dispute challenge notice --- client/payment-details/dispute-details/index.tsx | 2 +- client/payment-details/dispute-details/test/index.test.tsx | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/payment-details/dispute-details/index.tsx b/client/payment-details/dispute-details/index.tsx index 4896b3e1e63..88c8679fe0c 100644 --- a/client/payment-details/dispute-details/index.tsx +++ b/client/payment-details/dispute-details/index.tsx @@ -46,7 +46,7 @@ const DisputeDetails: React.FC< DisputeDetailsProps > = ( { dispute } ) => { isDismissible={ false } > { __( - `You initiated a dispute a challenge to this dispute. Click 'Continue with challenge' to proceed with your drafted response.`, + `You initiated a challenge to this dispute. Click 'Continue with challenge' to proceed with your draft response.`, 'woocommerce-payments' ) } diff --git a/client/payment-details/dispute-details/test/index.test.tsx b/client/payment-details/dispute-details/test/index.test.tsx index e2cd36c11f6..6c689cbbc65 100644 --- a/client/payment-details/dispute-details/test/index.test.tsx +++ b/client/payment-details/dispute-details/test/index.test.tsx @@ -195,9 +195,8 @@ describe( 'DisputeDetails', () => { ); // Render the staged evidence message - screen.getByText( - /You initiated a dispute a challenge to this dispute/, - { ignore: '.a11y-speak-region' } - ); + screen.getByText( /You initiated a challenge to this dispute/, { + ignore: '.a11y-speak-region', + } ); } ); } ); From 8d26689cfa0562459b1b31409a7b3ffb9799a211 Mon Sep 17 00:00:00 2001 From: Eric Jinks <3147296+Jinksi@users.noreply.github.com> Date: Fri, 15 Sep 2023 14:50:31 +1000 Subject: [PATCH 2/2] Add empty changelog entry --- changelog/fix-dispute-staged-evidence-notice-typo | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelog/fix-dispute-staged-evidence-notice-typo diff --git a/changelog/fix-dispute-staged-evidence-notice-typo b/changelog/fix-dispute-staged-evidence-notice-typo new file mode 100644 index 00000000000..f0337ebd600 --- /dev/null +++ b/changelog/fix-dispute-staged-evidence-notice-typo @@ -0,0 +1,5 @@ +Significance: patch +Type: fix +Comment: Behind feature flag: fix for typo in staged dispute challenge notice. + +