jekyll-report-dashboard 0.1.8 → 0.1.10
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a354a6ad54205347e579d0c1a5806a446e7d5263e96755f6aba92cf24742b7fa
|
4
|
+
data.tar.gz: dd70a856dc8c1ebb1cd18ab8323dc1b5fa42b8c6fce422ef057aaff6391d5456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3acde1d1f80371daddbd92d0bd6999f47c07adaf7c8abb82196c56632da7ba4c7410d45a0b0d6a339276a1ecb8f41ab341f90914bcd626ae69ebc6803c74605e
|
7
|
+
data.tar.gz: 8e4f46c11b5fa68b88491aafb7dca9afb980f12a1d7d532e0cbee307c29cd62204355fe1f191ef3775cf56fe74367c5b4eb3b5dae7a677e3ea75311dcd9f4190
|
@@ -37,7 +37,7 @@
|
|
37
37
|
</div>
|
38
38
|
<div class="flex justify-end mt-4 min-h-4">
|
39
39
|
<!-- Liquid provides a helper method that will create the link relative to the baseurl set in _config.yml -->
|
40
|
-
<a href="{{
|
40
|
+
<a href="{{ "/coverage" | relative_url }}" target="_blank">View Full Report</a>
|
41
41
|
</div>
|
42
42
|
{% else %}
|
43
43
|
<!-- if the total was not included, display a message that there is nothing to display -->
|
data/_includes/head.html
CHANGED
@@ -2,5 +2,5 @@
|
|
2
2
|
<meta charset="utf-8">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
-
<link rel="stylesheet" href="{{
|
5
|
+
<link rel="stylesheet" href="{{ "/assets/css/styles.css" | relative_url }}">
|
6
6
|
</head>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
</div>
|
13
13
|
|
14
14
|
<!-- get all of the run_ids in the branch, then reverse the list and get the first one -->
|
15
|
-
{% assign runs = "" | split:
|
15
|
+
{% assign runs = "" | split: "," %}
|
16
16
|
{% for run in site.data.playwright-reports.branches[branch_name] %}
|
17
17
|
{% assign runs = runs | push: run[0] %}
|
18
18
|
{% endfor %}
|
@@ -18,22 +18,15 @@
|
|
18
18
|
</div>
|
19
19
|
<div class="pt-2 @sm:pt-4 pb-1 @sm:pb-2 text-xs @sm:text-sm leading-normal border border-outline rounded-b-md flex items-center justify-around">
|
20
20
|
<!-- style the icon according to the report status and use the correct svg -->
|
21
|
-
|
21
|
+
<span class="w-10 @sm:w-12 h-10 @sm:h-12">
|
22
22
|
{% if results.stats.unexpected > 0 %}
|
23
|
-
<svg aria-hidden=
|
24
|
-
<path fillRule='evenodd' d='M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z'></path>
|
25
|
-
</svg>
|
23
|
+
<svg aria-hidden="true" class="fill-fail" height="100%" width="100%" viewBox="0 0 16 16" version="1.1"><path fillRule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path></svg>
|
26
24
|
{% elsif results.errors.size == 0 %}
|
27
|
-
<svg aria-hidden=
|
28
|
-
<path fillRule='evenodd' d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'></path>
|
29
|
-
</svg>
|
25
|
+
<svg aria-hidden="true" class="fill-pass" height="100%" width="100%" viewBox="0 0 16 16" version="1.1"><path fillRule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg>
|
30
26
|
{% else %}
|
31
|
-
<svg aria-hidden=
|
32
|
-
<path fillRule='evenodd' d='M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z'></path>
|
33
|
-
</svg>
|
27
|
+
<svg aria-hidden="true" class="fill-warn" height="100%" width="100%" viewBox="0 0 16 16" version="1.1"><path fillRule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path></svg>
|
34
28
|
{% endif %}
|
35
|
-
|
36
|
-
<span class="w-10 @sm:w-12 h-10 @sm:h-12">{{ status_icon }}</span>
|
29
|
+
</span>
|
37
30
|
<div class="py-1 @md:py-2 w-2/3 @sm:w-4/5">
|
38
31
|
{% if status == "warn" %}
|
39
32
|
<!-- if there are errors, there won't be any test statistics, so only display the errors -->
|
@@ -3,7 +3,7 @@ layout: page
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<!-- get the run ids for the branch and sort them by newest to oldest -->
|
6
|
-
{% assign unsorted_runs = "" | split:
|
6
|
+
{% assign unsorted_runs = "" | split: "," %}
|
7
7
|
{% for run in site.data.playwright-reports.branches[page.branch] %}
|
8
8
|
{% assign unsorted_runs = unsorted_runs | push: run[0] %}
|
9
9
|
{% endfor %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-report-dashboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiffany Forkner
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- _layouts/page.html
|
71
71
|
- _layouts/playwright-branch.html
|
72
72
|
- _layouts/post.html
|
73
|
+
- _layouts/release-note.html
|
73
74
|
- _plugins/playwright-branch-index-generator.rb
|
74
75
|
- assets/css/styles.css
|
75
76
|
- coverage.markdown
|