Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction Details → fix typo in staged dispute challenge notice #7217

Merged
merged 4 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/fix-dispute-staged-evidence-notice-typo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fix
Comment: Behind feature flag: fix for typo in staged dispute challenge notice.


2 changes: 1 addition & 1 deletion client/payment-details/dispute-details/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
) }
</InlineNotice>
Expand Down
7 changes: 3 additions & 4 deletions client/payment-details/dispute-details/test/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
} );
} );
} );
Loading