Skip to content

Whenever an err is thrown inside a .then(), commands stop executing after #149

@jennifer-shehane

Description

@jennifer-shehane

If you run the example code below, after the failure within the cy.then(), the cy.wait() in the "next text", the cy.wait() command never executes.

Example Code

context("example", function(){
    it('first test', function(){
      cy
        .wait(10).then(function(){
            expect(false).to.be.true
        })
    })

    it('next test', function(){
        cy.wait(10)
    })
})

Example of Command Log
screen shot 2016-05-19 at 2 52 44 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions