design-system assets cypress e2eAuthentication.cy.ts src componentsButton.cy.tsxButton.tsx describe('Auth', () => { it('user should be able to log in', () => { cy.visit('/') // open the login modal cy.get('button').contains('Login').click() // fill in the form cy.get('input[type="email"]').type('[email protected]') cy.get('input[type="password"]').type('test123') // submit the form
![Testing Frameworks for Javascript | Write, Run, Debug | Cypress](https://cdn-ak-scissors.b.st-hatena.com/image/square/4b5a2c316bd346e6b8e7303d6666d85422178325/height=288;version=1;width=512/https%3A%2F%2Fwww.cypress.io%2Fcypress_logo_social.png)