1
- import { it , expect , describe } from 'vitest'
2
- import { screen } from '@testing-library/react'
3
-
4
1
import {
5
2
FLEX_ROBOT_TYPE ,
6
- OT2_ROBOT_TYPE ,
7
3
GRIPPER_WASTE_CHUTE_ADDRESSABLE_AREA ,
4
+ OT2_ROBOT_TYPE ,
8
5
} from '@opentrons/shared-data'
9
- import { i18n } from '../../../i18n'
10
- import { renderWithProviders } from '../../../testing/utils'
11
- import { CommandText } from '../index'
12
-
13
6
import type {
14
7
AspirateInPlaceRunTimeCommand ,
15
8
BlowoutInPlaceRunTimeCommand ,
@@ -22,17 +15,22 @@ import type {
22
15
DropTipRunTimeCommand ,
23
16
LabwareDefinition2 ,
24
17
LoadLabwareRunTimeCommand ,
18
+ LoadLiquidClassRunTimeCommand ,
25
19
LoadLiquidRunTimeCommand ,
20
+ MoveToAddressableAreaForDropTipRunTimeCommand ,
26
21
MoveToAddressableAreaRunTimeCommand ,
27
22
MoveToWellRunTimeCommand ,
28
23
PrepareToAspirateRunTimeCommand ,
29
24
RunTimeCommand ,
30
- MoveToAddressableAreaForDropTipRunTimeCommand ,
31
- LoadLiquidClassRunTimeCommand ,
32
25
} from '@opentrons/shared-data'
26
+ import { screen } from '@testing-library/react'
27
+ import { describe , expect , it } from 'vitest'
28
+ import { i18n } from '../../../i18n'
29
+ import { renderWithProviders } from '../../../testing/utils'
33
30
import type { CommandTextData } from '../../ProtocolTimelineScrubber'
34
31
import { getCommandTextData } from '../../ProtocolTimelineScrubber/utils'
35
32
import { mockRobotSideAnalysis } from '../fixtures'
33
+ import { CommandText } from '../index'
36
34
37
35
const mockCommandTextData : CommandTextData = {
38
36
commands : mockRobotSideAnalysis . commands ,
@@ -708,7 +706,7 @@ describe('CommandText', () => {
708
706
/> ,
709
707
{ i18nInstance : i18n }
710
708
)
711
- screen . getByText ( 'Loading Volatile Liquid Class' )
709
+ screen . getByText ( 'Loading Volatile (80% ethanol) Liquid Class' )
712
710
} )
713
711
it ( 'renders correct text for temperatureModule/setTargetTemperature' , ( ) => {
714
712
const mockTemp = 20
0 commit comments