Skip to content

Instantly share code, notes, and snippets.

@sadhu89
Created April 5, 2016 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sadhu89/0383ecab216026f0b64dd2067d767a30 to your computer and use it in GitHub Desktop.
Save sadhu89/0383ecab216026f0b64dd2067d767a30 to your computer and use it in GitHub Desktop.
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Store Locator Mobile initial page load
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_mobile_spec.rb:35
2) Store Locator Mobile searching using the current location with no surrounding stores
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_mobile_spec.rb:39
3) Store Locator Mobile searching using the address
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_mobile_spec.rb:69
4) Store Locator Mobile searching using the current location with surrounding stores
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_mobile_spec.rb:45
5) Store Locator Mobile multiple page results
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_mobile_spec.rb:107
6) Store Locator Mobile behaves like a valid HTML page in other languages does not have unescaped HTML in de
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:56
7) Store Locator Mobile behaves like a valid HTML page in other languages does not have unescaped HTML in ja
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:56
8) Store Locator Mobile behaves like a valid HTML page in other languages does not have unescaped HTML in en
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:56
9) Store Locator Mobile behaves like a valid HTML page /retailers renders OK and has the right content
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:23
10) Store Locator Mobile behaves like a valid HTML page /retailers transaction data
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:47
11) Searching the website Searching for a product
# This works locally in selenium/firefox but not poltergeist. Passes on CI using poltergeist.
# ./spec/features/static_content/search_results_spec.rb:11
12) Store Locator Desktop searching and doing double search type switch
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_desktop_spec.rb:91
13) Store Locator Desktop searching for an address with online filter
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_desktop_spec.rb:71
14) Store Locator Desktop selecting retailer from the result list
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_desktop_spec.rb:116
15) Store Locator Desktop searching for an address
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_desktop_spec.rb:55
16) Store Locator Desktop selecting online search
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_desktop_spec.rb:41
17) Store Locator Desktop initial page load
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/store_locator_desktop_spec.rb:25
18) Store Locator Desktop behaves like a valid HTML page /retailers renders OK and has the right content
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:23
19) Store Locator Desktop behaves like a valid HTML page /retailers transaction data
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:47
20) Store Locator Desktop behaves like a valid HTML page in other languages does not have unescaped HTML in en
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:56
21) Store Locator Desktop behaves like a valid HTML page in other languages does not have unescaped HTML in ja
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:56
22) Store Locator Desktop behaves like a valid HTML page in other languages does not have unescaped HTML in de
# pending finding a fix for poltergeist not loading google maps API
# ./spec/support/shared_examples/page_check_shared_examples.rb:56
23) Stockist spotlight featured retailers are present using pagination links
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/stockist_spotlight_spec.rb:58
24) Stockist spotlight featured retailers are present clicking next button moves to second retailer
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/stockist_spotlight_spec.rb:42
25) Stockist spotlight featured retailers are present initial load shows the first retailer
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/stockist_spotlight_spec.rb:37
26) Stockist spotlight featured retailers are present clicking previous button does nothing
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/stockist_spotlight_spec.rb:49
27) Stockist spotlight no featured retailers nothing happens
# pending finding a fix for poltergeist not loading google maps API
# ./spec/features/retailers/stockist_spotlight_spec.rb:21
28) cart on checkout page removing items from cart products without size
# poltergeist allowing parameters to be passed with DELETE requests
Got 0 failures and 2 other errors:
28.1) Failure/Error: visit checkout_path
Capybara::Poltergeist::StatusFailError:
Request to 'http://127.0.0.1:40658/checkout' failed to reach server, check DNS and/or server status
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:232:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/cart_spec.rb:192:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/cart_spec.rb:19:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/cart_spec.rb:18:in `block (2 levels) in <top (required)>'
28.2) Failure/Error: @payment_token = Braintree::ClientToken.generate
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST https://tnvktfspsnb6b42t:9e958d1f328cbfb53ba072bf4df72b7a@api.sandbox.braintreegateway.com/merchants/96c3c44fkfm65hfj/client_token
VCR is currently using the following cassette:
- /home/sadhu/Projects/bellroy/spec/support/vcr_cassettes/braintree_get_client_token.yml
- :record => :once
- :match_requests_on => [:method, :uri]
Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:
* If you're surprised VCR is raising this error
and want insight about how VCR attempted to handle the request,
you can use the debug_logger configuration option to log more details [1].
* You can use the :new_episodes record mode to allow VCR to
record this new request to the existing cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
* The current record mode (:once) does not allow new requests to be recorded
to a previously recorded cassette. You can delete the cassette file and re-run
your tests to allow the cassette to be recorded with this request [4].
* The cassette contains an HTTP interaction that matches this request,
but it has already been played back. If you wish to allow a single HTTP
interaction to be played back multiple times, set the `:allow_playback_repeats`
cassette option [5].
* The cassette contains 1 HTTP interaction that has not been
played back. If your request is non-deterministic, you may need to
change your :match_requests_on cassette option to be more lenient
or use a custom request matcher to allow it to match [6].
[1] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/configuration/debug-logging
[2] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/record-modes/new-episodes
[3] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/configuration/ignore-request
[4] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/record-modes/once
[5] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/request-matching/playback-repeats
[6] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/request-matching
================================================================================
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/request_handler.rb:97:in `on_unhandled_request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/library_hooks/webmock.rb:112:in `on_unhandled_request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/request_handler.rb:24:in `handle'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/library_hooks/webmock.rb:127:in `block in <module:WebMock>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:28:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:28:in `block in register_global_stub'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/request_pattern.rb:36:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/request_pattern.rb:36:in `matches?'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:58:in `block in request_stub_for'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:57:in `each'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:57:in `detect'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:57:in `request_stub_for'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:50:in `response_for_request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:79:in `request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/http.rb:90:in `block in _http_do'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:150:in `start'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/http.rb:71:in `_http_do'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/http.rb:28:in `post'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/client_token_gateway.rb:15:in `generate'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/client_token.rb:12:in `generate'
# ./app/controllers/checkout_controller.rb:147:in `load_payment_token'
# ./app/controllers/checkout_controller.rb:23:in `show'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/base.rb:198:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `instrument'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activerecord-4.2.5.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/base.rb:137:in `process'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionview-4.2.5.2/lib/action_view/rendering.rb:30:in `process'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal.rb:196:in `dispatch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal.rb:237:in `block in action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:74:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:43:in `serve'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:815:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/dragonfly-1.0.10/lib/dragonfly/middleware.rb:14:in `call'
# ./lib/missing_image_handler.rb:10:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/warden-1.2.4/lib/warden/manager.rb:35:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/warden-1.2.4/lib/warden/manager.rb:34:in `catch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/warden-1.2.4/lib/warden/manager.rb:34:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activerecord-4.2.5.2/lib/active_record/query_cache.rb:36:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:38:in `call_app'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:20:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:26:in `tagged'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `tagged'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:20:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/dragonfly-1.0.10/lib/dragonfly/cookie_monster.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:116:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/sentry-raven-0.15.3/lib/raven/integrations/rack.rb:53:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/engine.rb:518:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/application.rb:165:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/server.rb:19:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
29) cart on checkout page removing items from cart products with size
# poltergeist allowing parameters to be passed with DELETE requests
Got 0 failures and 2 other errors:
29.1) Failure/Error: visit checkout_path
Capybara::Poltergeist::StatusFailError:
Request to 'http://127.0.0.1:40658/checkout' failed to reach server, check DNS and/or server status
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:232:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/cart_spec.rb:207:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/cart_spec.rb:19:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/cart_spec.rb:18:in `block (2 levels) in <top (required)>'
29.2) Failure/Error: @payment_token = Braintree::ClientToken.generate
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST https://tnvktfspsnb6b42t:9e958d1f328cbfb53ba072bf4df72b7a@api.sandbox.braintreegateway.com/merchants/96c3c44fkfm65hfj/client_token
VCR is currently using the following cassette:
- /home/sadhu/Projects/bellroy/spec/support/vcr_cassettes/braintree_get_client_token.yml
- :record => :once
- :match_requests_on => [:method, :uri]
Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:
* If you're surprised VCR is raising this error
and want insight about how VCR attempted to handle the request,
you can use the debug_logger configuration option to log more details [1].
* You can use the :new_episodes record mode to allow VCR to
record this new request to the existing cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
* The current record mode (:once) does not allow new requests to be recorded
to a previously recorded cassette. You can delete the cassette file and re-run
your tests to allow the cassette to be recorded with this request [4].
* The cassette contains an HTTP interaction that matches this request,
but it has already been played back. If you wish to allow a single HTTP
interaction to be played back multiple times, set the `:allow_playback_repeats`
cassette option [5].
* The cassette contains 1 HTTP interaction that has not been
played back. If your request is non-deterministic, you may need to
change your :match_requests_on cassette option to be more lenient
or use a custom request matcher to allow it to match [6].
[1] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/configuration/debug-logging
[2] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/record-modes/new-episodes
[3] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/configuration/ignore-request
[4] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/record-modes/once
[5] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/request-matching/playback-repeats
[6] https://www.relishapp.com/vcr/vcr/v/3-0-1/docs/request-matching
================================================================================
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/request_handler.rb:97:in `on_unhandled_request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/library_hooks/webmock.rb:112:in `on_unhandled_request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/request_handler.rb:24:in `handle'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/library_hooks/webmock.rb:127:in `block in <module:WebMock>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:28:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:28:in `block in register_global_stub'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/request_pattern.rb:36:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/request_pattern.rb:36:in `matches?'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:58:in `block in request_stub_for'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:57:in `each'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:57:in `detect'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:57:in `request_stub_for'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/stub_registry.rb:50:in `response_for_request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:79:in `request'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/http.rb:90:in `block in _http_do'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:150:in `start'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/http.rb:71:in `_http_do'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/http.rb:28:in `post'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/client_token_gateway.rb:15:in `generate'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/braintree-2.48.1/lib/braintree/client_token.rb:12:in `generate'
# ./app/controllers/checkout_controller.rb:147:in `load_payment_token'
# ./app/controllers/checkout_controller.rb:23:in `show'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/base.rb:198:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `instrument'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activerecord-4.2.5.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/abstract_controller/base.rb:137:in `process'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionview-4.2.5.2/lib/action_view/rendering.rb:30:in `process'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal.rb:196:in `dispatch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_controller/metal.rb:237:in `block in action'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:74:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:43:in `serve'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/routing/route_set.rb:815:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/dragonfly-1.0.10/lib/dragonfly/middleware.rb:14:in `call'
# ./lib/missing_image_handler.rb:10:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/warden-1.2.4/lib/warden/manager.rb:35:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/warden-1.2.4/lib/warden/manager.rb:34:in `catch'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/warden-1.2.4/lib/warden/manager.rb:34:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activerecord-4.2.5.2/lib/active_record/query_cache.rb:36:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:38:in `call_app'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:20:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:26:in `tagged'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/tagged_logging.rb:68:in `tagged'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/rack/logger.rb:20:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5.2/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/dragonfly-1.0.10/lib/dragonfly/cookie_monster.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:116:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/sentry-raven-0.15.3/lib/raven/integrations/rack.rb:53:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/engine.rb:518:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/application.rb:165:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/server.rb:19:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
Failures:
1) Updating Maintenance Window succefully updating maintenance window
Failure/Error: expect(page).to have_text "2020-04-20 01:00:00 +1000"
expected to find text "2020-04-20 01:00:00 +1000" in "Bellroy Admin Kenny Renner Sections Orders Stock Levels Products Payment Settings Retailers Job Postings Users Payment Settings Setting Value Active Actions Credit Card Maintenance Window 2020-04-20 01:00:00 -0500 to 2020-04-20 02:00:00 -0500 true Update"
# ./spec/features/admin/payment_settings/updating_maintenance_window_spec.rb:17:in `block (2 levels) in <top (required)>'
2) Checkout Page checkout form checkout success - paypal redirects to the successful checkout page
Failure/Error: find(:css, '[value="PLACE ORDER"]').click
Capybara::Poltergeist::TimeoutError:
Timed out waiting for response to {"id":"ed50ce15-5c0a-4b7b-880e-b4496c0f7505","name":"click","args":[2,8]}. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the Poltergeist :timeout option to a higher value will help (see the docs for details). If increasing the timeout does not help, this is probably a bug in Poltergeist - please report it to the issue tracker.
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/web_socket_server.rb:99:in `rescue in send'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/web_socket_server.rb:95:in `send'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:180:in `click'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:17:in `command'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:131:in `click'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `block in click'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `click'
# ./spec/support/helpers/test_helpers/checkout_helper.rb:34:in `click_place_order_button'
# ./spec/features/checkout/show_spec.rb:378:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/show_spec.rb:369:in `block (5 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/show_spec.rb:368:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/show_spec.rb:14:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/show_spec.rb:13:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Errno::EAGAIN:
# Resource temporarily unavailable
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/web_socket_server.rb:79:in `receive'
3) customer details on checkout before completing checkout Prefilling uncheck 'ship to the same address' shows shipping method form
Failure/Error: visit checkout_path
Capybara::Poltergeist::StatusFailError:
Request to 'http://127.0.0.1:40658/checkout' failed to reach server, check DNS and/or server status - Timed out with the following resources still waiting https://api.sandbox.braintreegateway.com/merchants/96c3c44fkfm65hfj/client_api/v1/configuration?authorizationFingerprint=e9c5c590f536484cd2bebfbc97e5ba20db9f3fc685d23b0bfc7e0247da12531e%7Ccreated_at%3D2015-09-02T10%3A43%3A15.067330355%2B0000%26merchant_id%3D96c3c44fkfm65hfj%26public_key%3Dtnvktfspsnb6b42t&_method=POST&callback=callback_json2ff348ac669144e49244e424ff889a5c
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:232:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/customer_details_spec.rb:60:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/customer_details_spec.rb:15:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/customer_details_spec.rb:14:in `block (2 levels) in <top (required)>'
4) customer details on checkout before completing checkout Prefilling When Country is Taiwan country has one region region is inactive shows the text field
Failure/Error: expect(page).not_to have_css('#billing_state')
expected not to find css "#billing_state", found 1 match: "State/TerritorySmellsville"
# ./spec/features/checkout/customer_details_spec.rb:150:in `block (8 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:290:in `within'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/customer_details_spec.rb:149:in `block (7 levels) in <top (required)>'
# ./spec/features/checkout/customer_details_spec.rb:15:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/customer_details_spec.rb:14:in `block (2 levels) in <top (required)>'
5) customer details on checkout before completing checkout Prefilling State/Region placing order from country without defined regions it shows error message on the state field
Failure/Error: fill_in 'State', with: ''
Capybara::ElementNotFound:
Unable to find field "State"
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/finders.rb:43:in `block in find'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/finders.rb:32:in `find'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/node/actions.rb:58:in `fill_in'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/customer_details_spec.rb:329:in `block (7 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:290:in `within'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/customer_details_spec.rb:328:in `block (6 levels) in <top (required)>'
# ./spec/features/checkout/customer_details_spec.rb:15:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/customer_details_spec.rb:14:in `block (2 levels) in <top (required)>'
6) Mailchimp subscription valid email should display a success message
Failure/Error: is_expected.to have_css('p.success', text: 'Newsletter subscription success')
expected to find css "p.success" with text "Newsletter subscription success" but there were no matches. Also found "", which matched the selector but not all filters.
# ./spec/features/newsletter/mailchimp_spec.rb:32:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:290:in `within'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/newsletter/mailchimp_spec.rb:31:in `block (3 levels) in <top (required)>'
7) Mailchimp subscription already subscribed email should display a success message
Failure/Error: is_expected.to have_css('p.success', text: 'Newsletter subscription success')
expected to find css "p.success" with text "Newsletter subscription success" but there were no matches. Also found "", which matched the selector but not all filters.
# ./spec/features/newsletter/mailchimp_spec.rb:41:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:290:in `within'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/newsletter/mailchimp_spec.rb:40:in `block (3 levels) in <top (required)>'
8) Mailchimp subscription invalid email should display an error
Failure/Error: is_expected.to have_css('.error')
expected to find css ".error" but there were no matches. Also found "", which matched the selector but not all filters.
# ./spec/features/newsletter/mailchimp_spec.rb:23:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:290:in `within'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/newsletter/mailchimp_spec.rb:22:in `block (3 levels) in <top (required)>'
9) Shipping method christmas notices christmas has passed should be nil
Failure/Error: specify { expect(shipping_message).to be_nil }
expected: nil
got: #<Capybara::Node::Element tag="div" path="//HTML[1]/BODY[1]/DIV[3]/DIV[3]/DIV[1]/DIV[1]/DIV[2]/FORM[1]/DIV[2]/DIV[1]/DIV[2]/DIV[1]">
# ./spec/features/checkout/shipping_method_spec.rb:77:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
10) Shipping method christmas notices When only regular shipping is available regular shipping - minimum date passed should text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
Failure/Error: expect(shipping_message).to have_content(msg)
expected to find text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas." in "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
# ./spec/features/checkout/shipping_method_spec.rb:141:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
11) Shipping method christmas notices When only regular shipping is available regular shipping - maximum date passed should text "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
Failure/Error: expect(shipping_message).to have_content(msg)
expected to find text "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas." in ""
# ./spec/features/checkout/shipping_method_spec.rb:132:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
12) Shipping method christmas notices When regular and express shipping is available regular shipping - maximum date passed should text "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
Failure/Error: expect(shipping_message).to have_content(msg)
expected to find text "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas." in ""
# ./spec/features/checkout/shipping_method_spec.rb:86:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
13) Shipping method christmas notices When regular and express shipping is available regaular shipping - minimum date passed, and express minimum has also passed should text "This won’t get to you by 24 Dec."
Failure/Error: expect(shipping_message).to have_content("This won’t get to you by 24 Dec.")
expected to find text "This won’t get to you by 24 Dec." in "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
# ./spec/features/checkout/shipping_method_spec.rb:102:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
14) Shipping method christmas notices When regular and express shipping is available regular shipping - minimum date passed should text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
Failure/Error: expect(shipping_message).to have_content(msg)
expected to find text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas." in "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
# ./spec/features/checkout/shipping_method_spec.rb:95:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
15) Shipping method christmas notices When regular and express shipping is available express shipping - minimum date passed should text "This won’t get to you by 24 Dec."
Failure/Error: expect(shipping_message).to have_content("This won’t get to you by 24 Dec.")
expected to find text "This won’t get to you by 24 Dec." in "We're unable to guarantee this will get to you by 24 Dec."
# ./spec/features/checkout/shipping_method_spec.rb:121:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
16) Shipping method christmas notices When regular and express shipping is available express shipping - maximum date passed should text "We're unable to guarantee this will get to you by 24 Dec."
Failure/Error: expect(shipping_message).to have_content(msg)
expected to find text "We're unable to guarantee this will get to you by 24 Dec." in ""
# ./spec/features/checkout/shipping_method_spec.rb:112:in `block (5 levels) in <top (required)>'
# ./spec/features/checkout/shipping_method_spec.rb:61:in `block (4 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:147:in `travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:121:in `send_travel'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/timecop-0.8.0/lib/timecop/timecop.rb:62:in `travel'
# ./spec/features/checkout/shipping_method_spec.rb:60:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/shipping_method_spec.rb:59:in `block (2 levels) in <top (required)>'
17) cart on checkout page Product information products with size
Failure/Error: visit checkout_path
Capybara::Poltergeist::StatusFailError:
Request to 'http://127.0.0.1:40658/checkout' failed to reach server, check DNS and/or server status
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/session.rb:232:in `visit'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/checkout/cart_spec.rb:55:in `block (4 levels) in <top (required)>'
# ./spec/features/checkout/cart_spec.rb:19:in `block (3 levels) in <top (required)>'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
# /home/sadhu/.rvm/gems/ruby-2.2.2/gems/vcr-3.0.1/lib/vcr.rb:189:in `use_cassette'
# ./spec/features/checkout/cart_spec.rb:18:in `block (2 levels) in <top (required)>'
Top 10 slowest examples (440.47 seconds, 12.5% of total time):
Checkout Page checkout form checkout success - credit card all variants are visible in the minicart and can be purchased
63.4 seconds ./spec/features/checkout/show_spec.rb:212
customer details on checkout before completing checkout Prefilling When Country is Taiwan country has one region region is inactive shows the text field
51.59 seconds ./spec/features/checkout/customer_details_spec.rb:148
Shipping method christmas notices When only regular shipping is available regular shipping - minimum date passed should text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
45.09 seconds ./spec/features/checkout/shipping_method_spec.rb:138
customer details on checkout before completing checkout Prefilling State/Region placing order from country without defined regions it shows error message on the state field
44.47 seconds ./spec/features/checkout/customer_details_spec.rb:327
Shipping method christmas notices When regular and express shipping is available regaular shipping - minimum date passed, and express minimum has also passed should text "This won’t get to you by 24 Dec."
43.7 seconds ./spec/features/checkout/shipping_method_spec.rb:101
Mailchimp subscription valid email should display a success message
40.97 seconds ./spec/features/newsletter/mailchimp_spec.rb:30
Shipping method christmas notices When regular and express shipping is available express shipping - minimum date passed should text "This won’t get to you by 24 Dec."
40.79 seconds ./spec/features/checkout/shipping_method_spec.rb:118
Shipping method christmas notices When regular and express shipping is available regular shipping - minimum date passed should text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
40.36 seconds ./spec/features/checkout/shipping_method_spec.rb:92
Updating Maintenance Window succefully updating maintenance window
35.16 seconds ./spec/features/admin/payment_settings/updating_maintenance_window_spec.rb:11
cart on checkout page removing items from cart products with size
34.93 seconds ./spec/features/checkout/cart_spec.rb:200
Top 10 slowest example groups:
Mailchimp subscription
35.98 seconds average (107.93 seconds / 3 examples) ./spec/features/newsletter/mailchimp_spec.rb:4
Shipping method
20.43 seconds average (265.65 seconds / 13 examples) ./spec/features/checkout/shipping_method_spec.rb:3
Checkout Page
19.94 seconds average (478.48 seconds / 24 examples) ./spec/features/checkout/show_spec.rb:3
Updating Maintenance Window
19.59 seconds average (39.17 seconds / 2 examples) ./spec/features/admin/payment_settings/updating_maintenance_window_spec.rb:3
customer details on checkout
19.22 seconds average (442.03 seconds / 23 examples) ./spec/features/checkout/customer_details_spec.rb:4
cart on checkout page
16.54 seconds average (479.74 seconds / 29 examples) ./spec/features/checkout/cart_spec.rb:4
Checkout Success Page
14.42 seconds average (28.84 seconds / 2 examples) ./spec/features/checkout/success_spec.rb:3
Add to Cart
9.12 seconds average (45.59 seconds / 5 examples) ./spec/features/products/add_to_cart_spec.rb:3
Reordering featured retailer
8.51 seconds average (17.01 seconds / 2 examples) ./spec/features/admin/retailers/reorder_featured_retailer_position_spec.rb:3
listing retailers
7.16 seconds average (42.97 seconds / 6 examples) ./spec/features/admin/retailers/list_spec.rb:3
Finished in 58 minutes 51 seconds (files took 38.77 seconds to load)
2471 examples, 17 failures, 29 pending
Failed examples:
rspec ./spec/features/admin/payment_settings/updating_maintenance_window_spec.rb:11 # Updating Maintenance Window succefully updating maintenance window
rspec ./spec/features/checkout/show_spec.rb:373 # Checkout Page checkout form checkout success - paypal redirects to the successful checkout page
rspec ./spec/features/checkout/customer_details_spec.rb:163 # customer details on checkout before completing checkout Prefilling uncheck 'ship to the same address' shows shipping method form
rspec ./spec/features/checkout/customer_details_spec.rb:148 # customer details on checkout before completing checkout Prefilling When Country is Taiwan country has one region region is inactive shows the text field
rspec ./spec/features/checkout/customer_details_spec.rb:327 # customer details on checkout before completing checkout Prefilling State/Region placing order from country without defined regions it shows error message on the state field
rspec ./spec/features/newsletter/mailchimp_spec.rb:30 # Mailchimp subscription valid email should display a success message
rspec ./spec/features/newsletter/mailchimp_spec.rb:39 # Mailchimp subscription already subscribed email should display a success message
rspec ./spec/features/newsletter/mailchimp_spec.rb:21 # Mailchimp subscription invalid email should display an error
rspec ./spec/features/checkout/shipping_method_spec.rb:77 # Shipping method christmas notices christmas has passed should be nil
rspec ./spec/features/checkout/shipping_method_spec.rb:138 # Shipping method christmas notices When only regular shipping is available regular shipping - minimum date passed should text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
rspec ./spec/features/checkout/shipping_method_spec.rb:129 # Shipping method christmas notices When only regular shipping is available regular shipping - maximum date passed should text "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
rspec ./spec/features/checkout/shipping_method_spec.rb:83 # Shipping method christmas notices When regular and express shipping is available regular shipping - maximum date passed should text "We're unable to guarantee this will get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
rspec ./spec/features/checkout/shipping_method_spec.rb:101 # Shipping method christmas notices When regular and express shipping is available regaular shipping - minimum date passed, and express minimum has also passed should text "This won’t get to you by 24 Dec."
rspec ./spec/features/checkout/shipping_method_spec.rb:92 # Shipping method christmas notices When regular and express shipping is available regular shipping - minimum date passed should text "This won’t get to you by 24 Dec, please upgrade to Express Shipping if you’d like it to arrive for Christmas."
rspec ./spec/features/checkout/shipping_method_spec.rb:118 # Shipping method christmas notices When regular and express shipping is available express shipping - minimum date passed should text "This won’t get to you by 24 Dec."
rspec ./spec/features/checkout/shipping_method_spec.rb:108 # Shipping method christmas notices When regular and express shipping is available express shipping - maximum date passed should text "We're unable to guarantee this will get to you by 24 Dec."
rspec ./spec/features/checkout/cart_spec.rb:54 # cart on checkout page Product information products with size
Randomized with seed 55932
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment