From 7b2a569cc288abe95c7fcb514555195ad7c0697b Mon Sep 17 00:00:00 2001 From: Travis Goldie Date: Thu, 21 Jan 2016 17:09:57 -0500 Subject: [PATCH] (bug) Removed depricated "await" from memory.js - browser.controlFlow().await() is depricated -- use wait() - Otherwise fails in protractor v2.5.1 --- lib/memory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/memory.js b/lib/memory.js index 685c76c..b884091 100644 --- a/lib/memory.js +++ b/lib/memory.js @@ -82,7 +82,7 @@ module.exports.startMemoryMeasurement = function (test, options, time, graphData } if (graphFilename && options.generateGraph) { - browser.controlFlow().await( + browser.controlFlow().wait( generateGraph.phantomRender(graphFilename, graphData, options.graphWidth, options.graphHeight) ).then(function () { console.log('Graph generated: ' + graphFilename);