A dev changes a data-cy attribute or a route. An hour later your Cypress suite is red and someone's bisecting the failure. Testward reads the pull request and tells you the exact specs it will break — at review time, before CI runs.
Cypress specs select elements with cy.get('[data-cy=...]') and assert on routes and visible text. Those are exactly the things a frontend PR changes. The spec doesn't know it's broken until it runs — and the PR diff gives the reviewer no hint that a test depends on the attribute being renamed.
The cost isn't the red build; it's the context-switch. The dev who broke it has moved on, and the QA engineer inherits a failure with no breadcrumb back to the cause.
data-cy, data-test, data-testid, route literals, ids, visible text.If your Cypress tests live in a dedicated repo, link it once:
# .testward.yml
automation_repos:
- your-org/cypress-e2e
Now app PRs flag the Cypress specs they break across the repo boundary. Cross-repo setup →
Brittle data-cy hygiene is the root cause of most Cypress flakiness. See selectors that don't break and cutting flaky-test noise.
Install Testward on your Cypress repos in two clicks.
Install free on GitHub