The Test Agent
When your preview opens and you press Love it, the Chirai Test Agent tests the site in front of you. A cursor moves through every page, opens the links and presses the safe buttons. It then lists what's wrong, and one button fixes it.
What it checks
- Pages and links: pages that don't load, links to pages that don't exist, buttons that do nothing.
- Text you can't read: low contrast, text drawn over other text, words cut off, cards that show only an icon.
- Phones and tablets: after the desktop pass, it switches the preview to a phone, then a tablet. It looks for pages wider than the screen, squeezed side panels, and buttons too small to tap. Those findings say "(phone)" or "(tablet)".
- Behind the scenes: console errors, failed network calls, and database errors such as a missing table or column.
- Security: a database master key in the page, and admin pages that open without signing in.
- Speed: slow pages and slow requests.
It uses the site like a customer
After the pages, the agent runs the errands a real visitor would:
- Forms: it fills in contact, sign-up and enquiry forms with test answers, sends them, and checks the visitor is told it worked.
- Search: it searches for something and expects the page to respond.
- Buying, on a shop: it finds a product, picks a size, adds it to the cart, saves it to the wishlist, opens the cart, changes the quantity, goes to checkout and fills in the delivery details. It stops at the pay button. Then it opens the wishlist, and empties the cart again.
A step that fails is reported in plain words, such as "Adding a product to the cart does nothing" or "With every field filled in, the order still can't be placed", with the request that failed.
It never pays, places an order, deletes anything or signs out.
Fix these
Press Fix these and Chirai's own repair layers run first: lists bound to the right tables, the build doctor, and database checks. Then IILA fixes what's left. The agent tests again and shows "Fixed N of M". Fix what's left runs another round. A problem that survives a fix goes back to IILA marked "still here", so it tries something different.
IILA says what it changed, not that a problem is fixed: only the second test decides that. Its result is posted in the chat ("Tested again: 3 of 5 fixed. Still there: …"). A problem in one of Chirai's own components is updated by Chirai in the first step and is not sent to IILA.
Test signed in
Pages for members only (account, orders, dashboards) need a signed-in visitor. Sign up in the preview, then press Test signed in.
Apps
Phone apps get the same agent on the phone preview. It opens every screen and finds crashes too, such as text outside a <Text>, which works in the preview but crashes on a real phone.
Your own code or another site
The same checks are available for any website as Chirai Pulse, and for any code repository as Chirai Cody.