Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testem not finding any launchers with Chrome and Firefox #449

Closed
duncan-bayne opened this issue Dec 31, 2014 · 8 comments
Closed

Testem not finding any launchers with Chrome and Firefox #449

duncan-bayne opened this issue Dec 31, 2014 · 8 comments

Comments

@duncan-bayne
Copy link
Contributor

If I run testem launchers on my system, I see:

info Seeking for config file... 
Have 0 launchers available; auto-launch info displayed on the right.

Launcher      Type          CI  Dev
------------  ------------  --  ---

I have the following browsers installed:

  • Mozilla Firefox 34.0.5 in /usr/local/bin/firefox
  • Chromium 39.0.2171.95 in /usr/local/bin/chrome (with ChromeDriver 2.10 in /usr/local/bin/chromedriver)

My Testem and Node versions are:

  • Node v0.10.33
  • Testem 0.6.24

My OS version is:

@amercier
Copy link
Contributor

amercier commented Jan 5, 2015

Same on MacOS X with Chrome and Firefox installed in ~/Applications instead of /Applications.

@duncan-bayne
Copy link
Contributor Author

What's your $PATH? It sounds like Testem is simply disregarding $PATH and looking where it thinks binaries might be.

@duncan-bayne
Copy link
Contributor Author

Having had a look at
https://github.com/airportyh/testem/blob/master/lib/browser_launcher.js I'm not surprised by this behaviour.

nope into the sun

@amercier
Copy link
Contributor

amercier commented Jan 6, 2015

Looking at the $PATH wouldn't work either on MacOS (/Applications and ~/Applications are not in $PATH).

@emilingerslev
Copy link

I'm running on Mac, and i works with testem version mentioned and OS X Yosemite. To be specific, it launches Safari and Chrome.

@amercier
Copy link
Contributor

amercier commented Jan 6, 2015

I assume you installed these browsers in /Application. It does not work if you install them in ~/Application (= /Users/<you>/Applications).

@johanneswuerbach
Copy link
Member

@amercier Feel free to send a PR adding ~/Application to testems search paths.
@duncan-bayne /usr/local/bin/ should be listed in $PATH as testem only tries to execute firefox without any path? Testem is using google-chrome to lunch Chrome, is chrome the default binary name on BSD?

@jasonkarns
Copy link
Contributor

I agree that ~/Applications should be included in testem's paths. That's the default location into which brew-cask installed apps are symlinked.

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

No branches or pull requests

5 participants