Check that a page recovers when a read fails
check_read_recoveryInject GET read faults into a development or test app page to verify UI recovery automatically or via retry, returning per-fault outcomes and a report.
Instructions
Loads the page healthy, then fails one GET endpoint with each fault kind and checks that the ready marker comes back: by itself (recovery "automatic") or after clicking retrySelector ("retry"). Returns an outcome per fault, why the healthy baseline failed if it did, the text the screen showed under a fault it did not recover from, and the report folder, which includes fix-brief.md and reproduce.mjs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page of a development or test app. | |
| times | No | How many consecutive requests each fault fails. | |
| faults | No | Which faults to apply; all of http-error, connection-failure, invalid-json by default. | |
| endpoint | Yes | Origin and path of the GET read to fail, as find_page_reads lists it. | |
| recovery | No | automatic | |
| readyText | No | Text the ready element must contain. | |
| timeoutMs | No | ||
| storageState | No | ||
| readySelector | Yes | CSS selector of the one element that is visible only once that read has rendered its data. It must match exactly one element: for a list, choose its container or a single item, not a selector every item matches. | |
| retrySelector | No | Required when recovery is "retry". |