jekyll-report-dashboard 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/playwright-branch-list.html +7 -2
- data/_layouts/playwright-branch.html +7 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fcd83a813e1567031a023b8f787993ecd89a17f1d76e5b1d5c5260134678522
|
4
|
+
data.tar.gz: 8cc9155a0eb9305cf5bd59329608d1ad9cf5308a54f1498e960dc23c9edb12a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e8340f5a439c1209a2f133380cf7585419ede7cfd2f00eb245ceaa9b795be2106251e3e32178a4262fcbb9eea4b2c2e8a62d34031792b2d8b9987243ec15b78
|
7
|
+
data.tar.gz: 279c59d4a0ce47db917b8a8a46a726a4e5bbb0445e38527a7e0efaa85f16c0cfceb88bae405da64cc950f1e165c4de7eff0528bf020481d6915b896685519200
|
@@ -11,8 +11,13 @@
|
|
11
11
|
<a href="{{ branch_link | relative_url }}">View Previous Runs</a>
|
12
12
|
</div>
|
13
13
|
|
14
|
-
<!--
|
15
|
-
{% assign
|
14
|
+
<!-- get all of the run_ids in the branch, then reverse the list and get the first one -->
|
15
|
+
{% assign runs = "" | split: ',' %}
|
16
|
+
{% for run_id in site.data.playwright-reports.branches[branch_name] %}
|
17
|
+
{% assign runs = runs | push: run_id %}
|
18
|
+
{% endfor %}
|
19
|
+
|
20
|
+
{% assign latest_run_id = runs | reverse | first %}
|
16
21
|
{% assign data = site.data.playwright-reports.branches[branch_name][latest_run_id] %}
|
17
22
|
<!-- capture creates a link to the actual report file-->
|
18
23
|
{% capture report_link %}/playwright-reports/branches/{{branch_name}}/{{latest_run_id}}.html{% endcapture %}
|
@@ -2,8 +2,13 @@
|
|
2
2
|
layout: page
|
3
3
|
---
|
4
4
|
|
5
|
-
<!--
|
6
|
-
{% assign
|
5
|
+
<!-- get the run ids for the branch and sort them by newest to oldest -->
|
6
|
+
{% assign unsorted_runs = "" | split: ',' %}
|
7
|
+
{% for run_id in site.data.playwright-reports.branches[page.branch] %}
|
8
|
+
{% assign unsorted_runs = unsorted_runs | push: run_id %}
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
{% assign run_ids = unsorted_runs | reverse %}
|
7
12
|
{% for run_id in run_ids %}
|
8
13
|
<!-- loop through the run ids -->
|
9
14
|
{% assign data = site.data.playwright-reports.branches[page.branch][run_id] %}
|