Commit 32a9a54
authored
feat: Initial aria test util docs and listbox/tabs/tree utils (#7145)
* scaffolding and documenting tester api
* fix strict mode
* update utils for conformity and add intro
* add instalation, setup, and update method types
* update docs with examples and update types
* remove some todos
* forgot to remove a only
* fix lint
* fix lint again, for some reason local lint doesnt catch this one...
* review comments
* update select option methods to accept node, string, and index
using a single unified option for simplicity
* fix tests and more consistency refactors
* updating copy per review
* feat: Next batch of aria utils (Listbox, Tabs, Tree) (#7505)
* adding listbox test utils and clean up of other utils
* check that util works in tests
* add docs
* test listbox util get options section scoping
* tabs test utils
* add tests for tab test utils
* add docs for tabs testing
* update jsdoc and adding version badge
* pulling in tree utils from s2-treeview branch
modified some of the utils for consistency, but otherwise kept most of it the same. Changes to be discussed
* update docs and use the utils in the spectrum tests
* making things more consistent
* fix tests temporarily
* fix keyboard navigation if row is disabled
* review comments
* small fixes from review
* update testing pages to be more standalone as per review
* add alpha badge
* review comments1 parent 191df02 commit 32a9a54
File tree
56 files changed
+3351
-840
lines changed- packages
- @react-aria/test-utils
- src
- @react-spectrum
- combobox
- docs
- test
- listbox
- docs
- test
- list
- docs
- stories
- test
- picker
- docs
- test
- table
- docs
- test
- tabs
- docs
- test
- tree
- docs
- test
- dev/docs/pages
- react-aria
- react-spectrum
- react-aria-components
- docs
- stories
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+3351
-840
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
19 | 33 | | |
20 | 34 | | |
21 | 35 | | |
22 | 36 | | |
23 | 37 | | |
24 | 38 | | |
25 | | - | |
| 39 | + | |
26 | 40 | | |
27 | | - | |
| 41 | + | |
28 | 42 | | |
29 | 43 | | |
30 | 44 | | |
| |||
52 | 66 | | |
53 | 67 | | |
54 | 68 | | |
55 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
56 | 73 | | |
57 | | - | |
| 74 | + | |
58 | 75 | | |
59 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
60 | 80 | | |
61 | 81 | | |
62 | 82 | | |
| |||
96 | 116 | | |
97 | 117 | | |
98 | 118 | | |
99 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
100 | 132 | | |
101 | | - | |
102 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
103 | 148 | | |
104 | 149 | | |
105 | 150 | | |
106 | 151 | | |
107 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
108 | 157 | | |
109 | | - | |
110 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
111 | 164 | | |
112 | 165 | | |
113 | 166 | | |
| |||
118 | 171 | | |
119 | 172 | | |
120 | 173 | | |
121 | | - | |
| 174 | + | |
122 | 175 | | |
123 | 176 | | |
124 | 177 | | |
| |||
130 | 183 | | |
131 | 184 | | |
132 | 185 | | |
133 | | - | |
| 186 | + | |
134 | 187 | | |
135 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
136 | 192 | | |
137 | 193 | | |
138 | 194 | | |
| |||
146 | 202 | | |
147 | 203 | | |
148 | 204 | | |
149 | | - | |
| 205 | + | |
150 | 206 | | |
151 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
152 | 211 | | |
153 | 212 | | |
154 | 213 | | |
155 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
156 | 218 | | |
157 | 219 | | |
158 | 220 | | |
159 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
160 | 225 | | |
161 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
162 | 235 | | |
163 | 236 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
167 | 242 | | |
168 | 243 | | |
169 | 244 | | |
170 | 245 | | |
171 | 246 | | |
172 | 247 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 248 | | |
183 | 249 | | |
184 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
185 | 254 | | |
186 | | - | |
| 255 | + | |
187 | 256 | | |
188 | 257 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments