Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Last active January 15, 2020 22:12
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 IanVaughan/09b31613833d965ee4f3b7d1e48fd1e2 to your computer and use it in GitHub Desktop.
Save IanVaughan/09b31613833d965ee4f3b7d1e48fd1e2 to your computer and use it in GitHub Desktop.
# on heroku ci dyno via: heroku ci:debug --pipeline release-pipeline
~ $ bundle exec rspec spec/features/
CI:true
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/schema/mutation.rb:71: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/schema/member/has_fields.rb:11: warning: The called method `field' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:259: warning: The called method `initialize_node' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:259: warning: The called method `initialize_node' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:259: warning: The called method `initialize_node' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:259: warning: The called method `initialize_node' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:394: warning: The called method `initialize_node' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/graphql-1.9.17/lib/graphql/language/nodes.rb:259: warning: The called method `initialize_node' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/type.rb:27: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/type/adapter_specific_registry.rb:9: warning: The called method `add_modifier' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/static.rb:110: warning: The called method `initialize' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/activemodel-6.0.2.1/lib/active_model/type/integer.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activemodel-6.0.2.1/lib/active_model/type/value.rb:8: warning: The called method `initialize' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb:12: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activemodel-6.0.2.1/lib/active_model/type/value.rb:8: warning: The called method `initialize' is defined here
Randomized with seed 49085
User signup flow
*** Capybara start ***
Capybara starting Puma...
* Version 3.12.2 , codename: Llamas in Pajamas
* Min threads: 0, max threads: 4
* Listening on tcp://127.0.0.1:40042
/app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:271: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/protocol.rb:114: warning: The called method `initialize' is defined here
2020-01-15 21:55:45 DEBUG Webdrivers Checking current version
2020-01-15 21:55:45 DEBUG Webdrivers /app/.webdrivers/chromedriver is not already downloaded
2020-01-15 21:55:45 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 21:55:45 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 21:55:45 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 21:55:45 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 21:55:45 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE_79.0.3945
2020-01-15 21:55:45 DEBUG Webdrivers Get response: #<Net::HTTPOK 200 OK readbody=true>
2020-01-15 21:55:45 DEBUG Webdrivers Latest version available: 79.0.3945.36
2020-01-15 21:55:45 DEBUG Webdrivers Deleting /app/.webdrivers/chromedriver.version
2020-01-15 21:55:45 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 21:55:45 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 21:55:45 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 21:55:45 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 21:55:45 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 21:55:45 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE_79.0.3945
2020-01-15 21:55:45 DEBUG Webdrivers Get response: #<Net::HTTPOK 200 OK readbody=true>
2020-01-15 21:55:45 DEBUG Webdrivers Latest version available: 79.0.3945.36
2020-01-15 21:55:45 DEBUG Webdrivers chromedriver URL: https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_linux64.zip
2020-01-15 21:55:45 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_linux64.zip
2020-01-15 21:55:45 DEBUG Webdrivers Get response: #<Net::HTTPOK 200 OK readbody=true>
2020-01-15 21:55:45 DEBUG Webdrivers Successfully downloaded /tmp/20200115-2199-co5vlrchromedriver_linux64.zip
2020-01-15 21:55:45 DEBUG Webdrivers Decompressing /tmp/20200115-2199-co5vlrchromedriver_linux64.zip
2020-01-15 21:55:45 DEBUG Webdrivers Completed download and processing of /app/.webdrivers/chromedriver
2020-01-15 21:55:45 DEBUG Selenium Executing Process ["/app/.webdrivers/chromedriver", "--port=9515"]
2020-01-15 21:55:45 DEBUG Selenium polling for socket on ["127.0.0.1", 9515]
Starting ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}) on port 9515
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
2020-01-15 21:55:46 INFO Selenium -> POST session
2020-01-15 21:55:46 INFO Selenium >>> http://127.0.0.1:9515/session | {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY","javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"},"goog:chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"}},"capabilities":{"firstMatch":[{"browserName":"chrome","goog:chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"}}]}}
2020-01-15 21:55:46 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"464"}
2020-01-15 21:55:46 INFO Selenium <- {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"79.0.3945.117","chrome":{"chromedriverVersion":"79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614})","userDataDir":"/tmp/.com.google.Chrome.iyjxLe"},"goog:chromeOptions":{"debuggerAddress":"localhost:46583"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"linux","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"},"sessionId":"255f0cb35059ae4de2ed6fd10ae34c01"}}
2020-01-15 21:55:46 INFO Selenium Detected W3C dialect.
2020-01-15 21:55:46 INFO Selenium -> POST session/255f0cb35059ae4de2ed6fd10ae34c01/url
2020-01-15 21:55:46 INFO Selenium >>> http://127.0.0.1:9515/session/255f0cb35059ae4de2ed6fd10ae34c01/url | {"url":"http://127.0.0.1:40042/"}
2020-01-15 21:55:46 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"33"}
2020-01-15 21:55:47 INFO Selenium <- {"value":null}
2020-01-15 21:55:47 INFO Selenium -> GET session/255f0cb35059ae4de2ed6fd10ae34c01/window/handles
2020-01-15 21:55:47 INFO Selenium <- {"value":["CDwindow-57E3D3FAA31E7DF03E2010E470319776"]}
/app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/session.rb:751: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/node/actions.rb:41: warning: The called method `click_link' is defined here
2020-01-15 21:55:47 INFO Selenium -> POST session/255f0cb35059ae4de2ed6fd10ae34c01/elements
2020-01-15 21:55:47 INFO Selenium >>> http://127.0.0.1:9515/session/255f0cb35059ae4de2ed6fd10ae34c01/elements | {"using":"xpath","value":".//a[./@href][((((./@id = 'Sign Up') or contains(normalize-space(string(.)), 'Sign Up')) or contains(./@title, 'Sign Up')) or .//img[contains(./@alt, 'Sign Up')])]"}
2020-01-15 21:55:47 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"191"}
2020-01-15 21:55:47 INFO Selenium <- {"value":[{"element-6066-11e4-a52e-4f735466cecf":"2dffe22b-1d68-4edb-aed2-ee9c12829768"},{"element-6066-11e4-a52e-4f735466cecf":"44a74e68-eba0-4a40-8e9f-1c2c8b5b3b37"}]}
2020-01-15 21:55:47 INFO Selenium Using script for :isDisplayed
2020-01-15 21:55:47 INFO Selenium -> POST session/255f0cb35059ae4de2ed6fd10ae34c01/execute/sync
2020-01-15 21:55:47 INFO Selenium >>> http://127.0.0.1:9515/session/255f0cb35059ae4de2ed6fd10ae34c01/execute/sync | {"script":"return ((function(){function d(t,e,n){function r(t){var e=x(t);if(0<e.height&&0<e.width)return!0;if(\"PATH\"==t.tagName.toUpperCase()&&(0<e.height||0<e.width)){var n=window.getComputedStyle(t)[\"stroke-width\"];return!!n&&0<parseInt(n,10)}return\"hidden\"!=window.getComputedStyle(t).overflow&&Array.prototype.slice.call(t.childNodes).some(function(t){return t.nodeType==Node.TEXT_NODE||t.nodeType==Node.ELEMENT_NODE&&r(t)})}function i(t){return C(t)==T.HIDDEN&&Array.prototype.slice.call(t.childNodes).every(function(t){return t.nodeType!=Node.ELEMENT_NODE||i(t)||!r(t)})}var o=t.tagName.toUpperCase();if(\"BODY\"==o)return!0;if(\"OPTION\"==o||\"OPTGROUP\"==o){var a=c(t,function(t){return\"SELECT\"==t.tagName.toUpperCase()});return!!a&&d(a,!0,n)}var u=s(t);if(u)return!!u.image&&0<u.rect.width&&0<u.rect.height&&d(u.image,e,n);if(\"INPUT\"==o&&\"hidden\"==t.type.toLowerCase())return!1;if(\"NOSCRIPT\"==o)return!1;var l=window.getComputedStyle(t).visibility;return\"collapse\"!=l&&\"hidden\"!=l&&(!!n(t)&&(!(!e&&0==f(t))&&(!!r(t)&&!i(t))))}function E(t){var e=x(t);return{left:e.left,right:e.left+e.width,top:e.top,bottom:e.top+e.height}}function D(t){return t.parentElement}function C(t){function e(t){function e(t){if(t==u)return!0;var e=window.getComputedStyle(t),n=e.display;return 0!=n.indexOf(\"inline\")&&\"contents\"!=n&&(\"absolute\"!=r||\"static\"!=e.position)}var r=window.getComputedStyle(t).position;if(\"fixed\"==r)return i=!0,t==u?null:u;for(var n=D(t);n&&!e(n);)n=D(n);return n}function n(t){var e=t;if(\"visible\"==d)if(t==u&&l)e=l;else if(t==l)return{x:\"visible\",y:\"visible\"};var n=window.getComputedStyle(e),r={x:n[\"overflow-x\"],y:n[\"overflow-y\"]};return t==u&&(r.x=\"visible\"==r.x?\"auto\":r.x,r.y=\"visible\"==r.y?\"auto\":r.y),r}function r(t){return t==u?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop}}for(var i,o=E(t),a=t.ownerDocument,u=a.documentElement,l=a.body,d=window.getComputedStyle(u).overflow,f=e(t);f;f=e(f)){var h=n(f);if(\"visible\"!=h.x||\"visible\"!=h.y){var s=x(f);if(0==s.width||0==s.height)return T.HIDDEN;var p=o.right<s.left,c=o.bottom<s.top;if(p&&\"hidden\"==h.x||c&&\"hidden\"==h.y)return T.HIDDEN;if(p&&\"visible\"!=h.x||c&&\"visible\"!=h.y){var v=r(f),g=o.right<s.left-v.x,w=o.bottom<s.top-v.y;return g&&\"visible\"!=h.x||w&&\"visible\"!=h.x?T.HIDDEN:C(f)==T.HIDDEN?T.HIDDEN:T.SCROLL}var N=o.left>=s.left+s.width,m=o.top>=s.top+s.height;if(N&&\"hidden\"==h.x||m&&\"hidden\"==h.y)return T.HIDDEN;if(N&&\"visible\"!=h.x||m&&\"visible\"!=h.y){if(i){var y=r(f);if(o.left>=u.scrollWidth-y.x||o.right>=u.scrollHeight-y.y)return T.HIDDEN}return C(f)==T.HIDDEN?T.HIDDEN:T.SCROLL}}}return T.NONE}function o(t){var e=t.document.documentElement;return{width:e.clientWidth,height:e.clientHeight}}function p(t,e,n,r){return{left:t,top:e,width:n,height:r}}function x(t){var e,n=s(t);if(n)return n.rect;if(\"HTML\"==t.tagName.toUpperCase()){t.ownerDocument;var r=o(window);return p(0,0,r.width,r.height)}try{e=t.getBoundingClientRect()}catch(i){return p(0,0,0,0)}return p(e.left,e.top,e.right-e.left,e.bottom-e.top)}function f(t){var e=1,n=window.getComputedStyle(t).opacity;n&&(e=Number(n));var r=D(t);return r&&r.nodeType==Node.ELEMENT_NODE&&(e*=f(r)),e}function h(t){var e=t.shape.toLowerCase(),n=t.coords.split(\",\");if(\"rect\"==e&&4==n.length){var r=n[0],i=n[1];return p(r,i,n[2]-r,n[3]-i)}if(\"circle\"==e&&3==n.length){var o=n[0],a=n[1],u=n[2];return p(o-u,a-u,2*u,2*u)}if(\"poly\"==e&&2<n.length){for(var l=n[0],d=n[1],f=l,h=d,s=2;s+1<n.length;s+=2)l=Math.min(l,n[s]),f=Math.max(f,n[s]),d=Math.min(d,n[s+1]),h=Math.max(h,n[s+1]);return p(l,d,f-l,h-d)}return p(0,0,0,0)}function s(t){var e=t.tagName.toUpperCase(),n=\"MAP\"==e;if(!n&&\"AREA\"!=e)return null;var r=n?t:\"MAP\"==D(t).tagName.toUpperCase()?D(t):null,i=null,o=null;if(r&&r.name&&((i=r.ownerDocument.querySelector(\"*[usemap='#\"+r.name+\"']\"))&&(o=x(i),!n&&\"default\"!=t.shape.toLowerCase()))){var a=h(t),u=Math.min(Math.max(a.left,0),o.width),l=Math.min(Math.max(a.top,0),o.height),d=Math.min(a.width,o.width-u),f=Math.min(a.height,o.height-l);o=p(u+o.left,l+o.top,d,f)}return{image:i,rect:o||p(0,0,0,0)}}function c(t,e){for(t&&(t=D(t));t;){if(e(t))return t;t=D(t)}return null}function r(t){var e=t.parentNode;if(e&&e.shadowRoot&&t.assignedSlot!==undefined)return t.assignedSlot?t.assignedSlot.parentNode:null;if(t.getDestinationInsertionPoints){var n=t.getDestinationInsertionPoints();if(0<n.length)return n[n.length-1]}return e}var T={NONE:\"none\",HIDDEN:\"hidden\",SCROLL:\"scroll\"};return function i(t,e){function n(t){if(\"none\"==window.getComputedStyle(t).display)return!1;var e=r(t);if(\"function\"==typeof ShadowRoot&&e instanceof ShadowRoot){if(e.host.shadowRoot!==e)return!1;e=e.host}return!(!e||e.nodeType!=Node.DOCUMENT_NODE&&e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE)||!(e&&e.tagName&&\"DETAILS\"==e.tagName.toUpperCase()&&!e.open&&\"SUMMARY\"!=t.tagName)&&(e&&n(e))}return d(t,!!e,n)}})()).apply(null, arguments)","args":[{"element-6066-11e4-a52e-4f735466cecf":"2dffe22b-1d68-4edb-aed2-ee9c12829768"}]}
2020-01-15 21:55:47 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"5067"}
2020-01-15 21:55:47 INFO Selenium <- {"value":true}
2020-01-15 21:55:47 INFO Selenium -> POST session/255f0cb35059ae4de2ed6fd10ae34c01/element/2dffe22b-1d68-4edb-aed2-ee9c12829768/click
2020-01-15 21:55:47 INFO Selenium <- {"value":null}
2020-01-15 21:55:47 INFO Selenium -> GET session/255f0cb35059ae4de2ed6fd10ae34c01/window/handles
2020-01-15 21:55:47 INFO Selenium <- {"value":["CDwindow-57E3D3FAA31E7DF03E2010E470319776","CDwindow-2BE6D99E749478752BFEF26FD647D860"]}
2020-01-15 21:55:47 INFO Selenium -> GET session/255f0cb35059ae4de2ed6fd10ae34c01/window
2020-01-15 21:55:47 INFO Selenium <- {"value":"CDwindow-57E3D3FAA31E7DF03E2010E470319776"}
2020-01-15 21:55:47 INFO Selenium -> POST session/255f0cb35059ae4de2ed6fd10ae34c01/window
2020-01-15 21:55:47 INFO Selenium >>> http://127.0.0.1:9515/session/255f0cb35059ae4de2ed6fd10ae34c01/window | {"handle":"CDwindow-2BE6D99E749478752BFEF26FD647D860"}
2020-01-15 21:55:47 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"54"}
/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/messages/rotator.rb:28: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/messages/rotator.rb:6: warning: The called method `initialize' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/view_paths.rb:11: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/lookup_context.rb:140: warning: The called method `template_exists?' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/unbound_template.rb:24: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/template.rb:130: warning: The called method `initialize' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/railties/collection_cache_association_loading.rb:7: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/railties/collection_cache_association_loading.rb:12: warning: The called method `relation_from_options' is defined here
....wait ....
2020-01-15 21:56:47 INFO Selenium -> GET session/255f0cb35059ae4de2ed6fd10ae34c01/window/handles
.... waiting ...
Visits home page to signup (FAILED - 1)
Failures:
1) User signup flow Visits home page to signup
Got 0 failures and 2 other errors:
1.1) Failure/Error:
within_window new_window do
expect(page).to have_text('New Enquiry', wait: 5)
end
Net::ReadTimeout:
Net::ReadTimeout with #<TCPSocket:(closed)>
# ./spec/features/user_signup_flow_spec.rb:14:in `block (2 levels) in <top (required)>'
1.2) Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)
Net::ReadTimeout:
Net::ReadTimeout with #<TCPSocket:(closed)>
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/protocol.rb:217:in `rbuf_fill'
# /app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:285:in `rbuf_fill'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/protocol.rb:191:in `readuntil'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/protocol.rb:201:in `readline'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/http/response.rb:42:in `read_status_line'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/http/response.rb:31:in `read_new'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/http.rb:1528:in `block in transport_request'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/http.rb:1519:in `catch'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/http.rb:1519:in `transport_request'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/http.rb:1492:in `request'
# /app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:97:in `block in request'
# /app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:105:in `block in request'
# /app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:137:in `start_with_connect_without_finish'
# /app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:104:in `request'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/default.rb:129:in `response_for'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/default.rb:82:in `request'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:64:in `call'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/bridge.rb:167:in `execute'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in `execute'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:173:in `window_handles'
# /app/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/common/driver.rb:187:in `window_handles'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/selenium/driver.rb:208:in `window_handles'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/selenium/driver_specializations/chrome_driver.rb:42:in `reset!'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/session.rb:130:in `reset!'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara.rb:322:in `block in reset_sessions!'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara.rb:322:in `reverse_each'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara.rb:322:in `reset_sessions!'
# /app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/rspec.rb:18:in `block (2 levels) in <top (required)>'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:363:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:515:in `block in run_owned_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:514:in `each'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:514:in `run_owned_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:601:in `block in run_example_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:600:in `each'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:600:in `run_example_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:471:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:510:in `run_after_example'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:276:in `block in run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-rails-4.0.0.beta3/lib/rspec/rails/adapters.rb:128:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'
# /app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'
# /app/vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
# /app/vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `load'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `kernel_load'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/cli/exec.rb:28:in `run'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/cli.rb:476:in `exec'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/cli.rb:30:in `dispatch'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/cli.rb:24:in `start'
# /app/vendor/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/bundler-2.1.2/libexec/bundle:46:in `block in <top (required)>'
# /app/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
# /app/vendor/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/bundler-2.1.2/libexec/bundle:34:in `<top (required)>'
# /app/bin/bundle:104:in `load'
# /app/bin/bundle:104:in `<main>'
#
# Showing full backtrace because every line was filtered out.
# See docs for RSpec::Configuration#backtrace_exclusion_patterns and
# RSpec::Configuration#backtrace_inclusion_patterns for more information.
Top 1 slowest examples (182.9 seconds, 100.0% of total time):
User signup flow Visits home page to signup
182.9 seconds ./spec/features/user_signup_flow_spec.rb:6
Finished in 3 minutes 2.9 seconds (files took 4.06 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/user_signup_flow_spec.rb:6 # User signup flow Visits home page to signup
Randomized with seed 49085
2020-01-15 21:58:48 INFO Selenium -> DELETE session/255f0cb35059ae4de2ed6fd10ae34c01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment