Add frontend smoke tests for the new web app. Cover login page rendering, successful session flow with mocked backend, dashboard loading state, dashboard success state, API error state, and logout. Use a lightweight testing setup appropriate for Vite/React. Do not add full browser E2E infrastructure yet unless it remains very small.
Add frontend smoke tests for the new web app. Cover login page rendering, successful session flow with mocked backend, dashboard loading state, dashboard success state, API error state, and logout. Use a lightweight testing setup appropriate for Vite/React. Do not add full browser E2E infrastructure yet unless it remains very small.