moar fixes + unit test review of routes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 56m46s

This commit is contained in:
2025-12-19 11:20:07 -08:00
parent 2a8b1b8617
commit aa437d6139
8 changed files with 195 additions and 83 deletions

View File

@@ -226,8 +226,9 @@ describe('AuthView', () => {
const submitButton = screen.getByTestId('auth-form').querySelector('button[type="submit"]');
expect(submitButton).toBeInTheDocument();
expect(submitButton).toBeDisabled();
// Verify 'Sign In' text is gone
expect(screen.queryByText('Sign In')).not.toBeInTheDocument();
// Verify 'Sign In' text is gone from the button
// Note: We use queryByRole because 'Sign In' still exists in the header (h2).
expect(screen.queryByRole('button', { name: 'Sign In' })).not.toBeInTheDocument();
});
it('should show loading state during password reset submission', async () => {