File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 29
29
</ItemGroup >
30
30
31
31
<ItemGroup >
32
+ <None Remove =" Views\Spark\Partials\SparkMediaTest.cshtml" />
32
33
<None Remove =" Views\Spark\SparkIndexSPA.cshtml" />
33
34
<None Remove =" Views\Spark\Partials\Navbar.cshtml" />
34
35
<None Remove =" Views\Spark\Partials\AttributesView.cshtml" />
75
76
<None Remove =" Gherkin\Resource\lang.json" />
76
77
</ItemGroup >
77
78
<ItemGroup >
79
+ <EmbeddedResource Include =" Views\Spark\Partials\SparkMediaTest.cshtml" />
78
80
<EmbeddedResource Include =" Views\Spark\SparkIndexSPA.cshtml" />
79
81
<EmbeddedResource Include =" Views\Spark\Partials\Navbar.cshtml" />
80
82
<EmbeddedResource Include =" Views\Spark\Partials\AttributesView.cshtml" />
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ private void AddTemplates()
97
97
"Partials.SparkStepDetails" ,
98
98
"SparkIndexSPA" ,
99
99
"Partials.SparkMedia" ,
100
+ "Partials.SparkMediaTest" ,
100
101
"Partials.SparkTestSPA" ,
101
102
"Partials.SparkAuthorSPA" ,
102
103
"Partials.SparkDeviceSPA" ,
Original file line number Diff line number Diff line change 7
7
@if (Model .HasChildren )
8
8
{
9
9
var children = new List <Test >(Model .Children );
10
+ @Include( " SparkMediaTest" , Model )
10
11
<div class =" accordion mt-4" >
11
12
@foreach ( var node in children )
12
13
{
37
38
{
38
39
< div class = " status-avatar float-right" >< i class = " fa fa-paperclip" >< / i >< / div >
39
40
}
41
+ @Include (" SparkMediaTest" , child )
40
42
< / div >
41
43
< / div >
42
44
@{
48
50
< div class = " step @step.Status.ToString().ToLower()-bg" title = " @step.Description" >
49
51
< span > @step .BddType .Name @step .Name < / span >
50
52
@Include (" StepDetails" , step )
53
+ @Include (" SparkMediaTest" , step )
51
54
< / div >
52
55
}
53
56
< / div >
60
63
var steps = new List <Test >(node .Children );
61
64
<div class =" @css" >
62
65
<div class =" card-body" >
66
+ @Include( " SparkMediaTest" , node )
63
67
@foreach ( var child in steps )
64
68
{
65
69
<div class =" step @child.Status.ToString().ToLower()-bg" title =" @child.Description" >
66
70
<span >@child.BddType.Name @child.Name </span >
67
71
@Include( " StepDetails" , child )
72
+ @Include( " SparkMediaTest" , child )
68
73
</div >
69
74
}
70
75
</div >
75
80
}
76
81
</div >
77
82
}
83
+
Original file line number Diff line number Diff line change
1
+ @using System
2
+
3
+ @if (Model .HasScreenCapture )
4
+ {
5
+ foreach (var media in Model .Media )
6
+ {
7
+ @Include( " SparkMedia" , media )
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments