Commit 654f163
fix(test): patch teacher signup email + birth-year select per G-01/G-14
CI v5 surfaced two new failures from prior PR-P shipping that the
test fixtures hadn't caught up to:
1. golden-paths #5 (class mode) — `/api/nauczyciel/signup` POST
omitted the `email` field. PR-P G-14 (8303296) made email
required (Zod `.string().email()` non-optional) so the verify-
link flow has somewhere to send. Test now passes
`email: "${teacherUser}@example.com"`.
2. smoke.spec.ts:37 — `selectOption({value: "2000"})` on the
register form's birth-year dropdown. PR-P G-01 (85ae293)
clamped the dropdown to 11 options (currentYear-6 → -16 =
2010-2020). 2000 is no longer present so the locator times
out at 60s. Switched to "2010" — oldest option, age 16, no
parent-email gate (matches the pre-existing comment
intent).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e485256 commit 654f163
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments