https://cypress.io logo
I have a description field and it has a CSS class...
# general-chat
f
I have a description field and it has a CSS class
.unsaved-changes
that simply gives it that background color when the field changes. For some reason cypress is not able to see this change. It changed from a sentence to just the percent signs. It is saying that it just received
’’
so idk how verify that the percent signs were entered before submitting the entire form.
w
This is hard to speculate about, are you able to share an isolated example of the problem? You could use this template: https://github.com/cypress-io/cypress-test-tiny It sounds like it could be an encoding/decoding problem where % is incorrectly stripped, but people will probably see exactly what the test is doing to understand it and help.
f
I figured it out. I needed “have.value” and that worked