File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
components/src/atoms/Divider
protocol-designer/src/pages/Designer/DeckSetup Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export function Divider(props: Props): JSX.Element {
9
9
borderBottom = { `1px solid ${ String ( COLORS . grey30 ) } ` }
10
10
marginY = { SPACING . spacing4 }
11
11
{ ...props }
12
- data-testid = { props [ 'data-testid' ] ?? ' divider' }
12
+ data-testid = " divider"
13
13
/>
14
14
)
15
15
}
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ export function SlotOverflowMenu(
291
291
</ StyledText >
292
292
</ MenuItem >
293
293
) : null }
294
- < Divider marginY = "0" data-testid = "Divider_clear" />
294
+ < Divider marginY = "0" />
295
295
< MenuItem
296
296
disabled = { hasNoItems }
297
297
onClick = { ( e : MouseEvent ) => {
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ describe('SlotOverflowMenu', () => {
119
119
expect ( screen . getAllByRole ( 'button' ) ) . toHaveLength ( 3 )
120
120
expect ( screen . getByRole ( 'button' , { name : 'Add liquid' } ) ) . toBeDisabled ( )
121
121
expect ( screen . getByRole ( 'button' , { name : 'Clear slot' } ) ) . toBeDisabled ( )
122
- screen . getByTestId ( 'Divider_clear ' )
122
+ screen . getByTestId ( 'divider ' )
123
123
} )
124
124
it ( 'renders Edit liquid button when there is liquid on the labware' , ( ) => {
125
125
vi . mocked ( labwareIngredSelectors . getLiquidsByLabwareId ) . mockReturnValue ( {
You can’t perform that action at this time.
0 commit comments