-
Student was unable to run the test suite but his code was passing. Running the test suite was throwing an error of `uninitialized constant Capybara::DSL`.
Adding the following to the spec_helper.rb…
-
Doesn't work on ubuntu 😢
```
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Cliver::Dependency::NotFoun…
-
Rack is spewing errors when running acceptance tests.
`gems/rack-1.2.3/lib/rack/utils.rb:16: warning: regexp match /.../n against to UTF-8 string` https://github.com/jnicklas/capybara/issues/243 -- …
-
this is the message
`DEPRECATED: Passing a block to Capybara::server is deprecated, please use Capybara::register_server instead`
because of this code in capybara-puma
``` ruby
Capybara.server do |a…
-
We are turning off VCR based on the uri, like so:
``` ruby
VCR.configure do |c|
c.around_http_request(lambda {|r| r.uri =~ //}) do |request|
VCR.turned_off(&request)
end
c.ignore_localhost…
-
Hello,
I have the following setup (latest versions for all gems):
capybara (2.13.0)
capybara-webkit (1.14.0)
database_cleaner (1.5.3)
Qt 5.5
MacOS Sierra
spec_helper.rb
…
-
Problem is that `capybara-screenshot` capture screenshot on failure hook is positioned after rails system's test `after_teardown` method which destroys Capybara session.
Currently, I made a quick w…
-
```rb
# bad
page.find('#foo').find('.bar')
# good
page.find('#foo .bar')
```
ydah updated
10 months ago
-
@myronmarston @JonRowe Does it make sense to have some like this:
``` ruby
Then /^the following files should (not )?exist:$/ do |negated, files|
files = files.rows.flatten
RSpec::Matchers.scope …
-
Currently some feature tests (using JS) fail in a non deterministic way. Current solution is a workaround forcing tests to repeat set number of times until they pass. This solution will not work in th…