Skip to content

Commit

Permalink
fix(app): fix hepa/uv firmware copy (#14881)
Browse files Browse the repository at this point in the history
Closes RQA-2561
  • Loading branch information
mjhuff authored and Carlos-fernandez committed May 20, 2024
1 parent 2f65da4 commit 37bf7f4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions api-client/src/subsystems/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export type Subsystem =
| 'pipette_right'
| 'gripper'
| 'rear_panel'
| 'hepa_uv'

type UpdateStatus = 'queued' | 'updating' | 'done'
export interface SubsystemUpdateProgressData {
Expand Down
1 change: 1 addition & 0 deletions app/src/assets/localization/en/firmware_update.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"gantry_y": "Gantry Y",
"gripper": "Gripper",
"head": "Head",
"hepa_uv": "HEPA/UV Module",
"pipette_left": "pipette",
"pipette_right": "pipette",
"ready_to_use": "Your <bold>{{instrument}}</bold> is ready to use!",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@ describe('UpdateInProgressModal', () => {
subsystem: 'pipette_right',
}
})
it('renders text', () => {
it('renders pipette text', () => {
const { getByText } = render(props)
getByText('Updating pipette firmware...')
})
it('renders Hepa/UV text', () => {
props = {
subsystem: 'hepa_uv',
}
const { getByText } = render(props)
getByText('Updating HEPA/UV Module firmware...')
})
})

0 comments on commit 37bf7f4

Please sign in to comment.