ortoni-report 3.0.0 → 3.0.2
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 +42 -6
- package/dist/chunk-ZSIRUQUA.mjs +68 -0
- package/dist/cli/cli.js +21 -25686
- package/dist/cli/cli.mjs +2 -3021
- package/dist/ortoni-report.d.mts +7 -2
- package/dist/ortoni-report.d.ts +7 -2
- package/dist/ortoni-report.js +172 -29305
- package/dist/ortoni-report.mjs +162 -6646
- package/dist/views/analytics.hbs +105 -0
- package/dist/views/head.hbs +1 -1
- package/dist/views/main.hbs +188 -51
- package/dist/views/sidebar.hbs +8 -0
- package/dist/views/testIcons.hbs +1 -1
- package/dist/views/userInfo.hbs +35 -27
- package/package.json +11 -10
- package/readme.md +42 -28
- package/dist/chunk-DW4XGLAZ.mjs +0 -22743
- package/dist/views/navbar.hbs +0 -35
package/readme.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Ortoni Report
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A comprehensive and visually appealing HTML report generator tailored for Playwright tests. Designed with powerful features and customizable options, Ortoni Report simplifies the process of reviewing and managing test results, making test reporting more intuitive and accessible.
|
|
4
4
|
|
|
5
5
|
### Live Demo: [Ortoni Report](https://ortoni.letcode.in/)
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -12,41 +12,51 @@ Welcome to **Ortoni Report**, a comprehensive and visually appealing HTML report
|
|
|
12
12
|
|
|
13
13
|
### 1. **Organization & Navigation**
|
|
14
14
|
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **Dashboard**:
|
|
18
|
-
- **Tests**:
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
15
|
+
- **Sidebar Navigation**: Enjoy a clean and structured layout for seamless navigation.
|
|
16
|
+
- **Sections**:
|
|
17
|
+
- **Dashboard**: High-level overview of test analytics and trends.
|
|
18
|
+
- **Tests**: Dive into individual test details including logs, screenshots, and errors.
|
|
19
|
+
- **Analytics**: Track overall execution metrics, trends, and flaky/slow test insights.
|
|
20
|
+
- **Hierarchical Grouping**: Tests are organized by filename, suite, and project for better traceability.
|
|
21
|
+
- **Test History View**: Access up to 10 recent executions, categorized by suite and project.
|
|
22
|
+
- **Configurable Integration**: Easy setup with Playwright using TypeScript/JavaScript, along with customizable preferences.
|
|
23
|
+
- **Advanced Filtering**: Filter by project, tags, and status — with a reset option for full visibility.
|
|
23
24
|
|
|
24
25
|
### 2. **Detailed Reporting**
|
|
25
26
|
|
|
26
|
-
- **Comprehensive Test
|
|
27
|
-
- **
|
|
28
|
-
- **Selected Status Display**: The UI highlights the active status filter for clarity.
|
|
27
|
+
- **Comprehensive Test Data**: Includes status, duration, tags, logs, errors, screenshots, videos, and trace viewer.
|
|
28
|
+
- **Native Trace Viewer**: Directly open the trace viewer within the reporter.
|
|
29
29
|
|
|
30
30
|
### 3. **Visualization & Insights**
|
|
31
31
|
|
|
32
|
-
- **
|
|
33
|
-
-
|
|
34
|
-
- **
|
|
32
|
+
- **Test Analytics Dashboard** 🌟 **(New!)**
|
|
33
|
+
- Summary of total test runs, passed/failed counts, pass rate, and average duration.
|
|
34
|
+
- **Trends Over Time**: Line chart showing test results across the last 30 runs.
|
|
35
|
+
- **Top Flaky Tests**: Identify unstable tests quickly.
|
|
36
|
+
- **Slowest Tests**: View tests with highest average durations.
|
|
37
|
+
|
|
38
|
+
- **Chart Visualizations**:
|
|
39
|
+
- Pie or doughnut charts for test summary and per-project breakdowns **(Improved!)**
|
|
40
|
+
- Bar charts for project-specific comparisons.
|
|
41
|
+
- **Line Chart for Trends**: Visualize execution status progression over time.
|
|
42
|
+
|
|
43
|
+
- **Colorful UI**: Redesigned with vibrant, high-contrast visuals for improved readability and engagement.
|
|
35
44
|
|
|
36
45
|
### 4. **Customization & Personalization**
|
|
37
46
|
|
|
38
|
-
- **
|
|
39
|
-
- **Add
|
|
40
|
-
- **
|
|
41
|
-
- **Custom
|
|
47
|
+
- **Theme Support**: Switch between **light** and **dark** themes for a comfortable viewing experience.
|
|
48
|
+
- **Custom Branding**: Add your company or project logo for a branded look.
|
|
49
|
+
- **Flexible Attachments**: Choose between Base64 or file path formats for media files.
|
|
50
|
+
- **Custom Paths**: Define report filenames and output folders as needed.
|
|
42
51
|
|
|
43
52
|
### 5. **User Experience & Usability**
|
|
44
53
|
|
|
45
|
-
- **
|
|
46
|
-
- **
|
|
47
|
-
- **
|
|
48
|
-
- **
|
|
49
|
-
- **Meta**: Add user
|
|
54
|
+
- **Search & Reset**: Quickly search by keyword or status, with easy reset controls.
|
|
55
|
+
- **Skip Management**: Skipped tests are hidden by default to declutter views.
|
|
56
|
+
- **Self-Contained Reports**: Easily share and review offline-friendly reports.
|
|
57
|
+
- **Multi-Filters**: Combine filters for targeted test analysis.
|
|
58
|
+
- **Meta Information**: Add custom user or environment metadata to reports.
|
|
59
|
+
- **CLI**: Open the reporter anytime using the builin CLI
|
|
50
60
|
|
|
51
61
|
---
|
|
52
62
|
|
|
@@ -72,14 +82,16 @@ const reportConfig: OrtoniReportConfig = {
|
|
|
72
82
|
open: process.env.CI ? "never" : "always", // default to never
|
|
73
83
|
folderPath: "report-db",
|
|
74
84
|
filename: "index.html",
|
|
85
|
+
logo:"logo.{png, jpg}",
|
|
75
86
|
title: "Ortoni Test Report",
|
|
76
87
|
showProject: !true,
|
|
77
88
|
projectName: "Ortoni-Report",
|
|
78
89
|
testType: "e2e",
|
|
79
|
-
authorName: "Koushik
|
|
90
|
+
authorName: "Koushik",
|
|
80
91
|
base64Image: false,
|
|
81
92
|
stdIO: false,
|
|
82
93
|
preferredTheme: "light",
|
|
94
|
+
chartType: "doughnut" | "pie";
|
|
83
95
|
meta: {
|
|
84
96
|
project: "Playwright",
|
|
85
97
|
version: "3.0.0",
|
|
@@ -105,14 +117,16 @@ const reportConfig = {
|
|
|
105
117
|
open: process.env.CI ? "never" : "always",
|
|
106
118
|
folderPath: "report-db",
|
|
107
119
|
filename: "index.html",
|
|
120
|
+
logo:"logo.{png, jpg}",
|
|
108
121
|
title: "Ortoni Test Report",
|
|
109
122
|
showProject: !true,
|
|
110
123
|
projectName: "Ortoni-Report",
|
|
111
124
|
testType: "e2e",
|
|
112
|
-
authorName: "Koushik
|
|
125
|
+
authorName: "Koushik",
|
|
113
126
|
base64Image: false,
|
|
114
127
|
stdIO: false,
|
|
115
128
|
preferredTheme: "light",
|
|
129
|
+
chartType: "doughnut" | "pie";
|
|
116
130
|
meta: {
|
|
117
131
|
project: "Playwright",
|
|
118
132
|
version: "3.0.0",
|
|
@@ -205,6 +219,6 @@ Thank you for using **Ortoni Report**! I'm committed to providing you with a sup
|
|
|
205
219
|
|
|
206
220
|
---
|
|
207
221
|
**Developer & Designer**
|
|
208
|
-
Koushik Chatterjee
|
|
222
|
+
[Koushik Chatterjee](https://letcode.in/contact)
|
|
209
223
|
|
|
210
224
|
**LetCode with Koushik**
|