https://cypress.io logo
It seems it is not possible to `.type('')` an empt...
# best-practices
f
It seems it is not possible to
.type('')
an empty string. How do you guys handle optional fields ? Do you check for empty string for each field, and use clear() if it is ? Seems like a lot of clutter code to me.