ortoni-report 2.0.9 → 3.0.1

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 CHANGED
@@ -1,306 +1,348 @@
1
- # Change Log:
2
-
3
- ## v2.0.9
4
-
5
- #### 📦 New Features
6
- - **Command to Open Report (CLI)**: Introduced a new command to open the Ortoni Report directly for streamlined access.
7
- ```
8
- npx ortoni-report show-report
9
- ```
10
-
11
- #### 👌 Improvements
12
- - **Database Optimization**: Enhanced database operations with transactions and indexing for better performance and reliability.
13
- - **CSS and UI Enhancements**:
14
- - Improved tabbed design for steps, errors, and logs (#50), ensuring an organized and intuitive user experience.
15
- - Added CSS improvements for tabs, enhancing visual clarity and usability.
16
- - Adjusted summary text position for better alignment and readability.
17
- - **Configuration Options**:
18
- - Added support for specifying directory, filename, and an optional port number for increased flexibility.
19
-
20
- ## v2.0.8
21
-
22
- #### 🐛 Fixes
23
- - **Peer Dependency**: Added peer dependecy to avoid external package conflict
24
-
25
- ## v2.0.7
26
-
27
- #### 📦 New Features
28
- - **Test History Display**: Added support for displaying test history up to the last 10 executions, providing better insight into recent test performance.
29
- - **Console Error Reporting**: Enhanced with console error display and the ability to skip report generation if no tests are found.
30
- - **Console Log Configuration**: Introduced a new `console` boolean configuration option to toggle the display of test console logs, set to `true` by default.
31
-
32
- #### 👌 Improvements
33
- - **UI and CSS Enhancements**:
34
- - Updated CSS color scheme and implemented minor UI tweaks for a more polished look.
35
- - Added project-specific icons for Chromium, Firefox, and WebKit to make test projects easily identifiable.
36
-
37
- #### 🐛 Fixes
38
- - **Trace Link Bug (#38)**: Fixed an issue where the trace link only captured the origin and not the pathname, ensuring accurate trace navigation.
39
-
40
-
41
-
42
- ## v2.0.6
43
-
44
- #### 🐛 Fixes
45
- - **Trace Path in Pipeline**: Resolved issue with incorrect trace file path in CI/CD pipeline, ensuring trace paths are properly resolved.
46
-
47
- #### 👌 Improvements
48
- - **Search Functionality**:
49
- - **Removed from Navbar**: Search functionality has been removed from the navbar to enhance navigation simplicity.
50
- - **Added to Test Panel**: Search functionality has been relocated to the test panel for more intuitive test filtering.
51
-
52
- - **UI Enhancements**:
53
- - Updated the overall UI with gradient color status indicators, making test status visuals more vibrant and user-friendly.
54
-
55
- ## v2.0.5
56
-
57
- ### 🚀 New Features
58
- - **Open report in localhost**: Introduced the ability to open the report on localhost with configurable options:
59
- - `open?: "always" | "never" | "on-failure"`.
60
- - **Open Trace viewer within the same browser**: Added functionality to view the Playwright trace within the same browser tab, enhancing the user experience.
61
-
62
- ### ✨ Improvements
63
- - **Perfect Test content UI**: Enhanced the UI of the test content for a more polished and user-friendly interface.
64
- - **Refactored code with multiple classes and utilities**: Codebase has been refactored for better organization, incorporating multiple classes and utilities to improve maintainability and scalability.
65
-
66
- ## Version 2.0.4
67
-
68
- ### 🚀 New Features
69
- - **Tags & Annotations**: Added support for tags and annotations, allowing for more detailed reporting and metadata.
70
- - **Project charts & summary UI**: Enhanced the user interface of project charts and the summary section for better presentation and usability.
71
-
72
- ### Improvements
73
-
74
- - **Snippets color**: Improved the color scheme of code snippets for better readability.
75
-
76
- ### 🛠 Fixes
77
- - **Console warning**: Resolved a console warning issue, improving overall stability.
78
-
79
- ### Documentation
80
- - **Removed colors package**: Updated documentation to reflect the removal of the `colors` package.
81
-
82
-
83
- ## Version 2.0.3
84
-
85
- #### 🚀 New Features
86
- - **Add screenshot attachment as pagination**: Now supports adding screenshot attachments for easier navigation and pagination.
87
- - **Bulma Inline CSS**: Integrated Bulma inline CSS for improved styling.
88
- - **Show card if the count has value**: Cards will now appear only when a valid count is present.
89
- - **Folder Path**: Introduced a new feature to store the result in the folder path.
90
-
91
- #### Improvements
92
- - **Chart JS as CDN**: Enhanced performance by switching Chart.js to be served via CDN.
93
- - **Theme icon, navbar & summary icons**: Refined the design of theme icons, navbar, and summary icons for a better user experience.
94
- - **User meta icons**: Updated and improved the appearance of user meta icons.
95
- - **Show selected filter on nav-end**: Filters now appear on the nav-end when selected.
96
- - **Filter logic**: Improved filter functionality by only displaying the filtered items, avoiding the use of the `includes` method.
97
- - **Logo link to page**: Clicking on the logo now navigates to the corresponding page.
98
- - **Minor tweaks**: Enhanced overall UI experience
99
-
100
- ## Version 2.0.2
101
-
102
- #### 🚀 New Features
103
-
104
- - **Show or Hide Projects in Test List**
105
- - You can now show or hide specific projects in the test list.
106
- - ```showProject: true``` from config
107
-
108
- - **Document Title from Config**
109
- - The document title is now configurable via the configuration file, allowing you to customize it to your preference.
110
-
111
- - **Display Tags in Test Section**
112
- - Tags associated with tests are now displayed within the test section, giving you a clearer overview of test categories.
113
-
114
- - **Project and Tags Added to Filter**
115
- - We've added the ability to filter tests by both project and tags, enhancing the granularity of your test views.
116
-
117
- - **Display Selected Status on UI**
118
- - The selected status filter is now visible on the UI, making it easier to track the current filter settings.
119
-
120
- #### 🛠 Fixes
121
-
122
- - **Project Drop-down Z-Index on Screenshot**
123
- - Resolved an issue where the project drop-down menu was being overlapped by screenshots. The z-index has been adjusted for proper layering.
124
-
125
- - **Project Filter Hide Test Steps**
126
- - Fixed a bug where applying the project filter would inadvertently hide test steps. Test steps are now correctly displayed based on the filter.
127
-
128
- #### Improvements
129
-
130
- - **Hide Skipped Tests on All Tests Filter**
131
- - Skipped tests are now hidden by default when using the "All Tests" filter, providing a cleaner and more focused view of relevant tests.
132
-
133
- - **Colorful Dashboard**
134
- - We've enhanced the visual appeal of the dashboard with more vibrant and intuitive colors, making it easier to navigate and interpret results.
135
-
136
-
137
- ## Version 2.0.1
138
- - Fixed local and root path issue of Parcel bundler.
139
- - Local config issue
140
-
141
- ## Version 2.0.0
142
- - Fixed local and root path issue of Parcel bundler.
143
-
144
- ## Version 1.1.9
145
-
146
- ### New Features
147
-
148
- - **Configurable Report Filename**: Introduced a new configuration attribute to set the filename for the generated report. The default value is `ortoni-report.html`.
149
- - **filename**: User can set the report file name.
150
-
151
- ### Command-Line Interface
152
-
153
- - **Generate Report Command**: Added a new CLI command to generate and bundle the report:
154
- ```sh
155
- npx ortoni-report gr
156
- ```
157
- This command allows users to easily generate the report with a single command.
158
-
159
- ### Enhancements
160
-
161
- - **Bundled Report**: The generated report is now bundled into a single file, making it easier to zip and share.
162
- - **Storage Location**: The bundled report is stored in the `project/ortoni-report` folder for better organization and accessibility.
163
-
164
-
165
- ## Version 1.1.8
166
-
167
- ### Fixed
168
- - CSS issue
169
-
170
- ## Version 1.1.7
171
-
172
- ### Fixed
173
- - Layout issue where the test column extends off-screen
174
- - Screenshot layout of tests executed on mobile viewport
175
-
176
- ### New
177
- - Add custom project/organization logo
178
- - Exception handling in `ortoni-report.ts`
179
- - Added docs to the `OrtoniReportConfig`
180
-
181
- ### Improved
182
- - Margin on Test List for better spacing
183
-
184
- ## Version 1.1.6
185
- - Implemented debounce function to reduce search event handling frequency.
186
- - Modified steps details to open only if a test has errors, enhancing UI clarity.
187
- - Optimized data load by removing unnecessary inner steps, improving performance.
188
- - Enhanced debug experience by adding file locations for each test step.
189
- - Implemented tags feature on test panels to categorize and filter tests efficiently.
190
- - Added support for attaching videos to test reports, enriching test documentation.
191
- - Introduced user option to choose between base64 images and file path for screenshots.
192
-
193
- ## Version 1.1.5
194
- - Added config properly to readme
195
-
196
- ## Version 1.1.4
197
-
198
- 1. **CSS Enhancement**: Updated CSS framework to Bulma for improved visualization and mobile responsiveness.
199
-
200
- 2. **Screenshots**: Implemented screenshot attachment as base64 images for enhanced report details.
201
-
202
- 3. **Toggle Theme Button**: Added a toggle theme button allowing users to switch between dark and light themes for better readability.
203
-
204
- 4. **Project Filtering**: Implemented filtering of tests by projects (e.g., chromium, firefox) to streamline test result views.
205
-
206
- 5. **Configuration Option**: Introduced `OrtoniReportConfig` for customizable report settings:
207
- ```typescript
208
- import {OrtoniReportConfig} from "ortoni-report";
209
- let reportConfig: OrtoniReportConfig = {
210
- projectName: "Ortoni",
211
- testType: "Regression",
212
- authorName: "Koushik",
213
- preferredTheme: "light"
214
- };
215
- reporter:[["ortoni-report", reportConfig]],
216
- ```
217
- 6. **Design Improvements**: Made overall design enhancements and added CSS transitions for smoother user interactions.
218
-
219
-
220
- ## Version 1.1.3
221
-
222
- **New Features:**
223
- - Added detailed steps to the testDetails section in the HTML report.
224
- - Introduced a new flaky icon for better visual representation in the report.
225
- - Display of test steps in the HTML report.
226
- - Added a filter for retry tests to better categorize and display them.
227
-
228
- **Improved:**
229
- - Updated the package dependencies to remove vulnerabilities.
230
- - Enhanced time formatting to include milliseconds in the duration display.
231
- - Enhanced the calculation and display of the success rate in the HTML report.
232
-
233
- ## Version 1.1.2
234
-
235
- **New Features:**
236
- - **Ellipsis Styling for Test Names:** Long test names are now truncated with ellipsis for better readability.
237
- - **Retry, Pass, Fail, and Skip Indicators:** Added visual indicators (images) to denote the status of each test, including retries.
238
- - **Enhanced `msToTime` Function:** Duration now includes milliseconds for more precise time tracking.
239
- - **Summary Filters:** Clicking on summary filters (passed, failed & other) to display the selected filter.
240
-
241
- **Improvements:**
242
- - **Unified Status Handling:** The `applyFilter` function now treats `failed` and `timedOut` statuses as the same for consistent filtering.
243
- - **Date and Time Formatting:** Passed date in the format `DD-MMM-YYYY` and included time for more detailed reporting.
244
- - **Success Rate and Last Run Data:** Added the ability to pass `successRate` and `lastRun` data to the `onEnd` method for comprehensive report details.
245
-
246
- **Bug Fixes:**
247
- - Fixed issues with conditionals in Handlebars for status checking.
248
- - Improved event listener attachment for filtering and search functionalities.
249
-
250
- **Notes:**
251
- - Screenshot handling has been enhanced with modal dialogs, using Pico.css for styling.
252
-
253
- This release includes several visual and functional enhancements aimed at improving the usability and readability of the Playwright test reports. The added features and improvements will help users better understand test outcomes and statuses at a glance.
254
-
255
- ### Version 1.1.0
256
-
257
- ## New Features
258
- - **Search Functionality:**
259
- - Added a search bar to filter tests by their title.
260
- - Display the relevant test name, project, and test file name while hiding others during search.
261
- - Reset search form to show all tests when cleared.
262
-
263
- ## Improvements
264
- - **Page Zoom:**
265
- - Set the HTML page zoom to 90% for better display on different screen sizes.
266
-
267
- ## Bug Fixes
268
- - **Event Listeners:**
269
- - Fixed an issue where test details would not display when clicking on filtered search results.
270
- - Ensured event listeners are correctly reattached after filtering search results.
271
-
272
- ## Style Adjustments
273
- - **CSS Adjustments:**
274
- - Adjusted body zoom for better overall display: `body { zoom: 0.9; }`
275
-
276
- ---
277
-
278
- ### Instructions for Users
279
- - Use the search bar to quickly find specific tests by their title.
280
- - Clear the search input to reset the view and display all tests.
281
- - Note that the page zoom has been set to 90% for optimal display.
282
-
283
- ### Version 1.0.9
284
-
285
- **Added:**
286
- 1. Added functionality to highlight selected test result in the list
287
- 2. Implemented search functionality to filter test results based on user input
288
- 3. Added reset functionality to display all tests when the search bar is cleared
289
- 4. Custome parameter to the report as Author Name, Project Name & Test type
290
- 5. Added highlight to the selected test name
291
- 6. Added overall execution time to the suite section where it also display #4
292
- 7. Added local CSS and fav icon of letcode.in
293
- 8. Added flaky test (Retry results)
294
-
295
- **Fixed**
296
- 1. File path based on unix/windows machine [ISSUE#1](https://github.com/ortoniKC/ortoni-report/issues/1)
297
- 2. Log & Error message display where it shows the actual html element
298
- 3. Skip test duration of 0s for the skipper test
299
- 4. Fixed Absolute path of test files
300
-
301
- **Changed:**
302
- 1. Modified the `displayTestDetails` function to remove highlights when displaying test details
303
- 2. Updated the `searchTests` function to show all tests when the search query is empty
304
- 3. Improved time format to HH:MM:SS
305
-
1
+ # Change Log:
2
+
3
+ ## v3.0.1
4
+
5
+ #### 👌 Improvements
6
+
7
+ 1. **Logo**:
8
+ - Add project specific logo to the dashboard page
9
+ - If logo is present then Dashboar text is hidden
10
+
11
+ 2. **Bundler size**:
12
+ - Reduced bundler package size from 1.20 mB to 104 kB
13
+ - Reduced bundler unpacked size from 5 mB to 760 kB
14
+
15
+ 3. **Test History**
16
+ - Improved test history UI
17
+
18
+ 4. **Chart**
19
+ - Improved chart layout with plot area chart for summary
20
+
21
+ #### 🐛 Fixes
22
+
23
+ 1. Percentage is taking retry also in count #64
24
+
25
+
26
+ ## v3.0.0
27
+
28
+ #### 📦 New Features
29
+ 1. **SideBar**:
30
+
31
+ - Navbar is removed and a new side bar is introduces.
32
+ - Summay and Tests in 2 different section
33
+
34
+ 2. **New Color Scheme**:
35
+ - All new design to enhance the user viewing and exploring options
36
+ - New Color scheme supports both dark and light theme
37
+
38
+ 3. **Meta section**:
39
+ - User can add meta information about the project or release cycle (Refer to the example)
40
+
41
+ 4. **Overall redisgn**:
42
+ - A new fresh UI look and perfomance increase
43
+
44
+
45
+ ## v2.0.9
46
+
47
+ #### 📦 New Features
48
+ - **Command to Open Report (CLI)**: Introduced a new command to open the Ortoni Report directly for streamlined access.
49
+ ```
50
+ npx ortoni-report show-report
51
+ ```
52
+
53
+ #### 👌 Improvements
54
+ - **Database Optimization**: Enhanced database operations with transactions and indexing for better performance and reliability.
55
+ - **CSS and UI Enhancements**:
56
+ - Improved tabbed design for steps, errors, and logs (#50), ensuring an organized and intuitive user experience.
57
+ - Added CSS improvements for tabs, enhancing visual clarity and usability.
58
+ - Adjusted summary text position for better alignment and readability.
59
+ - **Configuration Options**:
60
+ - Added support for specifying directory, filename, and an optional port number for increased flexibility.
61
+
62
+ ## v2.0.8
63
+
64
+ #### 🐛 Fixes
65
+ - **Peer Dependency**: Added peer dependecy to avoid external package conflict
66
+
67
+ ## v2.0.7
68
+
69
+ #### 📦 New Features
70
+ - **Test History Display**: Added support for displaying test history up to the last 10 executions, providing better insight into recent test performance.
71
+ - **Console Error Reporting**: Enhanced with console error display and the ability to skip report generation if no tests are found.
72
+ - **Console Log Configuration**: Introduced a new `console` boolean configuration option to toggle the display of test console logs, set to `true` by default.
73
+
74
+ #### 👌 Improvements
75
+ - **UI and CSS Enhancements**:
76
+ - Updated CSS color scheme and implemented minor UI tweaks for a more polished look.
77
+ - Added project-specific icons for Chromium, Firefox, and WebKit to make test projects easily identifiable.
78
+
79
+ #### 🐛 Fixes
80
+ - **Trace Link Bug (#38)**: Fixed an issue where the trace link only captured the origin and not the pathname, ensuring accurate trace navigation.
81
+
82
+
83
+
84
+ ## v2.0.6
85
+
86
+ #### 🐛 Fixes
87
+ - **Trace Path in Pipeline**: Resolved issue with incorrect trace file path in CI/CD pipeline, ensuring trace paths are properly resolved.
88
+
89
+ #### 👌 Improvements
90
+ - **Search Functionality**:
91
+ - **Removed from Navbar**: Search functionality has been removed from the navbar to enhance navigation simplicity.
92
+ - **Added to Test Panel**: Search functionality has been relocated to the test panel for more intuitive test filtering.
93
+
94
+ - **UI Enhancements**:
95
+ - Updated the overall UI with gradient color status indicators, making test status visuals more vibrant and user-friendly.
96
+
97
+ ## v2.0.5
98
+
99
+ ### 🚀 New Features
100
+ - **Open report in localhost**: Introduced the ability to open the report on localhost with configurable options:
101
+ - `open?: "always" | "never" | "on-failure"`.
102
+ - **Open Trace viewer within the same browser**: Added functionality to view the Playwright trace within the same browser tab, enhancing the user experience.
103
+
104
+ ### Improvements
105
+ - **Perfect Test content UI**: Enhanced the UI of the test content for a more polished and user-friendly interface.
106
+ - **Refactored code with multiple classes and utilities**: Codebase has been refactored for better organization, incorporating multiple classes and utilities to improve maintainability and scalability.
107
+
108
+ ## Version 2.0.4
109
+
110
+ ### 🚀 New Features
111
+ - **Tags & Annotations**: Added support for tags and annotations, allowing for more detailed reporting and metadata.
112
+ - **Project charts & summary UI**: Enhanced the user interface of project charts and the summary section for better presentation and usability.
113
+
114
+ ### Improvements
115
+
116
+ - **Snippets color**: Improved the color scheme of code snippets for better readability.
117
+
118
+ ### 🛠 Fixes
119
+ - **Console warning**: Resolved a console warning issue, improving overall stability.
120
+
121
+ ### Documentation
122
+ - **Removed colors package**: Updated documentation to reflect the removal of the `colors` package.
123
+
124
+
125
+ ## Version 2.0.3
126
+
127
+ #### 🚀 New Features
128
+ - **Add screenshot attachment as pagination**: Now supports adding screenshot attachments for easier navigation and pagination.
129
+ - **Bulma Inline CSS**: Integrated Bulma inline CSS for improved styling.
130
+ - **Show card if the count has value**: Cards will now appear only when a valid count is present.
131
+ - **Folder Path**: Introduced a new feature to store the result in the folder path.
132
+
133
+ #### Improvements
134
+ - **Chart JS as CDN**: Enhanced performance by switching Chart.js to be served via CDN.
135
+ - **Theme icon, navbar & summary icons**: Refined the design of theme icons, navbar, and summary icons for a better user experience.
136
+ - **User meta icons**: Updated and improved the appearance of user meta icons.
137
+ - **Show selected filter on nav-end**: Filters now appear on the nav-end when selected.
138
+ - **Filter logic**: Improved filter functionality by only displaying the filtered items, avoiding the use of the `includes` method.
139
+ - **Logo link to page**: Clicking on the logo now navigates to the corresponding page.
140
+ - **Minor tweaks**: Enhanced overall UI experience
141
+
142
+ ## Version 2.0.2
143
+
144
+ #### 🚀 New Features
145
+
146
+ - **Show or Hide Projects in Test List**
147
+ - You can now show or hide specific projects in the test list.
148
+ - ```showProject: true``` from config
149
+
150
+ - **Document Title from Config**
151
+ - The document title is now configurable via the configuration file, allowing you to customize it to your preference.
152
+
153
+ - **Display Tags in Test Section**
154
+ - Tags associated with tests are now displayed within the test section, giving you a clearer overview of test categories.
155
+
156
+ - **Project and Tags Added to Filter**
157
+ - We've added the ability to filter tests by both project and tags, enhancing the granularity of your test views.
158
+
159
+ - **Display Selected Status on UI**
160
+ - The selected status filter is now visible on the UI, making it easier to track the current filter settings.
161
+
162
+ #### 🛠 Fixes
163
+
164
+ - **Project Drop-down Z-Index on Screenshot**
165
+ - Resolved an issue where the project drop-down menu was being overlapped by screenshots. The z-index has been adjusted for proper layering.
166
+
167
+ - **Project Filter Hide Test Steps**
168
+ - Fixed a bug where applying the project filter would inadvertently hide test steps. Test steps are now correctly displayed based on the filter.
169
+
170
+ #### Improvements
171
+
172
+ - **Hide Skipped Tests on All Tests Filter**
173
+ - Skipped tests are now hidden by default when using the "All Tests" filter, providing a cleaner and more focused view of relevant tests.
174
+
175
+ - **Colorful Dashboard**
176
+ - We've enhanced the visual appeal of the dashboard with more vibrant and intuitive colors, making it easier to navigate and interpret results.
177
+
178
+
179
+ ## Version 2.0.1
180
+ - Fixed local and root path issue of Parcel bundler.
181
+ - Local config issue
182
+
183
+ ## Version 2.0.0
184
+ - Fixed local and root path issue of Parcel bundler.
185
+
186
+ ## Version 1.1.9
187
+
188
+ ### New Features
189
+
190
+ - **Configurable Report Filename**: Introduced a new configuration attribute to set the filename for the generated report. The default value is `ortoni-report.html`.
191
+ - **filename**: User can set the report file name.
192
+
193
+ ### Command-Line Interface
194
+
195
+ - **Generate Report Command**: Added a new CLI command to generate and bundle the report:
196
+ ```sh
197
+ npx ortoni-report gr
198
+ ```
199
+ This command allows users to easily generate the report with a single command.
200
+
201
+ ### Enhancements
202
+
203
+ - **Bundled Report**: The generated report is now bundled into a single file, making it easier to zip and share.
204
+ - **Storage Location**: The bundled report is stored in the `project/ortoni-report` folder for better organization and accessibility.
205
+
206
+
207
+ ## Version 1.1.8
208
+
209
+ ### Fixed
210
+ - CSS issue
211
+
212
+ ## Version 1.1.7
213
+
214
+ ### Fixed
215
+ - Layout issue where the test column extends off-screen
216
+ - Screenshot layout of tests executed on mobile viewport
217
+
218
+ ### New
219
+ - Add custom project/organization logo
220
+ - Exception handling in `ortoni-report.ts`
221
+ - Added docs to the `OrtoniReportConfig`
222
+
223
+ ### Improved
224
+ - Margin on Test List for better spacing
225
+
226
+ ## Version 1.1.6
227
+ - Implemented debounce function to reduce search event handling frequency.
228
+ - Modified steps details to open only if a test has errors, enhancing UI clarity.
229
+ - Optimized data load by removing unnecessary inner steps, improving performance.
230
+ - Enhanced debug experience by adding file locations for each test step.
231
+ - Implemented tags feature on test panels to categorize and filter tests efficiently.
232
+ - Added support for attaching videos to test reports, enriching test documentation.
233
+ - Introduced user option to choose between base64 images and file path for screenshots.
234
+
235
+ ## Version 1.1.5
236
+ - Added config properly to readme
237
+
238
+ ## Version 1.1.4
239
+
240
+ 1. **CSS Enhancement**: Updated CSS framework to Bulma for improved visualization and mobile responsiveness.
241
+
242
+ 2. **Screenshots**: Implemented screenshot attachment as base64 images for enhanced report details.
243
+
244
+ 3. **Toggle Theme Button**: Added a toggle theme button allowing users to switch between dark and light themes for better readability.
245
+
246
+ 4. **Project Filtering**: Implemented filtering of tests by projects (e.g., chromium, firefox) to streamline test result views.
247
+
248
+ 5. **Configuration Option**: Introduced `OrtoniReportConfig` for customizable report settings:
249
+ ```typescript
250
+ import {OrtoniReportConfig} from "ortoni-report";
251
+ let reportConfig: OrtoniReportConfig = {
252
+ projectName: "Ortoni",
253
+ testType: "Regression",
254
+ authorName: "Koushik",
255
+ preferredTheme: "light"
256
+ };
257
+ reporter:[["ortoni-report", reportConfig]],
258
+ ```
259
+ 6. **Design Improvements**: Made overall design enhancements and added CSS transitions for smoother user interactions.
260
+
261
+
262
+ ## Version 1.1.3
263
+
264
+ **New Features:**
265
+ - Added detailed steps to the testDetails section in the HTML report.
266
+ - Introduced a new flaky icon for better visual representation in the report.
267
+ - Display of test steps in the HTML report.
268
+ - Added a filter for retry tests to better categorize and display them.
269
+
270
+ **Improved:**
271
+ - Updated the package dependencies to remove vulnerabilities.
272
+ - Enhanced time formatting to include milliseconds in the duration display.
273
+ - Enhanced the calculation and display of the success rate in the HTML report.
274
+
275
+ ## Version 1.1.2
276
+
277
+ **New Features:**
278
+ - **Ellipsis Styling for Test Names:** Long test names are now truncated with ellipsis for better readability.
279
+ - **Retry, Pass, Fail, and Skip Indicators:** Added visual indicators (images) to denote the status of each test, including retries.
280
+ - **Enhanced `msToTime` Function:** Duration now includes milliseconds for more precise time tracking.
281
+ - **Summary Filters:** Clicking on summary filters (passed, failed & other) to display the selected filter.
282
+
283
+ **Improvements:**
284
+ - **Unified Status Handling:** The `applyFilter` function now treats `failed` and `timedOut` statuses as the same for consistent filtering.
285
+ - **Date and Time Formatting:** Passed date in the format `DD-MMM-YYYY` and included time for more detailed reporting.
286
+ - **Success Rate and Last Run Data:** Added the ability to pass `successRate` and `lastRun` data to the `onEnd` method for comprehensive report details.
287
+
288
+ **Bug Fixes:**
289
+ - Fixed issues with conditionals in Handlebars for status checking.
290
+ - Improved event listener attachment for filtering and search functionalities.
291
+
292
+ **Notes:**
293
+ - Screenshot handling has been enhanced with modal dialogs, using Pico.css for styling.
294
+
295
+ This release includes several visual and functional enhancements aimed at improving the usability and readability of the Playwright test reports. The added features and improvements will help users better understand test outcomes and statuses at a glance.
296
+
297
+ ### Version 1.1.0
298
+
299
+ ## New Features
300
+ - **Search Functionality:**
301
+ - Added a search bar to filter tests by their title.
302
+ - Display the relevant test name, project, and test file name while hiding others during search.
303
+ - Reset search form to show all tests when cleared.
304
+
305
+ ## Improvements
306
+ - **Page Zoom:**
307
+ - Set the HTML page zoom to 90% for better display on different screen sizes.
308
+
309
+ ## Bug Fixes
310
+ - **Event Listeners:**
311
+ - Fixed an issue where test details would not display when clicking on filtered search results.
312
+ - Ensured event listeners are correctly reattached after filtering search results.
313
+
314
+ ## Style Adjustments
315
+ - **CSS Adjustments:**
316
+ - Adjusted body zoom for better overall display: `body { zoom: 0.9; }`
317
+
318
+ ---
319
+
320
+ ### Instructions for Users
321
+ - Use the search bar to quickly find specific tests by their title.
322
+ - Clear the search input to reset the view and display all tests.
323
+ - Note that the page zoom has been set to 90% for optimal display.
324
+
325
+ ### Version 1.0.9
326
+
327
+ **Added:**
328
+ 1. Added functionality to highlight selected test result in the list
329
+ 2. Implemented search functionality to filter test results based on user input
330
+ 3. Added reset functionality to display all tests when the search bar is cleared
331
+ 4. Custome parameter to the report as Author Name, Project Name & Test type
332
+ 5. Added highlight to the selected test name
333
+ 6. Added overall execution time to the suite section where it also display #4
334
+ 7. Added local CSS and fav icon of letcode.in
335
+ 8. Added flaky test (Retry results)
336
+
337
+ **Fixed**
338
+ 1. File path based on unix/windows machine [ISSUE#1](https://github.com/ortoniKC/ortoni-report/issues/1)
339
+ 2. Log & Error message display where it shows the actual html element
340
+ 3. Skip test duration of 0s for the skipper test
341
+ 4. Fixed Absolute path of test files
342
+
343
+ **Changed:**
344
+ 1. Modified the `displayTestDetails` function to remove highlights when displaying test details
345
+ 2. Updated the `searchTests` function to show all tests when the search query is empty
346
+ 3. Improved time format to HH:MM:SS
347
+
306
348
  These changes improve the user experience by allowing users to easily search for specific tests and providing visual feedback when selecting a test result from the list.