ortoni-report 3.0.5 → 4.0.2-beta.0
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.
- package/changelog.md +30 -0
- package/dist/chunk-45EJSEX2.mjs +632 -0
- package/dist/chunk-75EAJL2U.mjs +632 -0
- package/dist/chunk-FGIYOFIC.mjs +632 -0
- package/dist/chunk-FHKWBHU6.mjs +633 -0
- package/dist/chunk-GLICR3VS.mjs +637 -0
- package/dist/chunk-HFO6XSKC.mjs +633 -0
- package/dist/chunk-HOZD6YIV.mjs +634 -0
- package/dist/chunk-IJO2YIFE.mjs +637 -0
- package/dist/chunk-INS3E7E6.mjs +638 -0
- package/dist/chunk-JEIWNUQY.mjs +632 -0
- package/dist/chunk-JPLAGYR7.mjs +632 -0
- package/dist/chunk-NM6ULN2O.mjs +632 -0
- package/dist/chunk-OZS6QIJS.mjs +638 -0
- package/dist/chunk-P57227VN.mjs +633 -0
- package/dist/chunk-QMTRYN5N.js +635 -0
- package/dist/chunk-TI33PMMQ.mjs +639 -0
- package/dist/chunk-Z5NBP5TS.mjs +635 -0
- package/dist/cli/cli.cjs +678 -0
- package/dist/cli/cli.d.cts +1 -0
- package/dist/cli/cli.js +580 -11
- package/dist/cli/cli.mjs +62 -5
- package/dist/index.html +21 -0
- package/dist/ortoni-report.cjs +2134 -0
- package/dist/ortoni-report.d.cts +111 -0
- package/dist/ortoni-report.d.mts +3 -12
- package/dist/ortoni-report.d.ts +3 -12
- package/dist/ortoni-report.js +182 -314
- package/dist/ortoni-report.mjs +64 -740
- package/package.json +4 -5
- package/readme.md +26 -33
- package/dist/chunk-AY2PKDHU.mjs +0 -69
- package/dist/chunk-OOALU4XG.mjs +0 -72
- package/dist/chunk-ZSIRUQUA.mjs +0 -68
- package/dist/style/main.css +0 -80
- package/dist/views/analytics.hbs +0 -103
- package/dist/views/head.hbs +0 -11
- package/dist/views/main.hbs +0 -1295
- package/dist/views/project.hbs +0 -238
- package/dist/views/sidebar.hbs +0 -244
- package/dist/views/summaryCard.hbs +0 -15
- package/dist/views/testIcons.hbs +0 -13
- package/dist/views/testPanel.hbs +0 -45
- package/dist/views/testStatus.hbs +0 -9
- package/dist/views/userInfo.hbs +0 -260
package/dist/views/analytics.hbs
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
<h1 class="title is-3">Analytics</h1>
|
|
2
|
-
<div class="columns is-multiline has-text-centered">
|
|
3
|
-
{{> summaryCard bg="hsl(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-l)) !important"
|
|
4
|
-
statusHeader="Total Runs" statusCount=reportAnalyticsData.summary.totalRuns}}
|
|
5
|
-
{{> summaryCard bg="hsl(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-l)) !important"
|
|
6
|
-
statusHeader="Total Tests" statusCount=reportAnalyticsData.summary.totalTests}}
|
|
7
|
-
{{> summaryCard bg="hsl(var(--bulma-success-h), var(--bulma-success-s), var(--bulma-success-l)) !important"
|
|
8
|
-
status="Passed" statusHeader="Passed" statusCount=reportAnalyticsData.summary.passed}}
|
|
9
|
-
{{> summaryCard bg="hsl(var(--bulma-danger-h), var(--bulma-danger-s), var(--bulma-danger-l)) !important"
|
|
10
|
-
status="Failed"
|
|
11
|
-
statusHeader="Failed" statusCount=reportAnalyticsData.summary.failed}}
|
|
12
|
-
{{> summaryCard bg="hsl(var(--bulma-info-h), var(--bulma-info-s), var(--bulma-info-l)) !important"
|
|
13
|
-
statusHeader="Pass Rate: %" statusCount=reportAnalyticsData.summary.passRate}}
|
|
14
|
-
{{> summaryCard bg="#69748c" statusHeader="Avg Duration (ms)" statusCount=reportAnalyticsData.summary.avgDuration}}
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<section class="box">
|
|
18
|
-
<h2 class="title is-4">Trends Over Time</h2>
|
|
19
|
-
<canvas id="trendChart" height="100"></canvas>
|
|
20
|
-
</section>
|
|
21
|
-
|
|
22
|
-
<section class="box">
|
|
23
|
-
<h2 class="title is-4">Top Flaky Tests</h2>
|
|
24
|
-
<table class="table is-striped is-fullwidth">
|
|
25
|
-
<thead>
|
|
26
|
-
<tr>
|
|
27
|
-
<th>Test ID</th>
|
|
28
|
-
</tr>
|
|
29
|
-
</thead>
|
|
30
|
-
<tbody>
|
|
31
|
-
{{#each reportAnalyticsData.flakyTests}}
|
|
32
|
-
<tr>
|
|
33
|
-
<td>{{this.test_id}}</td>
|
|
34
|
-
</tr>
|
|
35
|
-
{{/each}}
|
|
36
|
-
</tbody>
|
|
37
|
-
</table>
|
|
38
|
-
</section>
|
|
39
|
-
|
|
40
|
-
<section class="box">
|
|
41
|
-
<h2 class="title is-4">Slowest Tests</h2>
|
|
42
|
-
<table class="table is-striped is-fullwidth">
|
|
43
|
-
<thead>
|
|
44
|
-
<tr>
|
|
45
|
-
<th>Test ID</th>
|
|
46
|
-
<th>Avg Duration (ms)</th>
|
|
47
|
-
</tr>
|
|
48
|
-
</thead>
|
|
49
|
-
<tbody>
|
|
50
|
-
{{#each reportAnalyticsData.slowTests}}
|
|
51
|
-
<tr>
|
|
52
|
-
<td>{{this.test_id}}</td>
|
|
53
|
-
<td>{{this.avg_duration}}</td>
|
|
54
|
-
</tr>
|
|
55
|
-
{{/each}}
|
|
56
|
-
</tbody>
|
|
57
|
-
</table>
|
|
58
|
-
</section>
|
|
59
|
-
<script>
|
|
60
|
-
const ctx = document.getElementById('trendChart').getContext('2d');
|
|
61
|
-
const trendChart = new Chart(ctx, {
|
|
62
|
-
type: 'line',
|
|
63
|
-
data: {
|
|
64
|
-
labels: {{{ json chartData.labels }}},
|
|
65
|
-
datasets: [
|
|
66
|
-
{
|
|
67
|
-
label: 'Passed',
|
|
68
|
-
data: {{ json chartData.passed }},
|
|
69
|
-
borderColor: 'green',
|
|
70
|
-
fill: false
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: 'Failed',
|
|
74
|
-
data: {{ json chartData.failed }},
|
|
75
|
-
borderColor: 'red',
|
|
76
|
-
fill: false
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
label: 'Avg Duration (ms)',
|
|
80
|
-
data: {{ json chartData.avgDuration }},
|
|
81
|
-
borderColor: 'blue',
|
|
82
|
-
fill: false,
|
|
83
|
-
yAxisID: 'y1'
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
options: {
|
|
88
|
-
responsive: true,
|
|
89
|
-
scales: {
|
|
90
|
-
y: {
|
|
91
|
-
beginAtZero: true,
|
|
92
|
-
title: { display: true, text: 'Count' }
|
|
93
|
-
},
|
|
94
|
-
y1: {
|
|
95
|
-
beginAtZero: true,
|
|
96
|
-
position: 'right',
|
|
97
|
-
title: { display: true, text: 'Duration (ms)' },
|
|
98
|
-
grid: { drawOnChartArea: false }
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
</script>
|
package/dist/views/head.hbs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
<meta charset="UTF-8" />
|
|
3
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
4
|
-
<meta name="description" content="Ortoni Report - V3.0.5" />
|
|
5
|
-
<title>{{title}}</title>
|
|
6
|
-
<link rel="icon" href="https://raw.githubusercontent.com/ortoniKC/ortoni-report/refs/heads/main/favicon.png"
|
|
7
|
-
type="image/x-icon" />
|
|
8
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
|
|
9
|
-
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
|
|
10
|
-
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
11
|
-
</head>
|