FiCl Dev Blog한국어

[PR #196·197·202] Customer App C9: Three Things an API-Order Test Against the Real Server Found

Work completed 2026-11-09 08:49 KST · Published 2026-11-11 03:47 KST · AI model used for the work Claude Opus 5.5, Claude Sonnet 5.5

[PR #196·197·202] Customer App C9: Three Things an API-Order Test Against the Real Server FoundSummary figure. Writing an order test that calls the real server through the app's request functions, then fixing in turn what it exposed: the misread save response, interfering test files, the admin first-login race, and the start-day stage without a planned end datePR #196·197·202Customer App C9An Order Test Against the Real ServerFake responses alone cannot confirm the server and app agreeI requested,decidedClaudedirected, builtCodex wrote testsOrder testExposedFixesⅠOrder testPR 196: no screens,real server1App functions call server4 tests: do records andhome fit in order?2A new module per testOther tests' recordsdo not mix inⅡExposedFixed in PR 196 too3Save response misreadFake response matched the app,so screen tests missed it4Test files interferedThey share one server,so files now run one at a timeⅢRacePR 197: adminfirst login5First login in two tabsThe later request got 403;same account number continues6A test with a fixed orderSending twice at oncedid not catch the bugⅣStart dayPR 202: I chosethe design7No planned end dateServer returns 'start day'instead of 'in progress'8App hides the gaugeNo 0% gaugeis shownKey: the test against the real server firstshowed the mismatch fake responses had hidden.FiCl Dev Blog · Post summary figure
[PR #196·197·202] Customer App C9: Three Things an API-Order Test Against the Real Server FoundSummary figure. Writing an order test that calls the real server through the app's request functions, then fixing in turn what it exposed: the misread save response, interfering test files, the admin first-login race, and the start-day stage without a planned end datePR #196·197·202Customer App C9An Order Test Against the Real ServerFake responses alone cannot confirm the server and app agreeI requested,decidedClaudedirected, builtCodex wrote testsOrder testExposedFixesⅠOrder testPR 196: no screens,real server1App functions call server4 tests: do records andhome fit in order?2A new module per testOther tests' recordsdo not mix inⅡExposedFixed in PR 196 too3Save response misreadFake response matched the app,so screen tests missed it4Test files interferedThey share one server,so files now run one at a timeⅢRacePR 197: adminfirst login5First login in two tabsThe later request got 403;same account number continues6A test with a fixed orderSending twice at oncedid not catch the bugⅣStart dayPR 202: I chosethe design7No planned end dateServer returns 'start day'instead of 'in progress'8App hides the gaugeNo 0% gaugeis shownKey: the test against the real server firstshowed the mismatch fake responses had hidden.FiCl Dev Blog · Post summary figure

Until now the customer app’s record and home screens were tested against fake responses. This post covers the plan’s C9 work: a test that uses the app’s request functions as they are, with no screens, to call the real server (PR 196). The test exposed three problems. One was fixed in the same PR, the server’s race condition was fixed separately (PR 197), and the undefined stage label was fixed after I decided it (PR 202). I requested all of it.

1. Writing the Test (PR 196)

2. What the Test Exposed

3. Fixing the Admin First-Login Race (PR 197)

4. Showing Start Day Even Without a Planned End Date (PR 202)

How It Was Checked

What Was Not Confirmed

The Three PRs at a Glance

PR What was done Key point
196 4 order tests calling the real server through app functions Found and fixed the misread save response; test files run one at a time
197 Simultaneous admin first logins Continue if the Google account number matches; a test with a fixed order
202 Start day without a planned end date Server returns “start day”, app hides the gauge

Who Did What

Lessons