Skip to content

Commit

Permalink
style(app:) Capitalize 96 ch exit text (#14840)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff authored Apr 9, 2024
1 parent 22959a6 commit b849a6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/organisms/PipetteWizardFlows/UnskippableModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function UnskippableModal(props: UnskippableModalProps): JSX.Element {
<SmallButton
marginRight={SPACING.spacing8}
onClick={proceed}
buttonText={t('shared:exit')}
buttonText={i18n.format(t('shared:exit'), 'capitalize')}
buttonType="alert"
disabled={isRobotMoving}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ describe('UnskippableModal', () => {
screen.getByText(
'You must detach the mounting plate and reattach the z-axis carraige before using other pipettes. We do not recommend exiting this process before completion.'
)
fireEvent.click(screen.getByRole('button', { name: 'exit' }))
screen.getByText('Exit')
screen.getByText('Go back')
fireEvent.click(screen.getByRole('button', { name: 'Exit' }))
expect(props.proceed).toHaveBeenCalled()
})
})

0 comments on commit b849a6a

Please sign in to comment.