diff --git a/client/src/pages/login/AppLogin.test.tsx b/client/src/pages/login/AppLogin.test.tsx index 3f10469bb..46d90b2e4 100644 --- a/client/src/pages/login/AppLogin.test.tsx +++ b/client/src/pages/login/AppLogin.test.tsx @@ -95,7 +95,8 @@ describe('AppLogin', () => { }); it('FE-LOGIN-APP-002: signs in with email and password, with the fields password managers fill', () => { - const login = buildLogin(); + // Filled, as the hook would hold them: the form refuses to submit with its required fields empty. + const login = buildLogin({ email: 'old@example.com', password: 'old' }); render(); expect(screen.getByRole('heading', { name: 'Sign In' })).toBeInTheDocument();