Skip to content

Instantly share code, notes, and snippets.

@justin808
Last active March 6, 2016 22:15
Show Gist options
  • Save justin808/5830adb7634e77db8c23 to your computer and use it in GitHub Desktop.
Save justin808/5830adb7634e77db8c23 to your computer and use it in GitHub Desktop.
Errors when running non-selenium drivers (anybody know how to fix this?) for the https://github.com/shakacode/react-webpack-rails-tutorial/
➜ ~/shakacode/react-webpack-rails-tutorial (fix-comments-json-format) DRIVER=selenium_chrome rspec [12:06:38]
Running via Spring preloader in process 39408
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Capybara using driver: selenium_chrome
Add new comment
from main page
via Horizontal Form
when the new comment is submitted
React on Rails is ensuring your JavaScript generated files are up to date!
If you are frequently running tests, you can run webpack in watch mode to speed up this process.
See the official documentation:
https://github.com/shakacode/react_on_rails/blob/master/docs/additional_reading/rspec_configuration.md
Building Webpack client-rendering assets...
Completed building Webpack client-rendering assets.
Building Webpack server-rendering assets...
Completed building Webpack server-rendering assets.
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Inline Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Stacked Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
from simple page
via Horizontal Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Inline Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via the Stacked Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
from classic page
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
Destroy a comment
from classic page
clicking destroy link destroys comment
Edit a comment
from classic page
when edit is submitted
comment is updated
when edit is submitted with blank fields
comment is not updated
Git Commit SHA
when .source_version file does not exist
behaves like Git Commit SHA
displays the current git commit
when .source_version file exists
behaves like Git Commit SHA
displays the current git commit
Server Rendering
generates server rendered HTML if server rendering enabled
generates no server rendered HTML if server rendering not enabled
Finished in 52.39 seconds (files took 0.61943 seconds to load)
28 examples, 0 failures
[Coveralls] Outside the CI environment, not sending data.
➜ ~/shakacode/react-webpack-rails-tutorial (fix-comments-json-format) DRIVER=poltergeist rspec [12:07:41]
Running via Spring preloader in process 39575
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Capybara using driver: poltergeist
Add new comment
from main page
via Horizontal Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is added
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
doesn't add an iframe
via Inline Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
comment is added (FAILED - 1)
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
doesn't add an iframe
via Stacked Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
comment is added (FAILED - 2)
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
doesn't add an iframe
from simple page
via Horizontal Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is added (FAILED - 3)
HTML screenshot: file:///Users/justin/shakacode/react-webpack-rails-tutorial/tmp/capybara/screenshot_2016-03-06-12-08-03.119.html
Image screenshot: file:///Users/justin/shakacode/react-webpack-rails-tutorial/tmp/capybara/screenshot_2016-03-06-12-08-03.119.png
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
doesn't add an iframe
via Inline Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is added (FAILED - 4)
HTML screenshot: file:///Users/justin/shakacode/react-webpack-rails-tutorial/tmp/capybara/screenshot_2016-03-06-12-08-04.479.html
Image screenshot: file:///Users/justin/shakacode/react-webpack-rails-tutorial/tmp/capybara/screenshot_2016-03-06-12-08-04.479.png
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
doesn't add an iframe (FAILED - 5)
via the Stacked Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
comment is added (FAILED - 6)
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
doesn't add an iframe
from classic page
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
Destroy a comment
from classic page
clicking destroy link destroys comment
Edit a comment
from classic page
when edit is submitted
comment is updated
when edit is submitted with blank fields
comment is not updated
Git Commit SHA
when .source_version file does not exist
behaves like Git Commit SHA
displays the current git commit
when .source_version file exists
behaves like Git Commit SHA
displays the current git commit
Server Rendering
generates server rendered HTML if server rendering enabled
generates no server rendered HTML if server rendering not enabled
Failures:
1) Add new comment from main page via Inline Form when the new comment is submitted comment is added
Failure/Error: background { visit root_path }
Capybara::Poltergeist::DeadClient:
PhantomJS client died while processing {"id":"417939e9-6336-438c-b5ac-d2a541874a6c","name":"visit","args":["http://127.0.0.1:58414/",30]}
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:11
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
2) Add new comment from main page via Stacked Form when the new comment is submitted comment is added
Failure/Error: background { visit root_path }
Capybara::Poltergeist::DeadClient:
PhantomJS client died while processing {"id":"e1696d53-a407-4342-877c-e6760ff5245f","name":"visit","args":["http://127.0.0.1:58414/",30]}
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:14
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
3) Add new comment from simple page via Horizontal Form when the new comment is submitted comment is added
Failure/Error: expect(page).to have_css(".js-comment-author", text: name)
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `CommentList`. See https://fb.me/react-warning-keys for more information.
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `CommentList`. See https://fb.me/react-warning-keys for more information.
at :45 in warning
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:20
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:75:in `visible_text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:17:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:50:in `visible_text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/element.rb:61:in `block in text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:80:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/element.rb:57:in `text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:44:in `matches_filters?'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/result.rb:27:in `block in initialize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/result.rb:27:in `select'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/result.rb:27:in `initialize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:118:in `new'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:118:in `block in resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:80:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:106:in `resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/matchers.rb:94:in `block in assert_selector'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/matchers.rb:93:in `assert_selector'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:686:in `block (2 levels) in <class:Session>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/rspec/matchers.rb:23:in `matches?'
# ./spec/features/shared/examples.rb:11:in `block (3 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
4) Add new comment from simple page via Inline Form when the new comment is submitted comment is added
Failure/Error: expect(page).to have_css(".js-comment-author", text: name)
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `CommentList`. See https://fb.me/react-warning-keys for more information.
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `CommentList`. See https://fb.me/react-warning-keys for more information.
at :45 in warning
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:23
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:75:in `visible_text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:17:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:50:in `visible_text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/element.rb:61:in `block in text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:80:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/element.rb:57:in `text'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:44:in `matches_filters?'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/result.rb:27:in `block in initialize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/result.rb:27:in `select'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/result.rb:27:in `initialize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:118:in `new'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:118:in `block in resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:80:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:106:in `resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/matchers.rb:94:in `block in assert_selector'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/matchers.rb:93:in `assert_selector'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:686:in `block (2 levels) in <class:Session>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/rspec/matchers.rb:23:in `matches?'
# ./spec/features/shared/examples.rb:11:in `block (3 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
5) Add new comment from simple page via Inline Form with iframe text doesn't add an iframe
Failure/Error: example.run
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `CommentList`. See https://fb.me/react-warning-keys for more information.
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `CommentList`. See https://fb.me/react-warning-keys for more information.
at :45 in warning
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:23
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:38:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:99:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:180:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:53:in `block in after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:306:in `using_session'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:52:in `after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:82:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
6) Add new comment from simple page via the Stacked Form when the new comment is submitted comment is added
Failure/Error: fill_in hint_text, with: text
Capybara::Poltergeist::DeadClient:
PhantomJS client died while processing {"id":"b7e32b2d-c430-412a-97ed-ce4e43ad37aa","name":"set","args":[2,2,"text"]}
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:26
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:99:in `set'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:17:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:94:in `set'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/element.rb:107:in `block in set'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/element.rb:103:in `set'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/actions.rb:58:in `fill_in'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:686:in `block (2 levels) in <class:Session>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:34:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
Finished in 14.54 seconds (files took 0.48446 seconds to load)
28 examples, 6 failures
Failed examples:
rspec './spec/features/add_new_comment_spec.rb[1:1:2:1:1]' # Add new comment from main page via Inline Form when the new comment is submitted comment is added
rspec './spec/features/add_new_comment_spec.rb[1:1:3:1:1]' # Add new comment from main page via Stacked Form when the new comment is submitted comment is added
rspec './spec/features/add_new_comment_spec.rb[1:2:1:1:1]' # Add new comment from simple page via Horizontal Form when the new comment is submitted comment is added
rspec './spec/features/add_new_comment_spec.rb[1:2:2:1:1]' # Add new comment from simple page via Inline Form when the new comment is submitted comment is added
rspec './spec/features/add_new_comment_spec.rb[1:2:2:3:1]' # Add new comment from simple page via Inline Form with iframe text doesn't add an iframe
rspec './spec/features/add_new_comment_spec.rb[1:2:3:1:1]' # Add new comment from simple page via the Stacked Form when the new comment is submitted comment is added
[Coveralls] Outside the CI environment, not sending data.
➜ ~/shakacode/react-webpack-rails-tutorial (fix-comments-json-format) DRIVER=poltergeist_errors_ok rspec 1 ↵ [12:08:09]
Running via Spring preloader in process 39753
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Capybara using driver: poltergeist_errors_ok
Add new comment
from main page
via Horizontal Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is added
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
doesn't add an iframe
via Inline Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
comment is added (FAILED - 1)
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
doesn't add an iframe
via Stacked Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
comment is added (FAILED - 2)
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
will dispatch [object Object]
state after dispatch [object Object]
doesn't add an iframe
from simple page
via Horizontal Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is added
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
doesn't add an iframe
via Inline Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is added
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
doesn't add an iframe
via the Stacked Form
when the new comment is submitted
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is added
when the new comment is submmited with blank fields
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
comment is not added
with iframe text
TURBO: NOT USING TURBOLINKS: DOMContentLoaded event, calling reactOnRailsPageLoaded
TURBO: reactOnRailsPageLoaded
doesn't add an iframe
from classic page
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
Destroy a comment
from classic page
clicking destroy link destroys comment
Edit a comment
from classic page
when edit is submitted
comment is updated
when edit is submitted with blank fields
comment is not updated
Git Commit SHA
when .source_version file does not exist
behaves like Git Commit SHA
displays the current git commit
when .source_version file exists
behaves like Git Commit SHA
displays the current git commit
Server Rendering
generates server rendered HTML if server rendering enabled
generates no server rendered HTML if server rendering not enabled
Failures:
1) Add new comment from main page via Inline Form when the new comment is submitted comment is added
Failure/Error: background { visit root_path }
Capybara::Poltergeist::DeadClient:
PhantomJS client died while processing {"id":"121507a3-dfd9-470e-8a4e-0feb33333394","name":"visit","args":["http://127.0.0.1:58523/",30]}
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:11
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
2) Add new comment from main page via Stacked Form when the new comment is submitted comment is added
Failure/Error: background { visit root_path }
Capybara::Poltergeist::DeadClient:
PhantomJS client died while processing {"id":"93ab002e-acf3-4689-9e08-73a6dec2024c","name":"visit","args":["http://127.0.0.1:58523/",30]}
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:14
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
Finished in 16.12 seconds (files took 0.86955 seconds to load)
28 examples, 2 failures
Failed examples:
rspec './spec/features/add_new_comment_spec.rb[1:1:2:1:1]' # Add new comment from main page via Inline Form when the new comment is submitted comment is added
rspec './spec/features/add_new_comment_spec.rb[1:1:3:1:1]' # Add new comment from main page via Stacked Form when the new comment is submitted comment is added
[Coveralls] Outside the CI environment, not sending data.
➜ ~/shakacode/react-webpack-rails-tutorial (fix-comments-json-format) ✗ DRIVER=webkit rspec 1 ↵ ✹ [12:09:38]
Running via Spring preloader in process 39895
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Capybara using driver: webkit
Add new comment
from main page
via Horizontal Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added (FAILED - 1)
with iframe text
doesn't add an iframe
via Inline Form
when the new comment is submitted
comment is added (FAILED - 2)
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe (FAILED - 3)
via Stacked Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added (FAILED - 4)
with iframe text
doesn't add an iframe
from simple page
via Horizontal Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Inline Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via the Stacked Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added (FAILED - 5)
with iframe text
doesn't add an iframe
from classic page
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
Destroy a comment
from classic page
clicking destroy link destroys comment
Edit a comment
from classic page
when edit is submitted
comment is updated
when edit is submitted with blank fields
comment is not updated
Git Commit SHA
when .source_version file does not exist
behaves like Git Commit SHA
displays the current git commit
when .source_version file exists
behaves like Git Commit SHA
displays the current git commit
Server Rendering
generates server rendered HTML if server rendering enabled
generates no server rendered HTML if server rendering not enabled
Failures:
1) Add new comment from main page via Horizontal Form when the new comment is submmited with blank fields comment is not added
Failure/Error: if @comment.save
NoMethodError:
undefined method `rollback' for nil:NilClass
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:8
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/transaction.rb:179:in `rollback_transaction'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/transaction.rb:186:in `rescue in within_new_transaction'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/transaction.rb:201:in `within_new_transaction'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/transactions.rb:220:in `transaction'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/transactions.rb:286:in `block in save'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/transactions.rb:285:in `save'
# ./app/controllers/comments_controller.rb:30:in `block in create'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/mime_responds.rb:212:in `respond_to'
# ./app/controllers/comments_controller.rb:29:in `create'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/abstract_controller/base.rb:198:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `instrument'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/abstract_controller/base.rb:137:in `process'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionview-4.2.5.2/lib/action_view/rendering.rb:30:in `process'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal.rb:196:in `dispatch'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_controller/metal.rb:237:in `block in action'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:74:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:43:in `serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:30:in `each'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:30:in `serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:815:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/query_cache.rb:36:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:38:in `call_app'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:20:in `block in call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:20:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:116:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/railties-4.2.5.2/lib/rails/engine.rb:518:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/railties-4.2.5.2/lib/rails/application.rb:165:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/server.rb:19:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
# ------------------
# --- Caused by: ---
# ActiveRecord::Rollback:
# ActiveRecord::Rollback
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activerecord-4.2.5.2/lib/active_record/transactions.rb:357:in `block in with_transaction_returning_status'
2) Add new comment from main page via Inline Form when the new comment is submitted comment is added
Got 0 failures and 2 other errors:
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:11
2.1) Failure/Error: background { click_link "Inline Form" }
EOFError:
end of file reached
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:46:in `gets'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:299:in `check'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:211:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:31:in `find_xpath'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:53:in `find_xpath'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:107:in `find_xpath'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:110:in `block in resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:80:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:106:in `resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/finders.rb:34:in `block in find'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/finders.rb:32:in `find'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/actions.rb:26:in `click_link'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:686:in `block (2 levels) in <class:Session>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:19:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
2.2) Failure/Error: example.run
Capybara::Webkit::CrashError:
The webkit_server process crashed!
Connection reset by peer
This is a bug in capybara-webkit. For help with this crash, please visit:
https://github.com/thoughtbot/capybara-webkit/wiki/Reporting-Crashes
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:215:in `rescue in command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:205:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:79:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:44:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:180:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:53:in `block in after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:306:in `using_session'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:52:in `after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:82:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
# ------------------
# --- Caused by: ---
# Errno::ECONNRESET:
# Connection reset by peer
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
3) Add new comment from main page via Inline Form with iframe text doesn't add an iframe
Got 0 failures and 3 other errors:
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:11
3.1) Failure/Error: background { visit root_path }
EOFError:
end of file reached
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:46:in `gets'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:299:in `check'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:211:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:19:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:48:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/command_wrapper.rb:38:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:185:in `block in serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:156:in `fork'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:156:in `serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:131:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:125:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:125:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application/boot.rb:18:in `<top (required)>'
# -e:1:in `<main>'
3.2) Failure/Error: example.run
EOFError:
end of file reached
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:46:in `gets'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:299:in `check'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:211:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:79:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:44:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:180:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:53:in `block in after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:306:in `using_session'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:52:in `after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:82:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/command_wrapper.rb:38:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:185:in `block in serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:156:in `fork'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:156:in `serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:131:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:125:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:125:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application/boot.rb:18:in `<top (required)>'
# -e:1:in `<main>'
3.3) Failure/Error: example.run
Capybara::Webkit::CrashError:
The webkit_server process crashed!
Broken pipe
This is a bug in capybara-webkit. For help with this crash, please visit:
https://github.com/thoughtbot/capybara-webkit/wiki/Reporting-Crashes
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:215:in `rescue in command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:205:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:39:in `reset!'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:262:in `reset!'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:108:in `reset!'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:285:in `block in reset_sessions!'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:285:in `each'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:285:in `reset_sessions!'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/rspec.rb:20:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
# ------------------
# --- Caused by: ---
# Errno::EPIPE:
# Broken pipe
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:36:in `write'
4) Add new comment from main page via Stacked Form when the new comment is submmited with blank fields comment is not added
Got 0 failures and 2 other errors:
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:14
4.1) Failure/Error: background { visit root_path }
EOFError:
end of file reached
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:46:in `gets'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:299:in `check'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:211:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:19:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:48:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/contexts.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/command_wrapper.rb:38:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:185:in `block in serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:156:in `fork'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:156:in `serve'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:131:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:125:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application.rb:125:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-1.6.4/lib/spring/application/boot.rb:18:in `<top (required)>'
# -e:1:in `<main>'
4.2) Failure/Error: example.run
Capybara::Webkit::CrashError:
The webkit_server process crashed!
Broken pipe
This is a bug in capybara-webkit. For help with this crash, please visit:
https://github.com/thoughtbot/capybara-webkit/wiki/Reporting-Crashes
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:215:in `rescue in command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:205:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:79:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:44:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:180:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:53:in `block in after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:306:in `using_session'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:52:in `after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:82:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
# ------------------
# --- Caused by: ---
# Errno::EPIPE:
# Broken pipe
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:36:in `write'
5) Add new comment from simple page via the Stacked Form when the new comment is submmited with blank fields comment is not added
Got 0 failures and 2 other errors:
Shared Example Group: "New Comment Submission" called from ./spec/features/add_new_comment_spec.rb:26
5.1) Failure/Error: let!(:comments_count) { all(".comment").size }
EOFError:
end of file reached
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:46:in `gets'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:299:in `check'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:211:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:35:in `find_css'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:61:in `find_css'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:102:in `find_css'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:108:in `block in resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:80:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/query.rb:106:in `resolve_for'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/finders.rb:182:in `block in all'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/node/finders.rb:181:in `all'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:686:in `block (2 levels) in <class:Session>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/shared/examples.rb:17:in `block (3 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
5.2) Failure/Error: example.run
Capybara::Webkit::CrashError:
The webkit_server process crashed!
Connection reset by peer
This is a bug in capybara-webkit. For help with this crash, please visit:
https://github.com/thoughtbot/capybara-webkit/wiki/Reporting-Crashes
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:215:in `rescue in command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:205:in `command'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/browser.rb:79:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/driver.rb:44:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara/session.rb:180:in `current_url'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:53:in `block in after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-2.6.2/lib/capybara.rb:306:in `using_session'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:52:in `after_failed_example'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-screenshot-1.0.11/lib/capybara-screenshot/rspec.rb:82:in `block (2 levels) in <top (required)>'
# ./spec/rails_helper.rb:53:in `block (3 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/base.rb:92:in `cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `call'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/database_cleaner-1.5.1/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/rails_helper.rb:52:in `block (2 levels) in <top (required)>'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `block in load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in `load_dependency'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:268:in `load'
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
# ------------------
# --- Caused by: ---
# Errno::ECONNRESET:
# Connection reset by peer
# /Users/justin/.rvm/gems/ruby-2.2.4@react-webpack-rails-tutorial/gems/capybara-webkit-1.8.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
Finished in 15.01 seconds (files took 0.46105 seconds to load)
28 examples, 5 failures
Failed examples:
rspec './spec/features/add_new_comment_spec.rb[1:1:1:2:1]' # Add new comment from main page via Horizontal Form when the new comment is submmited with blank fields comment is not added
rspec './spec/features/add_new_comment_spec.rb[1:1:2:1:1]' # Add new comment from main page via Inline Form when the new comment is submitted comment is added
rspec './spec/features/add_new_comment_spec.rb[1:1:2:3:1]' # Add new comment from main page via Inline Form with iframe text doesn't add an iframe
rspec './spec/features/add_new_comment_spec.rb[1:1:3:2:1]' # Add new comment from main page via Stacked Form when the new comment is submmited with blank fields comment is not added
rspec './spec/features/add_new_comment_spec.rb[1:2:3:2:1]' # Add new comment from simple page via the Stacked Form when the new comment is submmited with blank fields comment is not added
[Coveralls] Outside the CI environment, not sending data.
➜ ~/shakacode/react-webpack-rails-tutorial (fix-comments-json-format) ✗ DRIVER=selenium rspec 1 ↵ ✹ [12:10:59]
Running via Spring preloader in process 40179
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Capybara using driver: selenium
Add new comment
from main page
via Horizontal Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Inline Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Stacked Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
from simple page
via Horizontal Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via Inline Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
via the Stacked Form
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
from classic page
when the new comment is submitted
comment is added
when the new comment is submmited with blank fields
comment is not added
with iframe text
doesn't add an iframe
Destroy a comment
from classic page
clicking destroy link destroys comment
Edit a comment
from classic page
when edit is submitted
comment is updated
when edit is submitted with blank fields
comment is not updated
Git Commit SHA
when .source_version file does not exist
behaves like Git Commit SHA
displays the current git commit
when .source_version file exists
behaves like Git Commit SHA
displays the current git commit
Server Rendering
generates server rendered HTML if server rendering enabled
generates no server rendered HTML if server rendering not enabled
Finished in 1 minute 1.72 seconds (files took 0.63844 seconds to load)
28 examples, 0 failures
[Coveralls] Outside the CI environment, not sending data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment