Files
CatoandClaude Opus 5.5 0631787dbc test(e2e): read the AI key field from the live form, not React's parked copy (#263)
* test(e2e): read the AI key field from the live form, not React's parked copy

The account journey failed twice on main after #261 with "#aiApiKey resolved to 2 elements". The trace shows the second input inside <div hidden id="S:1"> at the end of <body>: React 19.2 parks a streamed piece there and moves it into place on the next animation frame. In CI's headless browser that frame did not come, React drew the form itself in <main>, and the parked copy stayed hidden beside it. Readers never see it. Scope the key and provider locators to #main-content, the live page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx
Signed-off-by: Claude <noreply@anthropic.com>

* test(e2e): find the Save button by the field inside its form

A has-locator is matched inside the form, so '#main-content #aiApiKey' never matched there and the click waited out the test. Scope the form to #main-content and name only the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx
Signed-off-by: Claude <noreply@anthropic.com>

---------

Signed-off-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 20:32:11 +01:00
..
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00
2026-08-29 10:31:23 +00:00