## Problem `client/src/components/ReviewForm.test.tsx` intermittently fails on the retry test (`keeps keyboard focus after a publish error and allows retry`, line 306) with: ``` expect(status).toHaveFocus() Expected element with focus: <p aria-live="polite" role="status" tabindex="-1">Your review was published.</p> Received element with focus: <button aria-disabled="false" class="primary-button" type="submit">Publish review</button> ``` This failed on `main` CI run `88055` (blocking deployment of #115) and was also observed once locally during PR #116 testing. ## Cause `ReviewForm` moves focus to `statusRef` inside a passive `useEffect`. In the retry test, `await screen.findByRole('status')` resolves via Testing Library's `MutationObserver` as soon as React commits the `<p role="status">` node to the DOM, before React's passive `useEffect` task runs `statusRef.current?.focus()`. ## Suggested solution Wait for focus asynchronously with `await waitFor(() => expect(status).toHaveFocus())` in `client/src/components/ReviewForm.test.tsx` (matching the async passive effect lifecycle).