Flaky tests, locator repairs, test selection and release quality
Flaky tests, locator repairs, test selection and release quality
Find unstable tests, review suggested locator fixes, pick the tests a change needs, and decide whether a release is ready on evidence.
- 1Check flaky testsTest Studio → Intelligence → Flaky tests. Each test with runs is stable, suspected or flaky, with the reasons (switching between pass and fail on one version, passing only on retry, failing in one browser) and the kind of instability. Open the last failure to see it.
- 2Decide what to doDecide → Confirmed flaky (anyone who writes tests), or Quarantined, Not flaky or Fixed (QA leads and managers). Quarantining and clearing need a reason. Quarantined tests still run; release reports treat them as weak evidence.
- 3Review locator repairsWhen a step couldn’t find its element and another locator recorded with it matched exactly one visible element, a repair is suggested. Accept and send for review writes a new version; someone else approves it before runs use it. Dismiss it if the page really changed.
- 4Map componentsTest selection → Add component: a name, path patterns (src/checkout/**) and the test tags that cover it. Tests also link through the components listed in their definition.
- 5Select tests for a changePaste the changed files and Select tests. Each test says why it’s in or out. A QA lead can create a plan from the selection and run it in Test Studio Desktop.
- 6Set release criteriaRelease quality → choose the plans that make up the evidence and the thresholds. Check now shows where things stand.
- 7Generate and approve a reportName the release and Generate report: it keeps a snapshot of the evidence. A QA lead or manager who didn’t generate it approves it (only when every criterion is met) or rejects it with a reason.
Note:A report is never “Ready” because most tests passed: tests that weren’t run count against the pass rate, and a criterion with no evidence is shown as such.
Tips & tricks
- TestRail (optional): Test Studio → TestRail. A manager connects it; then import cases and send a plan’s results. It’s tested against a simulated TestRail, not yet a live account.
- Put the files a change touches into the selection straight from your pull request: git diff --name-only main...HEAD.