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/readme.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Ortoni Report
2
2
 
3
- Welcome to **Ortoni Report**, 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.
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
- ![Ortoni Report Preview](https://github.com/ortoniKC/ortoni-report/blob/V2.0.9/assets/images/release.gif?raw=true)
7
+ ![Ortoni Report Preview](assets/ortoni-report.gif)
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
- - **New Sidebar Navigation**: The previous navbar has been replaced with a sidebar, offering a more structured and intuitive navigation experience.
16
- - **Sidebar Sections**:
17
- - **Dashboard**: View overall test statistics and summaries.
18
- - **Tests**: Browse detailed test results, including logs, screenshots, and errors.
19
- - **Hierarchical Grouping**: Tests are structured by filename, suite, and project, providing an organized overview.
20
- - **Test History & Detailed Breakdown**: Support for displaying up to 10 recent executions, categorized by suite and project for easy navigation.
21
- - **Integration and Configuration**: Easy integration with Playwright using TypeScript/JavaScript, with configurable preferences.
22
- - **Advanced Filtering**: Filters for project, tags, and status, with the ability to reset for a full view.
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 Details**: Status, duration, tags, errors, logs, screenshots, videos, and trace data.
27
- - **Test Attachments**: Screenshots, videos, trace viewer, steps, error stack trace, and console logs.
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
- - **Summary Statistics**: Total tests and distribution of passed, failed, skipped, and flaky tests with success rates.
33
- - **Chart Visualizations**: Doughnut chart for overall status and bar charts for project-specific comparisons.
34
- - **All-New Colorful UI**: A vibrant, redesigned interface with better contrast and readability.
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
- - **New Color Scheme**: Supports both **light and dark themes**, ensuring a comfortable viewing experience.
39
- - **Add Your Logo**: Configurable logo for brand personalization.
40
- - **Flexibility with Attachments**: Choose Base64 or file paths for screenshots.
41
- - **Custom Report Paths**: Set custom filenames and folder paths for reports.
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
- - **Advanced Search and Reset**: Search tests with keywords or criteria, with reset options.
46
- - **Hide Skipped Tests by Default**: Simplifies view by hiding skipped tests initially.
47
- - **Share Reports**: Self-contained reports for easy sharing and review.
48
- - **Comprehensive Filters**: Apply multiple filters simultaneously for focused insights.
49
- - **Meta**: Add user meta information to the reporter
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 (LetCode with 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 (LetCode with 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 - [YouTuber](http://youtube.com/@letcode)
222
+ [Koushik Chatterjee](https://letcode.in/contact)
209
223
 
210
224
  **LetCode with Koushik**