Merge pull request #426 from sreeix/log_with_function_name
refs #425 Log now has the step function name
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1383,7 +1383,7 @@ Casper.prototype.runStep = function runStep(step) { | ... | @@ -1383,7 +1383,7 @@ Casper.prototype.runStep = function runStep(step) { |
1383 | /*jshint maxstatements:20*/ | 1383 | /*jshint maxstatements:20*/ |
1384 | this.checkStarted(); | 1384 | this.checkStarted(); |
1385 | var skipLog = utils.isObject(step.options) && step.options.skipLog === true, | 1385 | var skipLog = utils.isObject(step.options) && step.options.skipLog === true, |
1386 | stepInfo = f("Step %d/%d", this.step, this.steps.length), | 1386 | stepInfo = f("Step %s %d/%d", step.name || "anonymous", this.step, this.steps.length), |
1387 | stepResult; | 1387 | stepResult; |
1388 | function getCurrentSuiteId(casper) { | 1388 | function getCurrentSuiteId(casper) { |
1389 | try { | 1389 | try { | ... | ... |
-
Please register or sign in to post a comment