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
4a728b21
...
4a728b21a89b03a042d6d80e49aa93813db34b2b
authored
2012-10-19 15:07:33 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added more information when a step timeout occurs in tests
1 parent
3eb1fc00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
modules/tester.js
modules/tester.js
View file @
4a728b2
...
...
@@ -78,8 +78,8 @@ var Tester = function Tester(casper, options) {
};
// specific timeout callbacks
casper
.
options
.
onStepTimeout
=
function
test_onStepTimeout
(
timeout
)
{
this
.
test
.
fail
(
f
(
"Step timeout occured
(%dms)"
,
timeout
));
casper
.
options
.
onStepTimeout
=
function
test_onStepTimeout
(
timeout
,
step
)
{
this
.
test
.
fail
(
f
(
"Step timeout occured
at step %d (%dms)"
,
step
,
timeout
));
};
casper
.
options
.
onTimeout
=
function
test_onTimeout
(
timeout
)
{
...
...
Please
register
or
sign in
to post a comment