UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

22 lines (18 loc) 392 B
import './setup' describe('cy.each', { defaultCommandTimeout: 0 }, () => { it('assertion failure', () => { cy.wrap([1]).each(() => { expect('actual').to.equal('expected') }) }) it('exception', () => { cy.wrap([1]).each(() => { ({}).bar() }) }) it('command failure', () => { cy.wrap([1]).each(() => { cy.get('#does-not-exist') }) }) })