@@ -36,32 +36,25 @@ describe('Labware', () => {
36
36
. calledWith ( MOCK_PROTOCOL_ID )
37
37
. thenReturn ( [
38
38
{
39
- definition : fixtureTiprack10ul as LabwareDefinition2 ,
40
- initialLocation : { slotName : '1' } ,
41
- moduleLocation : null ,
42
- moduleModel : null ,
43
- nickName : null ,
39
+ labwareDef : fixtureTiprack10ul as LabwareDefinition2 ,
40
+ lidDisplayName : 'tiprack lid' ,
41
+ quantity : 1 ,
42
+ namespace : 'opentrons' ,
44
43
} ,
45
44
{
46
- definition : fixtureTiprack300ul as LabwareDefinition2 ,
47
- initialLocation : { slotName : '3' } ,
48
- moduleLocation : null ,
49
- moduleModel : null ,
50
- nickName : null ,
45
+ labwareDef : fixtureTiprack300ul as LabwareDefinition2 ,
46
+ quantity : 2 ,
47
+ namespace : 'opentrons' ,
51
48
} ,
52
49
{
53
- definition : fixture96Plate as LabwareDefinition2 ,
54
- initialLocation : { slotName : '5' } ,
55
- moduleLocation : null ,
56
- moduleModel : null ,
57
- nickName : null ,
50
+ labwareDef : fixture96Plate as LabwareDefinition2 ,
51
+ quantity : 1 ,
52
+ namespace : 'opentrons' ,
58
53
} ,
59
54
{
60
- definition : fixtureTiprack10ul as LabwareDefinition2 ,
61
- initialLocation : { slotName : '7' } ,
62
- moduleLocation : null ,
63
- moduleModel : null ,
64
- nickName : null ,
55
+ labwareDef : fixtureTiprack10ul as LabwareDefinition2 ,
56
+ quantity : 1 ,
57
+ namespace : 'opentrons' ,
65
58
} ,
66
59
] )
67
60
} )
@@ -76,8 +69,10 @@ describe('Labware', () => {
76
69
} )
77
70
it ( 'should render the correct location, name, and connected status in each table row' , ( ) => {
78
71
render ( props )
79
- screen . getByRole ( 'row' , { name : 'Opentrons GEB 10uL Tiprack 2' } )
80
- screen . getByRole ( 'row' , { name : '300ul Tiprack FIXTURE 1' } )
72
+ screen . getByRole ( 'row' , {
73
+ name : 'Opentrons GEB 10uL Tiprack with tiprack lid 1' ,
74
+ } )
75
+ screen . getByRole ( 'row' , { name : '300ul Tiprack FIXTURE 2' } )
81
76
screen . getByRole ( 'row' , { name : 'ANSI 96 Standard Microplate 1' } )
82
77
} )
83
78
} )
0 commit comments