Skip to content

Commit

Permalink
fix(protocol-designer): use µ symbol in pipette capacities part2 (#16990
Browse files Browse the repository at this point in the history
)

* fix(protocol-designer): use µ symbol in pipette capacities part2
  • Loading branch information
koji authored Nov 27, 2024
1 parent d65a8ae commit 93a9ffb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions protocol-designer/src/assets/localization/en/alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"title": "Dispense volume will overflow a destination well"
},
"BELOW_PIPETTE_MINIMUM_VOLUME": {
"title": "Transfer volume is below pipette minimum ({{min}} uL)",
"title": "Transfer volume is below pipette minimum ({{min}} µL)",
"body": "Pipettes cannot accurately handle volumes below their minimum. "
},
"BELOW_MIN_AIR_GAP_VOLUME": {
"title": "Air gap volume is below pipette minimum ({{min}} uL)",
"title": "Air gap volume is below pipette minimum ({{min}} µL)",
"body": "Pipettes cannot accurately handle volumes below their minimum. "
},
"BELOW_MIN_DISPOSAL_VOLUME": {
"title": "Disposal volume is below recommended minimum ({{min}} uL)",
"title": "Disposal volume is below recommended minimum ({{min}} µL)",
"body": "For accuracy in multi-dispense Transfers we recommend you use a disposal volume of at least the pipette's minimum. Read more ",
"link": "here"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ describe('SelectPipettes', () => {
vi.mocked(getLabwareDefsByURI).mockReturnValue({})
vi.mocked(getAllowAllTipracks).mockReturnValue(false)
vi.mocked(getTiprackOptions).mockReturnValue({
'opentrons/opentrons_flex_96_tiprack_200ul/1': '200uL Flex tipracks',
'opentrons/opentrons_flex_96_tiprack_1000ul/1': '1000uL Flex tipracks',
'opentrons/opentrons_flex_96_tiprack_200ul/1': '200µL Flex tipracks',
'opentrons/opentrons_flex_96_tiprack_1000ul/1': '1000µL Flex tipracks',
})
})

Expand All @@ -90,8 +90,8 @@ describe('SelectPipettes', () => {
fireEvent.click(screen.getByRole('label', { name: '1000 µL' }))
// select tip
screen.getByText('Add custom pipette tips')
screen.getByText('200uL Flex tipracks')
fireEvent.click(screen.getByText('1000uL Flex tipracks'))
screen.getByText('200µL Flex tipracks')
fireEvent.click(screen.getByText('1000µL Flex tipracks'))

screen.getByRole('button', { name: 'Confirm' })

Expand All @@ -104,8 +104,8 @@ describe('SelectPipettes', () => {

it('renders the first page of select pipettes for an ot-2', () => {
vi.mocked(getTiprackOptions).mockReturnValue({
'opentrons/opentrons_96_tiprack_10ul/1': '10uL tipracks',
'opentrons/opentrons_96_tiprack_300ul/1': '300uL tipracks',
'opentrons/opentrons_96_tiprack_10ul/1': '10µL tipracks',
'opentrons/opentrons_96_tiprack_300ul/1': '300µL tipracks',
})

const values = {
Expand Down Expand Up @@ -143,8 +143,8 @@ describe('SelectPipettes', () => {
fireEvent.click(screen.getByRole('label', { name: '20 µL' }))
// select tip
screen.getByText('Add custom pipette tips')
screen.getByText('10uL tipracks')
fireEvent.click(screen.getByText('300uL tipracks'))
screen.getByText('10µL tipracks')
fireEvent.click(screen.getByText('300µL tipracks'))
screen.getByText('Add custom pipette tips')

// add custom pipette tips
Expand Down

0 comments on commit 93a9ffb

Please sign in to comment.