Skip to content

Commit ed48108

Browse files
committed
docs(to-have-value): Update the docs
1 parent 21fb204 commit ed48108

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,9 @@ It accepts `<input>`, `<select>` and `<textarea>` elements with the exception of
873873
matched only using [`toBeChecked`](#tobechecked) or
874874
[`toHaveFormValues`](#tohaveformvalues).
875875

876+
It also accepts elements with roles `meter`, `progressbar`, `slider` or
877+
`spinbutton` and checks their `aria-valuenow` attribute (as a number).
878+
876879
For all other form elements, the value is matched using the same algorithm as in
877880
[`toHaveFormValues`](#tohaveformvalues) does.
878881

0 commit comments

Comments
 (0)