Skip to content

Commit

Permalink
fix(protocol-designer): use µ symbol in pipette capacities part2
Browse files Browse the repository at this point in the history
use µ symbol in pipette capacities part2
  • Loading branch information
koji committed Nov 27, 2024
1 parent b82fc0e commit c5d6441
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 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 @@ -41,7 +41,7 @@
"trash_required": "A trash entity is required",
"trashBin": "Trash Bin",
"up_to_3_tipracks": "Up to 3 tip rack types are allowed per pipette",
"vol_label": "{{volume}} uL",
"vol_label": "{{volume}} µL",
"wasteChute": "Waste Chute",
"which_fixtures": "Which fixtures will you be using?",
"which_modules": "Select modules to use in your protocol.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,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 @@ -86,11 +86,11 @@ describe('SelectPipettes', () => {
fireEvent.click(screen.getByRole('label', { name: '1-Channel' }))
screen.getByText('Pipette volume')
// select pip volume
fireEvent.click(screen.getByRole('label', { name: '1000 uL' }))
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 @@ -103,8 +103,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 @@ -139,11 +139,11 @@ describe('SelectPipettes', () => {

screen.getByText('Pipette volume')
// select pip volume
fireEvent.click(screen.getByRole('label', { name: '20 uL' }))
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 c5d6441

Please sign in to comment.