Questions tagged heal
Self-healing locators: scoring, probes and the heal report.
26 questions
Locator fragility table is empty in insights but heal report has plenty of rows
gives me eleven rows, two of them with double-digit occurrences. prints suite health and the scenario table, and the locators section is empty. Runs are being ingested — there is…
asked by Paulo Mendes97 ·heal_events, heal_locator_stats and sdods heal report — which do I use for what?
Building a small internal dashboard on top of the MCP server. There appear to be three ways to get at healing data and I cannot tell from the tool descriptions where the…
asked by Zeynep Arslan64 ·probeTimeoutMs of 1500 is too short on our staging box — every candidate scores 0
Locally everything heals. On staging the same locators fail with HEAL_FAILED and every candidate in the hint reads 0.00, including ones I know match, because I can open the page…
asked by Rasha Halabi572 ·Can I turn healing off for one scenario without touching the whole project?
We have one scenario whose entire job is to assert that the design system has not moved the primary action button. Healing makes it unfalsifiable — it heals to the role and…
asked by Bea Lindqvist4,318 ·Healing picked the wrong one of three matching elements and the test still passed
Product grid, several cards, each with an "Add" button. The context on our add-to-basket locator is: The primary broke after a class rename. The healer found three matching…
asked by Devon Marsh183 ·sdods agent heal ends with Agent job ... failed: unknown and I cannot find a log
Nothing under proposals/. sdods agent jobs lists the job with the same empty error. Adding --events prints the turns up to about turn eleven and then just stops, mid tool call,…
asked by Devon Marsh183 ·What does --write-history actually change about future heals?
The docs say it biases future heals towards strategies that worked. Before I put it in the nightly I would like to know how much bias, and whether running it is reversible.
asked by Rasha Halabi572 ·Same locator healed five times and I still have no page-object proposal
The docs say three identical successful heals of the same locator produce a page-object patch proposal. Ours has healed five times across four nightly runs, same description,…
asked by Koen Vermeulen309 ·Is XPath actually forbidden in a page object, or only discouraged?
Reviewer left "never XPath" on my proposal. The locator strategy page says CSS or XPath as a last resort inside a page object with a heal context, which reads like "allowed but…
asked by Koen Vermeulen309 ·Our nth-child selectors break every sprint and healing never rescues them
Inherited suite, roughly two hundred locators in this shape: Every time the results list gains a badge or a promo row, a chunk of them break, and they break with HEAL_FAILED…
asked by Tanvi Bhatt126 ·Is a healing failure a SdodsHealError or a SdodsError? The docs disagree with the output
We catch SDODS errors in a small wrapper to add our own reporting. The self-healing guide's resolution diagram ends at a node labelled SdodsHealError, so I wrote: which never…
asked by Sergio Alcaraz415 ·The healer proposed a CSS locator when there is a perfectly good label — reject it?
Scenario broke, ran the healer, got a proposal. The patch swaps a page-object locator for a class chain: The input has a visible label reading "Promo code". So there is an…
asked by Anouk de Vries238 ·HEAL_FAILED: nothing scored above 0.6 and testId probed at 0.00
The context is: What I cannot work out is testid=0.00. It is the same test id the primary uses, so of course it found nothing — but then why probe it at all? And where does 0.42…
asked by Anouk de Vries238 ·What should minScore be? 0.6 feels arbitrary
I understand what the number does. I do not understand what I would gain or lose by moving it. Has anyone actually tuned this, and in which direction?
asked by Bruno Teixeira694 ·We renamed one button and 40 scenarios healed in the same run — now what?
Design renamed "Continue" to "Next" on the checkout stepper. Nothing failed. The nightly regression run is green and carries forty-one heal events, all with the same description,…
asked by Bea Lindqvist4,318 ·sdods heal report says No run found. but the suite ran two minutes ago
Exit code 2. The run directory is there and full of files — I can open heal.jsonl inside it.
asked by Nikhil Sane487 ·What do the columns of sdods heal report actually mean?
I get a table with description, original, occurrences, succeeded, strategy and suggested. Most of it I can guess. Two I cannot:
asked by Helle Borg352 ·Is it safe to leave self-healing enabled in CI, or is that cheating?
Team is split. Half want healing on everywhere because the nightly regression run keeps dying on locator drift and nobody is awake to fix it. Half say a run that heals is a run…
asked by Chandra Pillai873 ·testIdAttribute is data-test, so why does the heal suggestion say getByTestId?
Our app has used data-test since long before we adopted SDODS. I set it in the project file: Heal report suggests getByTestId('cart-badge') for a locator that healed. I pasted…
asked by Yusuf Demir201 ·What exactly is "healed": 1 counting in summary.json?
Run went green and the summary said: 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…
asked by Renata Kohl608 ·Suite went from six minutes to nineteen after we enabled healing
Same suite, same machine, same worker count. Before healing it was about six minutes, now it is nineteen and change. Nothing failed either way, which is why I assumed healing was…
asked by Renata Kohl608 ·Can I put an XPath in the css fallback list of a heal context?
Our app renders a summary table where the only stable thing about a row is its position relative to a header cell. The reviewer agent keeps flagging the selector, so I was going…
asked by Kostya Petrov7,903 ·Should I commit the suggested locator from a heal log, or go and find out why?
Our log has been telling us this for a fortnight: I cannot tell whether "update the page object" means "paste this in" or "go and find out why". The suggestion is obviously…
asked by Sam Orbison9,420 ·Why does healing never kick in for expectHidden()?
Every positive assertion in our page object heals fine. This one never does: assert is in heal.actions, the context has a role, a name and a test id. The step fails with an…
asked by Gio Castellano521 ·I do not want healing to rescue a broken locator — I want the test to fail
Possibly an unpopular opinion, but: if a developer renames a button and my test still passes, my test did not test anything. Yesterday a whole feature shipped with the wrong…
asked by Vikram Rajagopal1,240 ·Healing does nothing — I just get the normal Playwright timeout
We turned healing on for our checkout page object and the button still fails exactly the way it did before. No heal event, nothing in the log, just the Playwright timeout. The…
asked by Annika Solheim14,002 ·