NOTES
Tracing one return approval error into a regression test
A synthetic HTTP 503 became a captured error, a reviewed expectation and two runs of the same case.
I injected a local HTTP 503 into the approval request for the synthetic Return Desk record RET-2421. The screen showed an approval error and kept the return pending. I used the project's QA acceptance rule, a successful approval request must display “승인 완료” (Approved), as the reviewed expectation. The resulting case failed while the fault was active and passed after I disabled it.
Checking the screen and request
The capture shows the synthetic return's approval dialog with a request failure message. Browser Error Log recorded an HTTP 503 for POST /api/returns/RET-2421/approve. The captured error below provides its ID. The screenshot shows what the reviewer saw, while the event identifies the failing request.
Choosing the expected result
Error to Test used the captured error to prepare a candidate. The expectation came from the Return Desk QA acceptance guide. When the approval API succeeds, a pending return must display “승인 완료” (Approved). The reviewed case opens RET-2421, checks the approval dialog, confirms approval and asserts that status text.
Running the same case twice
The fault run expected “승인 완료” but observed “검수 대기” (Pending) in its final assertion. The required-pass gate exited 2. After I disabled the local 503 injection, the recovery run passed with the same case ID and suite SHA-256. Its gate exited 0.
The evidence below puts the captured error ID, case ID, suite hash and two run IDs in one place so the relationship can be checked. These values come from one local Chromium QA session on November 19, 2026. The return, names and screen data are synthetic. The recovery run started after I turned off the injected fault on the local API.
Trace the evidence
A synthetic return and a local HTTP 503. Each ID below came from one QA run.
1. Captured error
The approval request for the synthetic return received HTTP 503.
- Error ID
bf817d2d-4cdd-4b9d-af58-a688ed3265aa- Request
POST /api/returns/RET-2421/approve- SDK
0.2.18

2. Reviewed case
A human supplied the acceptance rule from the Return Desk QA guide: after a successful approval request, the status must read “승인 완료” (Approved). The captured error was used to draft the candidate.
- Requirement
R_3c3d691955346c61- Case
TC_3c3d691955346c61- Suite SHA-256
86d38f075287c44a97cd3fc35fcff4e219ac7d5dc304ce0611cb8d9cc4866e6d
3. With the fault
The final assertion expected “승인 완료” and observed “검수 대기” (Pending). The run failed, and the required-pass gate exited 2.
- Run ID
57710d21-dfed-4161-9f2a-9365d4f2efb0- Case and suite
TC_3c3d691955346c61·86d38f075287c44a97cd3fc35fcff4e219ac7d5dc304ce0611cb8d9cc4866e6d
4. After removing the fault
The same case and suite passed when the local 503 injection was disabled. The required-pass gate exited 0.
- Run ID
d9a99ed4-3a1e-494c-a6b3-155706376f03- Case and suite
TC_3c3d691955346c61·86d38f075287c44a97cd3fc35fcff4e219ac7d5dc304ce0611cb8d9cc4866e6d
Reproduce locally with npm run qa:pr at the pinned source commit. This record describes a synthetic return, one Chromium run and local fault injection. Reproduction script ↗
Comments
Questions and ideas are welcome. Sign in with GitHub to comment; replies are public and shared between the Korean and English versions.