Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
eec543cc
...
eec543ccc04f5c690a3f54562d1a91585e7f8137
authored
2012-07-19 14:31:16 +0200
by
oncletom
Committed by
Nicolas Perriault
2012-10-18 09:43:58 +0200
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Implementing response as callback parameter
1 parent
3aebbea6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
eec543c
...
...
@@ -1120,7 +1120,7 @@ Casper.prototype.runStep = function runStep(step) {
},
this
.
options
.
stepTimeout
,
this
,
new
Date
().
getTime
(),
this
.
test
.
currentSuiteNum
+
"-"
+
this
.
step
);
}
this
.
emit
(
'step.start'
,
step
);
stepResult
=
step
.
call
(
this
,
this
);
stepResult
=
step
.
call
(
this
,
this
.
currentResponse
||
undefined
);
if
(
utils
.
isFunction
(
this
.
options
.
onStepComplete
))
{
this
.
options
.
onStepComplete
.
call
(
this
,
this
,
stepResult
);
}
...
...
Please
register
or
sign in
to post a comment