diff --git a/src/__test__/components/InputText.test.tsx b/src/__test__/components/InputText.test.tsx
index de8248a..d67a097 100644
--- a/src/__test__/components/InputText.test.tsx
+++ b/src/__test__/components/InputText.test.tsx
@@ -5,12 +5,12 @@ describe('input text component', () => {
test('renders input text', () => {
render();
- expect(screen.queryByTestId('text')).toBeInTheDocument();
+ expect(screen.getByTestId('text')).toBeInTheDocument();
});
test('renders input text with custom class', () => {
const className = 'randomclass';
render();
- expect(screen.queryByTestId('text')).toHaveAttribute('class', expect.stringContaining(className));
+ expect(screen.getByTestId('text')).toHaveAttribute('class', expect.stringContaining(className));
});
});