Summary
Every assertion in settings-flow.test.tsx goes through usePreferencesStore.getState() directly. The test suite will pass even if the real settings page stops rendering the correct controls, miswires event handlers, or fails to hydrate from the store — because the real component is never involved.
Affected file
src/UILayer/web/src/__tests__/e2e/settings-flow.test.tsx — line 54
Required fix
Render the real settings page component and interact with it via user events (userEvent.click, userEvent.type). Assert on what the user sees (rendered output) rather than internal store state.
References