This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
undefined method `browser' for nil:NilClass for @driver #61
Comments
So this behaviour only happens for more then one spec? Hmm. I suspect the reset logic in Capybara is removing the driver object before the after block is run. Can you share a copy of your Gemfile? |
Sure thing, we're using capybara 3.14.0 and sauce_whisk 0.1.0:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have set up our specs based on this example, yet we run into this error as soon as we have more than a single spec:
our
sauce_spec_helper.rb
has the following (ie the same stuff as the example with the addition of a flag we use specifically for Travis):Any idea on what could be causing this?
The text was updated successfully, but these errors were encountered: