Challenge: Select Elements with Cypress Custom Data Attributes

Challenge yourself with selecting elements with Cypress using custom data attributes.

We'll cover the following


Let’s write a test that asserts that we’re rendering the meetup correctly on its detail page. We use the data-cy attributes to mark certain tags. In our tests, we can select elements by using these attributes.

Get hands-on with 1200+ tech skills courses.