We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79f307 commit 938233bCopy full SHA for 938233b
src/components/login-form.test.tsx
@@ -12,7 +12,7 @@ const onSubmitMock: jest.Mock<LoginFormProps['onSubmit']> = jest.fn();
12
describe('LoginForm Form ', () => {
13
it('renders correctly', async () => {
14
setup(<LoginForm />);
15
- expect(await screen.findByText(/Sign in/i)).toBeOnTheScreen();
+ expect(await screen.findByTestId('form-title')).toBeOnTheScreen();
16
});
17
18
it('should display required error when values are empty', async () => {
0 commit comments