Skip to content

Commit 710d57e

Browse files
committed
test: add failing test
1 parent d774028 commit 710d57e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/__tests__/role.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,3 +543,8 @@ describe('configuration', () => {
543543
}
544544
})
545545
})
546+
547+
test('should find the input using type property instead of attribute', () => {
548+
const {getByRole} = render('<input type="124">')
549+
expect(getByRole('textbox')).not.toBeNull()
550+
})

0 commit comments

Comments
 (0)