AI steps stop when their test ends

When a test fails or times out, Donobu stops any page.ai step still running, so it cannot act on the page or overwrite the result.

A test can end while a page.ai step is still working. For example, a test runs two things at once and the other one fails. That step kept going: it typed into the page after the test ended and wrote over the FAILED result.

Test teardown now stops running AI steps first. It waits up to 10 seconds for them to finish, then records the final state. No new AI step can start once teardown begins.

  • Covers page.ai, cached replays, page.ai.extract and page.ai.locate
  • The same fix ships for mobile (3.18.0) and HTTP (1.9.0) tests