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. + + diff --git a/client/payment-details/dispute-details/index.tsx b/client/payment-details/dispute-details/index.tsx index 249032812e7..bb41511d293 100644 --- a/client/payment-details/dispute-details/index.tsx +++ b/client/payment-details/dispute-details/index.tsx @@ -47,7 +47,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 6032e497cf9..9787972fd17 100644 --- a/client/payment-details/dispute-details/test/index.test.tsx +++ b/client/payment-details/dispute-details/test/index.test.tsx @@ -196,9 +196,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', + } ); } ); } );