Chapter 3

Core Design Patterns — quiz

5 questions · ~4 min

Chapter 3 quiz

Question 1 of 5

A team has selectors like `By.id("submit-btn")` duplicated across 12 test methods. Every time the dev team renames the button, 12 tests break. Which pattern fixes this, and how?