docs/plugins/heal.md
Self-healing tests with AI.
Read more about healing in Self-Healing Tests
plugins: {
heal: {
enabled: true,
on: 'fail',
}
}
More config options are available:
healLimit - how many steps can be healed in a single test (default: 2)on - trigger mode. fail (default), file (filter to a path), url (filter to a URL pattern).on= modesHeal always runs on step failures; on= narrows when it engages.
path=...[;line=...]pattern=...on=step and on=test are not supported and are rejected with an error.
config