File tree 1 file changed +8
-7
lines changed
ExtentReports/Views/Spark/Partials
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
@if (Model .HasChildren )
8
8
{
9
- @{
10
- var children = new List <Test >(Model .Children );
11
- }
9
+ var children = new List <Test >(Model .Children );
10
+
12
11
<div class =" accordion" >
13
12
@foreach ( var child in children )
14
13
{
17
16
<div class =" card-toolbar node-info" >
18
17
<ul class =" list-inline d-none d-sm-block" >
19
18
<li ><span class =" badge @child.Status.ToString().ToLower()-bg log " >@child.Status </span ></li >
20
- <li ><span class =' badge badge-default' >@Math.Round(child.TimeTaken , 2 )</span ></li >
19
+ <li title = " Time taken " ><span class =' badge badge-default' >@Math.Round(child.TimeTaken , 2 )</span ></li >
21
20
</ul >
22
21
</div >
23
22
<div class =" card-title" >
24
23
<div class =" node" id =" @child.Id" >@child.Name </div >
24
+ @if (child .HasAttributes )
25
+ {
25
26
<div class =" node-attr" >
26
27
@Include( " Attributes" , child )
27
28
</div >
29
+ }
28
30
@if (child .HasScreenCaptureDeep )
29
31
{
30
32
<div class =" status-avatar float-right" ><i class =" fa fa-paperclip" ></i ></div >
33
35
</div >
34
36
@if (child .HasLog )
35
37
{
36
- @{
37
- var css = child .Status != Status .Fail ? " collapse" : " " ;
38
- }
38
+ var css = child .Status != Status .Fail ? " collapse" : " " ;
39
+
39
40
<div class =" @css" >
40
41
<div class =" card-body" >
41
42
@if (child .HasAnyLog )
You can’t perform that action at this time.
0 commit comments