Skip to content

Commit

Permalink
Merge pull request #945 from MTES-MCT/edit-address-button-label
Browse files Browse the repository at this point in the history
Updated the "Edit address" button label on the campaign page
  • Loading branch information
LuluFreeDesign authored Oct 8, 2024
2 parents 30222d7 + 9162724 commit b1a0afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function OwnerEditionSideMenu(props: Props) {
size="small"
onClick={open}
>
Éditer l’adresse
Éditer
</Button>
<Aside
expand={active}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/Campaign/test/CampaignView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ describe('Campaign view', () => {
const tab = await screen.findByRole('tab', { name: /^Destinataires/ });
await user.click(tab);
const [edit] = await screen.findAllByRole('button', {
name: /^Éditer ladresse/
name: /^Éditer/
});
await user.click(edit);
const [aside] = await screen.findAllByRole('complementary');
Expand Down

0 comments on commit b1a0afc

Please sign in to comment.