Input with text-transform uppercase not picking correct value #16809
Unanswered
sanathko
asked this question in
Component Testing
Replies: 1 comment
-
There is currently no way to get the rendered text with JavaScript. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an html input with style text-transform: uppercase, so whenever a user types a value into it, it turns to uppercase. But when I use cypress to locate this elemen't's value
using
.should('have.value', FIELD)
, I still get the original value entered in lowercase not the value displayed in the input field, which is in uppercase.is there a way cypress can handle this kind of a situation?
FYI I am using "cypress": "7.4.0"
Beta Was this translation helpful? Give feedback.
All reactions