In my cypress runner, I can see that it is successfully finding the checkbox, as I can see it has the type="checkbox"
attribute. I also noticed that by manually clicking the checkbox, its "value" attribute became "true", so I tried using invoke('attr', 'value', 'true')
which also "succeeds" but the text box remains unchecked. Not sure what I am missing. There are no onClick
events that I can see that might uncheck it immediately after checking either.
My code:
What it returns:
Aucun commentaire:
Enregistrer un commentaire