Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Before fix
- // describe('btn-label-says-clicked', () => {
- // it ('can click the button and fires the event', () => {
- // cy.get('#foo-btn').click()
- // })
- // })
- // After fix
- describe('btn-label-says-clicked', () => {
- it ('can click the button and fires the event', () => {
- cy.get('#foo-btn[get-cy=event-attached]').click()
- })
- })
Add Comment
Please, Sign In to add comment