diff --git a/src/Components/Input/TextInput.cy.tsx b/src/Components/Input/TextInput.cy.tsx index 338fc400..e2dda0fe 100644 --- a/src/Components/Input/TextInput.cy.tsx +++ b/src/Components/Input/TextInput.cy.tsx @@ -26,6 +26,7 @@ describe('', () => { }) it('accepts user input', () => { + mount() cy.get('input[name="test-input"]').type('Hello Test') cy.get('input[name="test-input"]').should('have.value', 'Hello Test') }) @@ -47,10 +48,6 @@ describe('', () => { cy.get('@updateFormValueSpy').should('have.been.calledWith', 'Test') }) - it('respects the required attribute', () => { - cy.get('input[name="test-input"]').should('have.attr', 'required') - }) - it('accepts a specific input type', () => { mount() cy.get('input[name="test-input"]').should('have.attr', 'type', 'email')