Skip to content

Instantly share code, notes, and snippets.

@krosti
Created May 13, 2015 15:17
Show Gist options
  • Save krosti/0b8f7d90af5c559eb1c5 to your computer and use it in GitHub Desktop.
Save krosti/0b8f7d90af5c559eb1c5 to your computer and use it in GitHub Desktop.
Protractor-perf - Error on Connect
Error: [execute("(function(){var getTimeMs=(function(){if(window.performance)\nreturn(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else\nreturn function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60);};})().bind(window);window.__RafRecorder={frames:[],flush:true,record:function(timeStamp){if(__RafRecorder.flush){__RafRecorder.frames=[];__RafRecorder.flush=false;}\n__RafRecorder.frames.push(timeStamp);requestAnimationFrame(__RafRecorder.record);},get:function(){__RafRecorder.flush=true;return __RafRecorder.frames;}};requestAnimationFrame(window.__RafRecorder.record);}());")] connect ECONNREFUSED
Stacktrace:
Error: connect ECONNREFUSED
at errnoException (net.js:905:11)
at Object.afterConnect [as oncomplete] (net.js:896:19)
From: Task: <anonymous>
at [object Object].start (/Users/fernandocea/Development/web-ui/node_modules/protractor-perf/lib/index.js:53:37)
at [object Object].<anonymous> (/Users/fernandocea/Development/web-ui/example.spec.js:7:16)
From: Task: Asynchronous test function: it()
Error
at [object Object].<anonymous> (/Users/fernandocea/Development/web-ui/example.spec.js:5:3)
at Object.<anonymous> (/Users/fernandocea/Development/web-ui/example.spec.js:2:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment