Docs/Advanced Features

Failure Analysis

When a test fails, Assrt captures the step that broke, a DOM snapshot, a screenshot, the network trace, and console logs. Failure analysis stitches them together into a single explanation of what went wrong and which of a handful of root causes is most likely.

What you get

  • A ranked list of likely causes (selector drift, slow network, backend 5xx, assertion mismatch).
  • The snapshot and screenshot from the failing step.
  • A diff against the last known green run for the same test.

Open an analysis

bash
assrt results open --failed