moar fixes + unit test review of routes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 56m46s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 56m46s
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user