Skip to content
This repository was archived by the owner on Apr 1, 2019. It is now read-only.
This repository was archived by the owner on Apr 1, 2019. It is now read-only.

chromedriver-helper breaks projects not using it #57

Closed
@mfazekas

Description

@mfazekas

I have a project not using chromedriver-helper. I'm running my tests via:

bin/rails test:system

this passes. But once i bundle install a project which uses chromedriver-helper or i gem install chromedriver-helper i can no longer run my tests.

gem install chromedriver-helper # or bundle install on a project using chromedriver-helper
$ bin/rails test:system
Run options: --seed 13360

# Running:

E

Error:
CustomersTest#test_login:
Selenium::WebDriver::Error::WebDriverError: unable to connect to chromedriver 127.0.0.1:9515
    test/system/customers_test.rb:5:in `block in <class:CustomersTest>'

Running the chromedriver from irb shows the reason for the error:

$ bundle exec irb
2.4.0 :001 > system('chromedriver -v')
.../rubygems_integration.rb:458:in `block in replace_bin_path': can't find executable chromedriver for gem chromedriver-helper. chromedriver-helper is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions