Coder Social home page Coder Social logo

Comments (4)

sholladay avatar sholladay commented on July 27, 2024

The best solution to this is to make sure tunnelOptions is undefined. Intern will do the correct thing in that situation. And the easiest solution to that is usually to not specify tunnelOptions at all.

If/when you need to have a username or access key, you should set those via environment variables and not in your config file. Consider tunnelOptions a last resort.

That said, I think the problem here is that when you do put tunnelOptions in, it won't merge that object with its defaults. It is sort of all or nothing.

from intern-tutorial.

beerendlauwers avatar beerendlauwers commented on July 27, 2024

I had the same issue - adding the host key resolved the issue for me as well.

from intern-tutorial.

balmyBanzai avatar balmyBanzai commented on July 27, 2024

Is this still considered an open bug, or working as intended? Or, working as intended and could use a documentation update?

from intern-tutorial.

mlynn1402 avatar mlynn1402 commented on July 27, 2024

Adding the following code to the "intern.js" config file, got my tests running as required

tunnel: 'BrowserStackTunnel',

tunnelOptions: {
    username: '<your username>',
    accessKey: '<your access key>',
},

N.B. The username and accessKey can be found on the BrowserStack website, after creating account and navigating to

https://www.browserstack.com/accounts/settings

At the bottom of the page is a section called "Automate"

from intern-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.