Skip to content

Functional tests passing even though there are errors #363

Open
@x3ro

Description

@x3ro

I noticed that some of the functional tests (I haven't verified if this applies for all) pass even if there are errors during the test execution. This, for example, applies for the spec/registrationJourney.js. To verify this, insert some random string in the scope below

.getText('span.amount')
.then((amount) => {
    adkaflsdflksd // e.g.

The test still passes, even though there is an error. I noticed that this is fixed by replacing .end(done) with .call(done), but am not sure if that is a proper fix.

PS: This occurred with Node v9.4.0. Dependencies installed with npm v5.6.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions