Chapter 2

Core Commands & Selectors — quiz

5 questions · ~4 min

Chapter 2 quiz

Question 1 of 5

Your test selects a Submit button using `cy.get('.btn-primary.submit-large')`. The CSS framework gets refactored next sprint and the test breaks. Which selector is the most resilient choice for E2E tests?