fix(test): follow the moved onboarding shell in the birth-time contract
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user