Skip to content

Commit

Permalink
Merge pull request #834 from MTES-MCT/LuluFreeDesign-patch-3
Browse files Browse the repository at this point in the history
Updated "Débuter l'envoi" to "Valider et passer au téléchargement"
  • Loading branch information
LuluFreeDesign authored Jul 31, 2024
2 parents acddccc + 91fa7de commit 9ae1f8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/cypress/e2e/campaign.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe('Campaign', () => {
});

cy.get('button')
.contains(/^Débuter lenvoi/)
.contains(/^Valider et passer au téléchargement/)
.click();

cy.get('dialog[open="true"]')
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Draft/SendButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function SendButton(props: Readonly<Props>) {
<ConfirmationModal
modalId="campaign-validate-draft"
openingButtonProps={{
children: 'Débuter l’envoi',
children: 'Valider et passer au téléchargement',
iconId: 'fr-icon-send-plane-fill',
priority: 'primary'
}}
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 @@ -206,7 +206,7 @@ describe('Campaign view', () => {
renderComponent();

const send = await screen.findByRole('button', {
name: /^Débuter lenvoi/
name: /^Valider et passer au téléchargement/
});
await user.click(send);

Expand Down

0 comments on commit 9ae1f8d

Please sign in to comment.