Skip to content

Commit

Permalink
(bug) Removed depricated "await" from memory.js
Browse files Browse the repository at this point in the history
- browser.controlFlow().await() is depricated -- use wait()
- Otherwise fails in protractor v2.5.1
  • Loading branch information
travisgoldie committed Jan 22, 2016
1 parent 98ef96b commit 7b2a569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/memory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7b2a569

Please sign in to comment.