fix(test): follow the moved onboarding shell in the birth-time contract
Independent Staging Quality Gate / validate (push) Failing after 10m56s
Independent Staging Quality Gate / publish (push) Skipped

The home split moved BirthTimeRectification out of page.tsx. The gate still required that tag in the old file list. The scan now includes the shell, and page.tsx must still mount it.
This commit is contained in:
jesse-ux
2026-09-25 03:12:17 +08:00
parent 4b579af661
commit 81db05c6f0
2 changed files with 18 additions and 0 deletions
@@ -135,6 +135,7 @@ HOME_SURFACE_FILES = (
FRONTEND / "src" / "components" / "birth-location-fields.tsx",
FRONTEND / "src" / "components" / "profile-fields.tsx",
FRONTEND / "src" / "components" / "onboarding-chat-message.tsx",
FRONTEND / "src" / "components" / "home-onboarding-shell.tsx",
FRONTEND / "src" / "components" / "chart-library-panel.tsx",
FRONTEND / "src" / "components" / "starter-home.tsx",
)
@@ -177,6 +178,7 @@ def test_web_onboarding_uses_the_deterministic_free_journey() -> None:
).read_text(encoding="utf-8")
mastra = _mastra_consultation_surface()
assert "<HomeOnboardingShell" in PAGE.read_text(encoding="utf-8")
assert "<BirthTimeIntakeFields" in page
assert "requestBirthTimeAssessment" in page
assert "<BirthTimeRectification" in page