Cypress - Plugins and Ecosystem
Which of the following is the correct syntax to find a checkbox with the label 'Accept Terms' using
cypress-testing-library?cypress-testing-library?findByRole accepts a role and an options object with name to match accessible name.findByLabelText does not take role as first argument; chaining methods like .checkbox() don't exist; get('checkbox') is invalid selector.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions