Frontend replacement failure shows AI test design needs the context behind it
Hacobell is replacing its frontend from Vue.js to React in a project that has run since 2024. The author took over as project owner in October 2025, when Claude Code had just been introduced inside the company and the team expected to build quickly with AI. The team followed a process the author calls spec-driven development[1], generating test cases with AI from specifications, and in 2026 a defect in request parameters caused a major failure that was hard to notice on screen.
The author says the team understood test design too narrowly, as turning specifications into test steps and expected results. People also relied on business knowledge and past failures to decide what to check, how deeply, and what counts as correct. Frequently used features usually already have E2E tests[2], while few-user features with high business impact and operations that rewrite data are easy to overlook. The author also points to the definition of a correct result, or test oracle[3], which changes as the project goes on and where the existing system is not always the right reference.
The author still considers AI-based test design the right direction and wants AI to handle as much of test design and execution as possible. For that, the context people used implicitly, such as past failure information, product usage, the business importance of each feature, the test policy and spec change decisions, must also be available to AI. The stated lesson is that when work moves to AI, the context that supported it must move too.
Sources
-
JPZenn JA
フロントエンドリプレイスのつまずきから考える、AI時代のテスト設計



