Cypress · Junior · Question 59 of 75

What does the Cypress Testing Library add?

Show the answer

Correct answer: Queries like cy.findByRole based on accessible roles

Explanation

Role and label queries mirror how users find elements and encourage accessible markup.

Further reading

Problem with a question

Cypress · Junior · question 59

Test yourself

Take the Cypress · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz