Skip to content

Commit

Permalink
feat(app): add lid category to labware tab display (#16623)
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 authored Oct 29, 2024
1 parent f16d3fb commit a20cb6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/local-resources/labware/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export type LabwareFilter =
| 'aluminumBlock'
| 'customLabware'
| 'adapter'
| 'lid'

export type LabwareSort = 'alphabetical' | 'reverse'

Expand Down
3 changes: 3 additions & 0 deletions app/src/pages/Desktop/Labware/__tests__/Labware.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ describe('Labware', () => {
screen.getByRole('button', { name: 'Tube Rack' })
screen.getByRole('button', { name: 'Reservoir' })
screen.getByRole('button', { name: 'Aluminum Block' })
screen.getByRole('button', { name: 'Adapter' })
screen.getByRole('button', { name: 'Lid' })
screen.getByRole('button', { name: 'Custom Labware' })
})
it('renders changes filter menu button when an option is selected', () => {
render()
Expand Down
1 change: 1 addition & 0 deletions app/src/pages/Desktop/Labware/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const labwareDisplayCategoryFilters: LabwareFilter[] = [
'adapter',
'aluminumBlock',
'customLabware',
'lid',
'reservoir',
'tipRack',
'tubeRack',
Expand Down

0 comments on commit a20cb6f

Please sign in to comment.