Autocompleting selectors in Cypress with TypeScript

Cypress advises to use data-cy selectors as a best practice for selecting your elements on page. Recently, we had a great discussion on our discord server about whether this is a good practice. Personally I strongly lean to “yes”. If you are in this camp as well, I have some nice tips for you today.

Rate

0 out of 5 stars(0 ratings)

Leave a Reply

The internet is huge. Help us find great content!

Submit