mirror of
https://github.com/bitbaum/kivvi.git
synced 2026-12-05 03:09:47 +01:00
* 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>