We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ca2fb commit deaeef2Copy full SHA for deaeef2
src/__tests__/get-by-errors.js
@@ -35,6 +35,10 @@ cases(
35
query: /his/,
36
html: `<div title="his"></div><div title="history"></div>`,
37
},
38
+ getByRole: {
39
+ query: 'button',
40
+ html: `<button>one</button><div role="button">two</button>`,
41
+ },
42
getByTestId: {
43
44
html: `<div data-testid="his"></div><div data-testid="history"></div>`,
@@ -82,6 +86,10 @@ cases(
82
86
83
87
84
88
89
+ queryByRole: {
90
91
92
85
93
queryByTestId: {
94
95
0 commit comments