ortoni-report 1.1.4 → 1.1.5

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,4 +1,6 @@
1
1
  # Change Log:
2
+ ## Version 1.1.5
3
+ - Added config properly to readme
2
4
 
3
5
  ## Version 1.1.4
4
6
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <meta name="description" content="Plawright HTML report by LetCode Koushik">
7
+ <meta name="description" content="Plawright HTML report by LetCode Koushik - V1.1.5">
8
8
  <title>Playwright Test Report</title>
9
9
  <link rel="icon" href="node_modules/ortoni-report/dist/icon/32.png" type="image/x-icon">
10
10
  <link rel="stylesheet" href="node_modules/ortoni-report/dist/css/main.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ortoni-report",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Playwright Report By LetCode with Koushik",
5
5
  "scripts": {
6
6
  "test": "npx playwright test",
package/readme.md CHANGED
@@ -77,20 +77,15 @@ We are excited to announce the release of OrtoniReport (Playwright report - unof
77
77
  - **Flexible Configuration:** The reporter can be easily configured within your Playwright configuration file. Example:
78
78
  ```JS/TS
79
79
  import {OrtoniReportConfig} from "ortoni-report";
80
- let reportConfig: OrtoniReportConfig = {
80
+ const reportConfig: OrtoniReportConfig = {
81
81
  projectName: "Ortoni",
82
82
  testType: "Regression",
83
83
  authorName: "Koushik",
84
84
  preferredTheme: "light"
85
85
  };
86
86
 
87
- reporter: [["ortoni-report",
88
- {
89
- projectName: 'LetCode Playwright Report',
90
- authorName: 'Koushik',
91
- testType: 'E2E'
92
- }],
93
- ["dot"]],
87
+ reporter: [["ortoni-report", reportConfig],
88
+ ["dot"]],
94
89
  ```
95
90
 
96
91
  ### Comprehensive Test Details
@@ -118,20 +113,15 @@ Configure OrtoniReport in your `playwright.config.ts`:
118
113
  ```javascript/typescript
119
114
  import { defineConfig } from '@playwright/test';
120
115
  import {OrtoniReportConfig} from "ortoni-report";
121
- let reportConfig: OrtoniReportConfig = {
116
+ const reportConfig: OrtoniReportConfig = {
122
117
  projectName: "Ortoni",
123
118
  testType: "Regression",
124
119
  authorName: "Koushik",
125
120
  preferredTheme: "light"
126
121
  };
127
122
  export default defineConfig({
128
- reporter: [["ortoni-report",
129
- {
130
- projectName: 'LetCode Playwright Report',
131
- authorName: 'Koushik',
132
- testType: 'E2E'
133
- }],
134
- ["dot"]],
123
+ reporter: [["ortoni-report", reportConfig],
124
+ ["dot"]],
135
125
  // Other Playwright configurations
136
126
  });
137
127
  ```