mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-12 23:54:01 +09:00
Deleting scrollIntoView left every focus test green, though it is the only thing that brings the field into view: focus is called with preventScroll, which turns off the browser's own scroll-on-focus. So the behaviour the fix exists for was unpinned. Stub scrollIntoView, which jsdom does not implement, and assert it. Same for the selector escaping, which only the fallback path reaches, so the test has to miss the exact id for an unescaped quote to break anything. Keep the test QueryClient at retry and gcTime only. No test needs the wider production defaults: the suite is green either way, while staleTime and placeholderData change what all 53 files observe. It belongs with the change that needs it. Record the new schema keyword in the console notes. Assisted-by: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>