What exactly is "healed": 1 counting in summary.json?
Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.
Green is green, but I would like to know what got healed before I sign the release off. Is healed counting scenarios, steps or locators, and where do I look for what actually changed?
Scenarios. healed is the number of scenarios that recorded at least one heal event during the run, not the number of heals — a scenario where three locators drifted still counts as one.
For the detail:
bash
sdods heal report --last
That gives you the original selector, the strategy that won, the score and the suggested locator, one row per event. The raw log for a single attempt is heal.jsonl in the attempt directory, next to the screenshots.
Read a green run with healed: 1 as a pass with a to-do attached: the locator in the page object is now wrong and the healer papered over it at runtime. sdods heal report --last --write-history persists heal-history.json so later heals lean towards strategies that already worked, but it does not fix the page object. That is still a patch somebody has to accept.