Guest User

Untitled

a guest
May 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. // Before fix
  2. // describe('btn-label-says-clicked', () => {
  3. // it ('can click the button and fires the event', () => {
  4. // cy.get('#foo-btn').click()
  5. // })
  6. // })
  7.  
  8. // After fix
  9. describe('btn-label-says-clicked', () => {
  10. it ('can click the button and fires the event', () => {
  11. cy.get('#foo-btn[get-cy=event-attached]').click()
  12. })
  13. })
Add Comment
Please, Sign In to add comment