What evidence would you require to make a release decision about stable locators for a rapidly changing user interface?
Answer
Frame the release decision by choosing checks by feedback value, repeatability and maintenance cost rather than automation percentage. Focus on stable locators for a rapidly changing user interface. Use deterministic assertions at the lowest useful layer as the oracle. Cover isolation, synchronization, diagnostics, parallel safety and quarantine rules. Keep data and dependencies controlled enough to reproduce failures. Release only when the suite gives fast reproducible failures and its ownership cost stays visible.
Strong answer includes
- explicit risk and test oracle for stable locators
- optimizes the feedback loop
- treats flakiness as a defect
- measurable evidence and residual-risk statement
Practical example
A login-form test broke every sprint because it selected buttons by their CSS class, which the frontend team renamed during every redesign. Designers shipped UI tweaks almost weekly, and locator-based tests kept breaking on cosmetic changes that had nothing to do with real regressions. The release only shipped once someone could point to concrete evidence for it, name who had signed off, and state what risk was knowingly left open.