File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed
src/main/resources/com/aventstack/extentreports Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change
1
+ <#setting number_format="0" >
1
2
<#list code as c >
2
3
<div class =' json-tree' id =' code-block-json-${index}' ></div >
3
4
<script >
Original file line number Diff line number Diff line change 43
43
<td ><span class =" badge log ${test.status.toLower()}-bg" >${test.status?string } </span ></td >
44
44
<td >${test.startTime?string[("HH:mm:ss a")] } </td >
45
45
<td >
46
- <a href =" #" class =" linked" test-id =' ${test.getAncestor().getId()}' id =' ${test.getId()}' >${test.name} </a >
46
+ <a href =" #" class =" linked" test-id =' ${test.getAncestor().getId()?string["0"] }' id =' ${test.getId()?string["0"] }' >${test.name} </a >
47
47
<#if test.parent?? >
48
48
<div class =" " >
49
49
<span class =" badge badge-default" >${test.getFullName()} </span >
Original file line number Diff line number Diff line change 13
13
</ul >
14
14
</div >
15
15
<div class =" card-title" >
16
- <a class =" node <#if !node.hasChildren() && node.status=='FAIL'>collapsed</#if>" id =" ${node.getId()}" ><span >${node.name} </span ></a >
16
+ <a class =" node <#if !node.hasChildren() && node.status=='FAIL'>collapsed</#if>" id =" ${node.getId()?string[ " 0 " ] }" ><span >${node.name} </span ></a >
17
17
<div class =" node-attr" >
18
18
<#if node.hasAttributes() ><@attributes test=node / ></#if >
19
19
</div >
Original file line number Diff line number Diff line change 15
15
<div class =" card" >
16
16
<div class =" card-header" role =" tab" >
17
17
<div class =" card-title" >
18
- <div class =" node" id =" ${node.getId()}" ><span class =" badge log ${node.status.toLower()}-bg mr-2" >${node.status?string } </span >${node.name} </div >
18
+ <div class =" node" id =" ${node.getId()?string[ " 0 " ] }" ><span class =" badge log ${node.status.toLower()}-bg mr-2" >${node.status?string } </span >${node.name} </div >
19
19
<#if TestService.testHasScreenCapture(node, true) >
20
20
<div class =" status-avatar float-right mr-4" >
21
21
<i class =" fa fa-paperclip" ></i >
30
30
<div class =" card-body l1" >
31
31
<div class =" card-header" >
32
32
<div class =" card-title outline-child" >
33
- <div class =" node" id =" ${child.getId()}" ><span class =" badge log ${child.status.toLower()}-bg mr-2" >${child.status?string } </span >${child.name} </div >
33
+ <div class =" node" id =" ${child.getId()?string[ " 0 " ] }" ><span class =" badge log ${child.status.toLower()}-bg mr-2" >${child.status?string } </span >${child.name} </div >
34
34
<#if TestService.testHasScreenCapture(child, true) >
35
35
<div class =" status-avatar float-right" >
36
36
<i class =" fa fa-paperclip" ></i >
Original file line number Diff line number Diff line change 49
49
<div class =" test-list-wrapper scrollable" >
50
50
<ul class =" test-list-item" >
51
51
<#list report.testList as test >
52
- <li class =" test-item" status =" ${test.status.toLower()}" test-id =" ${test.getId()}"
52
+ <li class =" test-item" status =" ${test.status.toLower()}" test-id =" ${test.getId()?string[ " 0 " ] }"
53
53
author =" <#list test.authorSet as x>${x.name}<#if x_has_next> </#if></#list>"
54
54
tag =" <#list test.categorySet as x>${x.name}<#if x_has_next> </#if></#list>"
55
55
device =" <#list test.deviceSet as x>${x.name}<#if x_has_next> </#if></#list>" >
69
69
<span class =' badge badge-success' >${test.startTime?string("MM.dd.yyyy") } ${test.startTime?time?string } </span >
70
70
<span class =' badge badge-danger' >${test.endTime?string("MM.dd.yyyy") } ${test.endTime?time?string } </span >
71
71
<span class =' badge badge-default' >${test.timeTakenPretty()} </span >
72
- · ; <span class =' uri-anchor badge badge-default' >#test-id=${test.getId()} </span >
72
+ · ; <span class =' uri-anchor badge badge-default' >#test-id=${test.getId()?string["0"] } </span >
73
73
<span title =' Skip to the next failed step' class =' badge badge-danger pointer float-right ne ml-1' ><i class =" fa fa-fast-forward" ></i ></span >
74
74
<span title =' Collapse all nodes' class =' badge badge-default pointer float-right ct ml-1' ><i class =" fa fa-compress" ></i ></span >
75
75
<span title =' Expand all nodes' class =' badge badge-default pointer float-right et' ><i class =" fa fa-expand" ></i ></span >
You can’t perform that action at this time.
0 commit comments