Skip to content

Functional tests passing even though there are errors #363

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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