Cypress - Component Testing
Given this Cypress E2E test code, what will be the output in the test report?
describe('Login flow', () => {
it('should show error on wrong password', () => {
cy.visit('/login')
cy.get('input[name="username"]').type('user1')
cy.get('input[name="password"]').type('wrongpass')
cy.get('button[type="submit"]').click()
cy.contains('Invalid credentials').should('be.visible')
})
})