Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyKozik committed Apr 19, 2024
1 parent 856e957 commit eacfa7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe('SelectPanel', () => {

it('SelectPanel outside of FormControl should not be automatically assigned aria-label and aria-labelledby', async () => {
const component = render(<Fixture />)
const buttonByRole = component.getByRole('button2')
const buttonByRole = component.getByRole('button')
expect(buttonByRole).toBeVisible()
expect(buttonByRole).not.toHaveAttribute('aria-label', 'Assign label, Select Panel Label')
})
Expand Down

0 comments on commit eacfa7c

Please sign in to comment.