Closed petrbr closed 4 years ago
data-test should be on visible (and clickable for tools like Cypress) element.
data-test
It's on invisible input element and Cypress can't click on it.
Move data-test from input to label.
Closing because there was not proper solution in past time and it's possible to use dataTest in cypress e2e tests anyway.
dataTest
Expected Behavior
data-test
should be on visible (and clickable for tools like Cypress) element.Current Behavior
It's on invisible input element and Cypress can't click on it.
Possible Solution
Move data-test from input to label.