You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('checks an element that does not exists using not.exist',()=>{cy.get('#not-found').should('not.exist')cy.get('#not-found').if('not.exist').then(cy.spy().as('if')).else().then(cy.spy().as('else'))cy.get('@if').should('have.been.calledOnce')cy.get('@else').should('not.have.been.called')})
The text was updated successfully, but these errors were encountered:
In the example below, it should take the IF path
The text was updated successfully, but these errors were encountered: