|
31 | 31 | </h5> |
32 | 32 | </div> |
33 | 33 | <div class="card-body collapse mt-3"> |
| 34 | + @if (child.HasScreenCapture) { foreach (var sc in child.ScreenCaptureContext.All()) { @sc.Source } } |
34 | 35 | @foreach (var step in child.NodeContext.All()) |
35 | 36 | { |
36 | 37 | <div class="d-flex align-items-center justify-content-start @step.BehaviorDrivenTypeName.Replace(" ","").ToLower()" title="@step.Description"> |
|
40 | 41 | <span>@step.BehaviorDrivenTypeName @step.Name</span> |
41 | 42 | </div> |
42 | 43 | @Include("SparkStepDetails", step) |
| 44 | + @if (step.HasScreenCapture) { foreach (var sc in step.ScreenCaptureContext.All()) { @sc.Source } } |
43 | 45 | } |
44 | 46 | </div> |
45 | 47 | </div> |
|
49 | 51 | else |
50 | 52 | { |
51 | 53 | <div class="collapse"> |
52 | | - <div class="card-body"> |
53 | | - @foreach (var child in node.NodeContext.All()) |
54 | | - { |
55 | | - <div class="d-flex align-items-center justify-content-start @child.BehaviorDrivenTypeName.Replace(" ","").ToLower()" title="@child.Description"> |
56 | | - <span class="alert-icon @child.Status.ToString().ToLower()-bg"> |
57 | | - < i class= "fa [email protected](child.Status) text-white"></ i> |
58 | | - </span> |
59 | | - <span>@child.BehaviorDrivenTypeName @child.Name</span> |
60 | | - </div> |
61 | | - @Include("SparkStepDetails", child) |
62 | | - } |
63 | | - </div> |
| 54 | + <div class="card-body"> |
| 55 | + @if (node.HasScreenCapture) { foreach (var sc in node.ScreenCaptureContext.All()) { @sc.Source } } |
| 56 | + @foreach (var child in node.NodeContext.All()) |
| 57 | + { |
| 58 | + <div class="d-flex align-items-center justify-content-start @child.BehaviorDrivenTypeName.Replace(" ","").ToLower()" title="@child.Description"> |
| 59 | + <span class="alert-icon @child.Status.ToString().ToLower()-bg"> |
| 60 | + < i class= "fa [email protected](child.Status) text-white"></ i> |
| 61 | + </span> |
| 62 | + <span>@child.BehaviorDrivenTypeName @child.Name</span> |
| 63 | + </div> |
| 64 | + @Include("SparkStepDetails", child) |
| 65 | + @if (child.HasScreenCapture) { foreach (var sc in child.ScreenCaptureContext.All()) { @sc.Source } } |
| 66 | + } |
| 67 | + </div> |
64 | 68 | </div> |
65 | 69 | } |
66 | 70 | } |
|
0 commit comments