You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -332,3 +333,43 @@ See the [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/
332
333
<Checkboxvalue="basketball">Basketball</Checkbox>
333
334
</CheckboxGroup>
334
335
```
336
+
337
+
## Testing
338
+
339
+
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
340
+
341
+
`@react-spectrum/test-utils` offers common checkbox group interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
342
+
in your tests. Below is the full definition of the checkbox group tester and a sample of how you could use it in your test suite.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/combobox/docs/ComboBox.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -996,7 +996,7 @@ isn't sufficient when resolving issues in your own test cases.
996
996
997
997
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
998
998
999
-
`@react-spectrum/test-utils` offers common combobox interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
999
+
`@react-spectrum/test-utils` offers common combobox interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
1000
1000
in your tests. Below is the full definition of the combobox tester and a sample of how you could use it in your test suite.
@@ -398,3 +399,43 @@ respectively for container sizing considerations. Modal sizes on mobile devices
398
399
)}
399
400
</DialogTrigger>
400
401
```
402
+
403
+
## Testing
404
+
405
+
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
406
+
407
+
`@react-spectrum/test-utils` offers common dialog interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
408
+
in your tests. Below is the full definition of the dialog tester and a sample of how you could use it in your test suite.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/list/docs/ListView.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1195,7 +1195,7 @@ isn't sufficient when resolving issues in your own test cases.
1195
1195
1196
1196
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
1197
1197
1198
-
`@react-spectrum/test-utils` offers common gridlist interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
1198
+
`@react-spectrum/test-utils` offers common gridlist interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
1199
1199
in your tests. Below is the full definition of the gridlist tester and a sample of how you could use it in your test suite.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/listbox/docs/ListBox.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -413,7 +413,7 @@ isn't sufficient when resolving issues in your own test cases.
413
413
414
414
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
415
415
416
-
`@react-spectrum/test-utils` offers common listbox interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
416
+
`@react-spectrum/test-utils` offers common listbox interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
417
417
in your tests. Below is the full definition of the listbox tester and a sample of how you could use it in your test suite.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/menu/docs/MenuTrigger.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ isn't sufficient when resolving issues in your own test cases.
260
260
261
261
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
262
262
263
-
`@react-spectrum/test-utils` offers common menu interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
263
+
`@react-spectrum/test-utils` offers common menu interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
264
264
in your tests. Below is the full definition of the menu tester and a sample of how you could use it in your test suite.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/picker/docs/Picker.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -592,7 +592,7 @@ isn't sufficient when resolving issues in your own test cases.
592
592
593
593
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
594
594
595
-
`@react-spectrum/test-utils` offers common select interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
595
+
`@react-spectrum/test-utils` offers common select interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
596
596
in your tests. Below is the full definition of the select tester and a sample of how you could use it in your test suite.
@@ -306,3 +307,43 @@ See the [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/
306
307
<Radiovalue="dragon">Dragon</Radio>
307
308
</RadioGroup>
308
309
```
310
+
311
+
## Testing
312
+
313
+
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
314
+
315
+
`@react-spectrum/test-utils` offers common radio group interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
316
+
in your tests. Below is the full definition of the radio group tester and a sample of how you could use it in your test suite.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/table/docs/TableView.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1964,7 +1964,7 @@ isn't sufficient when resolving issues in your own test cases.
1964
1964
1965
1965
### Test utils <VersionBadgeversion="beta"style={{marginLeft: 4, verticalAlign: 'bottom'}} />
1966
1966
1967
-
`@react-spectrum/test-utils` offers common table interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
1967
+
`@react-spectrum/test-utils` offers common table interaction utilities which you may find helpful when writing tests. See [here](./testing.html#react-spectrum-test-utils) for more information on how to setup these utilities
1968
1968
in your tests. Below is the full definition of the table tester and a sample of how you could use it in your test suite.
0 commit comments