Skip to content

Error with Browserstack local - console error Undefined #16

@rrfaria

Description

@rrfaria

Env:
Ubuntu 18.04

local.log Error:

Either another browserstack local client is running on your machine or 
some server is listening on port 45691

How to simulate:

When there is error on code at step-definitions it brokes and show

TypeError: Cannot read property 'quit' of undefined
         at World.<anonymous> (
cucumber-js-browserstack/features/support/hooks.js:47:13)

then when you try run code again it starts to show undefined error

to run again you must run kill:

killall -9 BrowserStackLocal

I was analysing hook.js and I guess it needs an error handler to avoid it.

Another thing I would like to suggest is update the packages:
cucumber to 5.10
cucumber-assert to 2.0.1
browserstack-local to 1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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