@arghajit/playwright-pulse-report 0.1.3 → 0.1.4
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 +1 -2
- package/package.json +1 -1
- package/scripts/generate-static-report.mjs +9 -0
package/README.md
CHANGED
|
@@ -48,8 +48,6 @@ yarn add @arghajit/playwright-pulse-reporter --dev
|
|
|
48
48
|
pnpm add @arghajit/playwright-pulse-reporter --save-dev
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
*(Replace `@arghajit/playwright-pulse-reporter` with the actual published package name if you customized it)*
|
|
52
|
-
|
|
53
51
|
### 2. Configure Playwright
|
|
54
52
|
|
|
55
53
|
In your `playwright.config.ts` (or `.js`) file, add the custom reporter to the `reporter` array:
|
|
@@ -317,3 +315,4 @@ Pulse Report by default supports 5 mail recipients, and by running the command `
|
|
|
317
315
|
### - "0.1.1" : Added Sharding Support
|
|
318
316
|
### - "0.1.2" : Fixed browser filter and Added Browser Tag in Test Suite Card
|
|
319
317
|
### - "0.1.3" : Added Emailable report option
|
|
318
|
+
### - "0.1.4" : Added AI Analyser into the Report
|
package/package.json
CHANGED
|
@@ -1214,6 +1214,7 @@ function generateHTML(reportData) {
|
|
|
1214
1214
|
<div class="tabs">
|
|
1215
1215
|
<button class="tab-button active" data-tab="dashboard">Dashboard</button>
|
|
1216
1216
|
<button class="tab-button" data-tab="test-runs">Test Run Summary</button>
|
|
1217
|
+
<button class="tab-button" data-tab="test-ai">AI Analysis</button>
|
|
1217
1218
|
</div>
|
|
1218
1219
|
|
|
1219
1220
|
<div id="dashboard" class="tab-content active">
|
|
@@ -1289,6 +1290,14 @@ function generateHTML(reportData) {
|
|
|
1289
1290
|
${generateTestCasesHTML()}
|
|
1290
1291
|
</div>
|
|
1291
1292
|
</div>
|
|
1293
|
+
<div id="test-ai" class="tab-content">
|
|
1294
|
+
<iframe
|
|
1295
|
+
src="https://ai-test-analyser.netlify.app/"
|
|
1296
|
+
width="100%"
|
|
1297
|
+
height="600px"
|
|
1298
|
+
style="border: none;">
|
|
1299
|
+
</iframe>
|
|
1300
|
+
</div>
|
|
1292
1301
|
</div>
|
|
1293
1302
|
|
|
1294
1303
|
<script>
|