Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

BrowserStack tunnel not launching automatically #42

@aminer-looker

Description

@aminer-looker

I'm just getting started with using Karma & BrowserStack together, and I'm not able to get my tests to run with the default setup. I did the standard npm install, and added the following config:

    browserStack: {
      username: '********',
      accessKey: '*********'
      // startTunnel: false
    },

    customLaunchers: {
      browserstack_safari_mac: {
        base: "BrowserStack",
        browser: "safari",
        browser_version: "8.0",
        os: "OS X",
        os_version: "Yosemite"
      }
    },

    browsers: [
      "browserstack_safari_mac"
    ]

The first time I ran, it said it couldn't find the BrowserStack binary, so it downloaded it. Sure, fine. But, so long as I leave the startTunnel line commented out, I get the following error:

INFO [karma]: Karma v0.12.31 server started at http://localhost:9876/
INFO [launcher]: Starting browser safari 8.0 (OS X Yosemite) on BrowserStack
ERROR [launcher.browserstack]: Can not start safari 8.0 (OS X Yosemite)
  Error: getaddrinfo ENOTFOUND

If I change the startTunnel setting and manually run the BrowserStackLocal app, everything seems to work fine.

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