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
b04b0ec7
...
b04b0ec75c3bb18e96cac5845bd473431a1280c3
authored
2013-01-17 10:24:28 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed edge case in xunit export
1 parent
b8362f89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
CHANGELOG.md
docs
modules/xunit.js
CHANGELOG.md
View file @
b04b0ec
...
...
@@ -7,6 +7,7 @@ XXXX-XX-XX, v1.0.1
-
fixed
[
#336
](
https://github.com/n1k0/casperjs/issues/336
)
- Test result duration may have an exotic value
-
Added
`casper.mouse.doubleclick()`
-
fixed
[
#343
](
https://github.com/n1k0/casperjs/issues/343
)
- Better script checks
-
fixed an edge case with xunit export when
`phantom.casperScript`
may be not defined
2012-12-24, v1.0.0
------------------
...
...
docs
@
15382045
Subproject commit 1
8b8cbb5335073eaf0d1cd9a7c1f1634e394aa4b
Subproject commit 1
5382045d8e080bcddc8a4101774b57dfed075a1
...
...
modules/xunit.js
View file @
b04b0ec
...
...
@@ -45,7 +45,7 @@ var fs = require('fs');
function
generateClassName
(
classname
)
{
"use strict"
;
classname
=
classname
.
replace
(
phantom
.
casperPath
,
""
).
trim
();
var
script
=
classname
||
phantom
.
casperScript
;
var
script
=
classname
||
phantom
.
casperScript
||
""
;
if
(
script
.
indexOf
(
fs
.
workingDirectory
)
===
0
)
{
script
=
script
.
substring
(
fs
.
workingDirectory
.
length
+
1
);
}
...
...
Please
register
or
sign in
to post a comment