@@ -13,27 +13,45 @@ type FindAllReturn = Promise<GetAllReturn>;
13
13
type A11yAPI = { |
14
14
// Label
15
15
getByA11yLabel : ( string | RegExp ) = > GetReturn ,
16
+ getByLabelText : ( string | RegExp ) = > GetReturn ,
16
17
getAllByA11yLabel : ( string | RegExp ) = > GetAllReturn ,
18
+ getAllByLabelText : ( string | RegExp ) = > GetAllReturn ,
17
19
queryByA11yLabel : ( string | RegExp ) = > QueryReturn ,
20
+ queryByLabelText : ( string | RegExp ) = > QueryReturn ,
18
21
queryAllByA11yLabel : ( string | RegExp ) = > QueryAllReturn ,
22
+ queryAllByLabelText : ( string | RegExp ) = > QueryAllReturn ,
19
23
findByA11yLabel : ( string | RegExp , ?WaitForOptions ) = > FindReturn ,
24
+ findByLabelText : ( string | RegExp , ?WaitForOptions ) = > FindReturn ,
20
25
findAllByA11yLabel : ( string | RegExp , ?WaitForOptions ) = > FindAllReturn ,
26
+ findAllByLabelText : ( string | RegExp , ?WaitForOptions ) = > FindAllReturn ,
21
27
22
28
// Hint
23
29
getByA11yHint : ( string | RegExp ) = > GetReturn ,
30
+ getByHintText : ( string | RegExp ) = > GetReturn ,
24
31
getAllByA11yHint : ( string | RegExp ) = > GetAllReturn ,
32
+ getAllByHintText : ( string | RegExp ) = > GetAllReturn ,
25
33
queryByA11yHint : ( string | RegExp ) = > QueryReturn ,
34
+ queryByHintText : ( string | RegExp ) = > QueryReturn ,
26
35
queryAllByA11yHint : ( string | RegExp ) = > QueryAllReturn ,
36
+ queryAllByHintText : ( string | RegExp ) = > QueryAllReturn ,
27
37
findByA11yHint : ( string | RegExp , ?WaitForOptions ) = > FindReturn ,
38
+ findByHintText : ( string | RegExp , ?WaitForOptions ) = > FindReturn ,
28
39
findAllByA11yHint : ( string | RegExp , ?WaitForOptions ) = > FindAllReturn ,
40
+ findAllByHintText : ( string | RegExp , ?WaitForOptions ) = > FindAllReturn ,
29
41
30
42
// Role
31
43
getByA11yRole : ( A11yRole | RegExp ) = > GetReturn ,
44
+ getByRole : ( A11yRole | RegExp ) = > GetReturn ,
32
45
getAllByA11yRole : ( A11yRole | RegExp ) = > GetAllReturn ,
46
+ getAllByRole : ( A11yRole | RegExp ) = > GetAllReturn ,
33
47
queryByA11yRole : ( A11yRole | RegExp ) = > QueryReturn ,
48
+ queryByRole : ( A11yRole | RegExp ) = > QueryReturn ,
34
49
queryAllByA11yRole : ( A11yRole | RegExp ) = > QueryAllReturn ,
50
+ queryAllByRole : ( A11yRole | RegExp ) = > QueryAllReturn ,
35
51
findByA11yRole : ( A11yRole , ?WaitForOptions ) = > FindReturn ,
52
+ findByRole : ( A11yRole , ?WaitForOptions ) = > FindReturn ,
36
53
findAllByA11yRole : ( A11yRole , ?WaitForOptions ) = > FindAllReturn ,
54
+ findAllByRole : ( A11yRole , ?WaitForOptions ) = > FindAllReturn ,
37
55
38
56
// States
39
57
getByA11yStates : ( A11yStates | Array < A11yStates > ) => GetReturn ,
0 commit comments