@@ -249,6 +249,7 @@ test('`value.now` throws on unsupported roles', () => {
249
249
test ( '`value.now: number` matches `aria-valuenow` on widgets' , ( ) => {
250
250
const { getByRole} = renderIntoDocument (
251
251
`<div>
252
+ <button role="spinbutton" />
252
253
<button role="spinbutton" aria-valuenow="5" />
253
254
<button role="spinbutton" aria-valuenow="10" />
254
255
</div>` ,
@@ -269,6 +270,7 @@ test('`value.max` throws on unsupported roles', () => {
269
270
test ( '`value.max: number` matches `aria-valuemax` on widgets' , ( ) => {
270
271
const { getByRole} = renderIntoDocument (
271
272
`<div>
273
+ <button role="spinbutton" />
272
274
<button role="spinbutton" aria-valuemax="5" />
273
275
<button role="spinbutton" aria-valuemax="10" />
274
276
</div>` ,
@@ -289,6 +291,7 @@ test('`value.min` throws on unsupported roles', () => {
289
291
test ( '`value.min: number` matches `aria-valuemin` on widgets' , ( ) => {
290
292
const { getByRole} = renderIntoDocument (
291
293
`<div>
294
+ <button role="spinbutton" />
292
295
<button role="spinbutton" aria-valuemin="5" />
293
296
<button role="spinbutton" aria-valuemin="10" />
294
297
</div>` ,
@@ -309,6 +312,7 @@ test('`value.text` throws on unsupported roles', () => {
309
312
test ( '`value.text: Matcher` matches `aria-valuetext` on widgets' , ( ) => {
310
313
const { getAllByRole, getByRole} = renderIntoDocument (
311
314
`<div>
315
+ <button role="spinbutton" />
312
316
<button role="spinbutton" aria-valuetext="zero" />
313
317
<button role="spinbutton" aria-valuetext="few" />
314
318
<button role="spinbutton" aria-valuetext="many" />
0 commit comments