give rendered elements a cypress attribute?
I would like to use Cypress tests in my app, and the recommended way of targeting DOM elements is by adding html attributes to the element.
<input data-cy="name_of_field" etc />
How do you do this? And is there a way to have it apply to all forms and tables and buttons, or would i need to define that for each?0 Replies