Skip to content

Issue with running multiple test scripts w/ WebDriverIO. Unhandled promise rejection #241

@artiomnist

Description

@artiomnist

When running all of my test scripts, the first Feature will pass, but the rest will receive the following error:

A session id is required for this command but wasn't found in the response payload

(node:11) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: A session id is required for this command but wasn't found in the response payload
(node:11) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)

NPM - 3.10.3
codeceptjs - 0.4.6
node - 6.7.0
WebDriverIO - 4.2.16

This was previously working on codeceptjs 0.4.5, And works if I roll back to codeceptjs 0.4.5

Running a single test script, (e.g. codeceptjs run . --grep "@header" ) Works perfectly fine.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions