Skip to main content

Lab 8 - the recorded healing report

For participants without a healing model. This is the healing run of Lab 8, step 3, recorded during the rehearsal: the shipped suite, unchanged, with the shop in drift_and_bug and the heal profile on.

uv run --no-sync python -m shop preset drift_and_bug
uv run robotcode -p heal robot --exclude broken

The model was an OpenAI-compatible model with a spending cap. It made 5 heals and used about 17,000 tokens. Another model, or another run, may choose different locators; which tests pass and fail stays the same.

The result​

11 tests ran: 9 passed, 2 failed. Without healing, the same preset failed 4 of them.

The heals​

Each heal is a proposal: the listener found the element with a new locator, reran the keyword with it, and recorded the change. No file was changed.

#TestKeyword, in resources/legacy.resourceOld locatorNew locatorAfterwards
1WEB-002_AC-1 Card Prices Are The Product PricesGet Element, in Get Product Gridsection:has(h2:text-is("All products")):not(:has(section)) >> .product-gridcss=.catalog-content .tile-rackthe step passed
2WEB-006_AC-1 Order Total Adds UpGet Text, in Get Order Total[data-test="checkout-total"]css=div.payment-totals__totalthe step passed and read "Total due at payment $249.99"
3WEB-006_AC-7 Successful OrderFill Text, in Fill Checkout Form By Field Idsid=checkout-emailcss=input#payment-emailthe step passed
4WEB-006_AC-7 Successful OrderFill Text, in Fill Checkout Form By Field Idsid=checkout-namecss=input#payment-namethe step passed
5WEB-006_AC-7 Successful OrderFill Text, in Fill Checkout Form By Field Idsid=checkout-addresscss=textarea#payment-addressthe step passed

WEB-002_AC-7 Audio Filter Shows Only Audio passed without a heal of its own: it uses the same grid locator as heal 1, and the listener reused that repair. Its log says "proactively replaced known-broken locator".

Still red with healing on​

TestFailure
WEB-002_AC-1 Card Prices Are The Product PricesCascade Water Bottle should cost $79.00.: $90.85 != $79.00
WEB-006_AC-1 Order Total Adds UpThe order total should be subtotal plus shipping plus tax.: 249.99 != 267.49

Your triage​

Copy this table and fill it in, as Lab 8's step 4 describes. For each heal: is the new locator the element the step meant, and will it survive the next redesign? Then, for each test still red: did its heal work, and why does it still fail?

HealVerdict: accept, reject or investigateWhy
1
2
3
4
5