Skip to content

Commit 61603f6

Browse files
committed
logger-reporter: allow navigating to test view from attributes/bug view
1 parent 5b4eca7 commit 61603f6

File tree

5 files changed

+44
-13
lines changed

5 files changed

+44
-13
lines changed

src/main/resources/com/aventstack/extentreports/offline/commons/js/attr.js

Lines changed: 19 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/resources/com/aventstack/extentreports/offline/logger/js/logger-scripts.js

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/resources/com/aventstack/extentreports/view/commons/commons-exception.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<th>Duration</th>
3030
<th>Attributes</th>
3131
<th>Media</th>
32+
<th>Source</th>
3233
</tr></thead>
3334
<tbody>
3435
<#list exception.getTestList() as test>

src/main/resources/com/aventstack/extentreports/view/commons/commons-tag.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<th>Duration</th>
3535
<th>Attributes</th>
3636
<th>Media</th>
37+
<th>Source</th>
3738
</tr></thead>
3839
<tbody>
3940
<#list category.getTestList() as test>

src/main/resources/com/aventstack/extentreports/view/logger/partials/logger-nav.ftl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
<span class="nav-text">Tests</span>
1818
</a>
1919
</li>
20-
<#if config.getValue("enableDashboard")=="true">
21-
<li>
22-
<a href="dashboard.html">
23-
<span class="nav-icon">
24-
<i class="fa fa-dashboard"></i>
25-
</span>
26-
<span class="nav-text">Dashboard</span>
27-
</a>
28-
</li>
29-
</#if>
3020
<#if categoryContext?? && categoryContext?size != 0>
3121
<li>
3222
<a href="tag.html">
@@ -47,6 +37,16 @@
4737
</a>
4838
</li>
4939
</#if>
40+
<#if config.getValue("enableDashboard")=="true">
41+
<li>
42+
<a href="dashboard.html">
43+
<span class="nav-icon">
44+
<i class="fa fa-dashboard"></i>
45+
</span>
46+
<span class="nav-text">Dashboard</span>
47+
</a>
48+
</li>
49+
</#if>
5050
<li class="pb-2 hidden-folded"></li>
5151
</ul>
5252
</div>

0 commit comments

Comments
 (0)