test-analytics-reporter 1.0.0
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/LICENSE +21 -0
- package/README.md +101 -0
- package/dist/reporter.d.ts +25 -0
- package/dist/reporter.js +117 -0
- package/dist/reporter.js.map +1 -0
- package/package.json +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 vijayravindran90
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# test-analytics-reporter
|
|
2
|
+
|
|
3
|
+
A Playwright test reporter that sends test results to the Test Analytics Dashboard.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install test-analytics-reporter
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Add the reporter to your `playwright.config.ts`:
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { defineConfig, devices } from '@playwright/test';
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
testDir: './tests',
|
|
20
|
+
reporter: [
|
|
21
|
+
['html'],
|
|
22
|
+
[
|
|
23
|
+
'test-analytics-reporter',
|
|
24
|
+
{
|
|
25
|
+
backendUrl: process.env.ANALYTICS_API_URL || 'http://localhost:3001/api',
|
|
26
|
+
projectId: process.env.PROJECT_ID || 'default-project',
|
|
27
|
+
projectName: process.env.PROJECT_NAME || 'Default Project',
|
|
28
|
+
apiKey: process.env.API_KEY,
|
|
29
|
+
enabled: true,
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
],
|
|
33
|
+
use: {
|
|
34
|
+
baseURL: 'http://localhost:3000',
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Environment Variables
|
|
40
|
+
|
|
41
|
+
- `ANALYTICS_API_URL` - The Test Analytics API endpoint (default: `http://localhost:3001/api`)
|
|
42
|
+
- `PROJECT_ID` - Your project ID in the analytics dashboard
|
|
43
|
+
- `PROJECT_NAME` - Display name for your project
|
|
44
|
+
- `API_KEY` - Optional API key for authentication
|
|
45
|
+
|
|
46
|
+
## Configuration
|
|
47
|
+
|
|
48
|
+
### Reporter Options
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
{
|
|
52
|
+
backendUrl: string; // Test Analytics API URL
|
|
53
|
+
projectId: string; // Project identifier
|
|
54
|
+
projectName?: string; // Project display name
|
|
55
|
+
apiKey?: string; // Optional API key
|
|
56
|
+
enabled?: boolean; // Enable/disable reporter (default: true)
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## How It Works
|
|
61
|
+
|
|
62
|
+
1. Runs your Playwright tests
|
|
63
|
+
2. Collects test results and metrics
|
|
64
|
+
3. Sends data to Test Analytics Dashboard
|
|
65
|
+
4. Displays pass rate, failure rate, flakiness, and performance metrics
|
|
66
|
+
|
|
67
|
+
## Example GitHub Actions Usage
|
|
68
|
+
|
|
69
|
+
```yaml
|
|
70
|
+
name: Run Tests with Analytics
|
|
71
|
+
|
|
72
|
+
on: [push, pull_request]
|
|
73
|
+
|
|
74
|
+
jobs:
|
|
75
|
+
test:
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
steps:
|
|
78
|
+
- uses: actions/checkout@v4
|
|
79
|
+
- uses: actions/setup-node@v4
|
|
80
|
+
with:
|
|
81
|
+
node-version: 18
|
|
82
|
+
|
|
83
|
+
- run: npm ci
|
|
84
|
+
- run: npm install @reporter/test-analytics-reporter
|
|
85
|
+
- run: npx playwright install --with-deps
|
|
86
|
+
|
|
87
|
+
- name: Run Playwright Tests
|
|
88
|
+
run: npx playwright test
|
|
89
|
+
env:
|
|
90
|
+
ANALYTICS_API_URL: ${{ secrets.ANALYTICS_API_URL }}
|
|
91
|
+
PROJECT_ID: ${{ secrets.PROJECT_ID }}
|
|
92
|
+
PROJECT_NAME: 'My Project'
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
MIT
|
|
98
|
+
|
|
99
|
+
## Support
|
|
100
|
+
|
|
101
|
+
For issues and feature requests, visit: https://github.com/vijayravindran90/Test-analytics
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Reporter, TestCase, TestResult, FullConfig } from '@playwright/test/reporter';
|
|
2
|
+
interface ReporterConfig {
|
|
3
|
+
backendUrl: string;
|
|
4
|
+
projectId: string;
|
|
5
|
+
projectName: string;
|
|
6
|
+
apiKey?: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
batchSize?: number;
|
|
9
|
+
}
|
|
10
|
+
declare class PlaywrightAnalyticsReporter implements Reporter {
|
|
11
|
+
private config;
|
|
12
|
+
private testResults;
|
|
13
|
+
private startTime;
|
|
14
|
+
private testRetries;
|
|
15
|
+
private testStartTimes;
|
|
16
|
+
constructor(config: ReporterConfig);
|
|
17
|
+
onBegin(config: FullConfig): Promise<void>;
|
|
18
|
+
onTestBegin(test: TestCase): Promise<void>;
|
|
19
|
+
onTestEnd(test: TestCase, result: TestResult): Promise<void>;
|
|
20
|
+
onEnd(): Promise<void>;
|
|
21
|
+
private sendTestResults;
|
|
22
|
+
private generateTestId;
|
|
23
|
+
private mapPlaywrightStatus;
|
|
24
|
+
}
|
|
25
|
+
export default PlaywrightAnalyticsReporter;
|
package/dist/reporter.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const axios_1 = __importDefault(require("axios"));
|
|
7
|
+
const uuid_1 = require("uuid");
|
|
8
|
+
class PlaywrightAnalyticsReporter {
|
|
9
|
+
constructor(config) {
|
|
10
|
+
this.testResults = [];
|
|
11
|
+
this.startTime = new Date();
|
|
12
|
+
this.testRetries = new Map();
|
|
13
|
+
this.testStartTimes = new Map();
|
|
14
|
+
this.config = {
|
|
15
|
+
batchSize: 50,
|
|
16
|
+
enabled: true,
|
|
17
|
+
...config,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
async onBegin(config) {
|
|
21
|
+
if (this.config.enabled) {
|
|
22
|
+
console.log(`[Analytics] Starting test run for project: ${this.config.projectName}`);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
async onTestBegin(test) {
|
|
26
|
+
const testId = this.generateTestId(test);
|
|
27
|
+
this.testStartTimes.set(testId, new Date());
|
|
28
|
+
this.testRetries.set(testId, 0);
|
|
29
|
+
}
|
|
30
|
+
async onTestEnd(test, result) {
|
|
31
|
+
if (!this.config.enabled)
|
|
32
|
+
return;
|
|
33
|
+
const testId = this.generateTestId(test);
|
|
34
|
+
const startTime = this.testStartTimes.get(testId) || new Date();
|
|
35
|
+
const endTime = new Date();
|
|
36
|
+
const duration = endTime.getTime() - startTime.getTime();
|
|
37
|
+
const retries = this.testRetries.get(testId) || 0;
|
|
38
|
+
this.testRetries.set(testId, retries + 1);
|
|
39
|
+
// Map Playwright status to our status format
|
|
40
|
+
const status = this.mapPlaywrightStatus(result.status);
|
|
41
|
+
const testAnalyticsResult = {
|
|
42
|
+
id: (0, uuid_1.v4)(),
|
|
43
|
+
projectId: this.config.projectId,
|
|
44
|
+
projectName: this.config.projectName,
|
|
45
|
+
testId,
|
|
46
|
+
testName: test.title,
|
|
47
|
+
status,
|
|
48
|
+
duration,
|
|
49
|
+
retries: result.retry,
|
|
50
|
+
flakyAttempts: result.retry > 0 ? result.retry : 0,
|
|
51
|
+
startTime,
|
|
52
|
+
endTime,
|
|
53
|
+
error: result.error?.message || undefined,
|
|
54
|
+
tags: [],
|
|
55
|
+
browser: 'unknown',
|
|
56
|
+
os: 'unknown',
|
|
57
|
+
environment: process.env.TEST_ENV || 'unknown',
|
|
58
|
+
buildId: process.env.CI_BUILD_ID || process.env.GITHUB_RUN_ID,
|
|
59
|
+
branchName: process.env.CI_COMMIT_BRANCH || process.env.GITHUB_REF_NAME || 'unknown',
|
|
60
|
+
commitHash: process.env.CI_COMMIT_SHA || process.env.GITHUB_SHA,
|
|
61
|
+
author: process.env.CI_COMMIT_AUTHOR || process.env.GITHUB_ACTOR,
|
|
62
|
+
};
|
|
63
|
+
this.testResults.push(testAnalyticsResult);
|
|
64
|
+
// Send batch if we've reached batch size
|
|
65
|
+
if (this.testResults.length >= (this.config.batchSize || 50)) {
|
|
66
|
+
await this.sendTestResults();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
async onEnd() {
|
|
70
|
+
if (!this.config.enabled)
|
|
71
|
+
return;
|
|
72
|
+
// Send remaining results
|
|
73
|
+
if (this.testResults.length > 0) {
|
|
74
|
+
await this.sendTestResults();
|
|
75
|
+
}
|
|
76
|
+
console.log(`[Analytics] Test run completed. Results sent to ${this.config.backendUrl}`);
|
|
77
|
+
}
|
|
78
|
+
async sendTestResults() {
|
|
79
|
+
if (this.testResults.length === 0)
|
|
80
|
+
return;
|
|
81
|
+
try {
|
|
82
|
+
const headers = {
|
|
83
|
+
'Content-Type': 'application/json',
|
|
84
|
+
};
|
|
85
|
+
if (this.config.apiKey) {
|
|
86
|
+
headers['Authorization'] = `Bearer ${this.config.apiKey}`;
|
|
87
|
+
}
|
|
88
|
+
await axios_1.default.post(`${this.config.backendUrl}/tests/batch`, {
|
|
89
|
+
results: this.testResults,
|
|
90
|
+
projectId: this.config.projectId,
|
|
91
|
+
projectName: this.config.projectName,
|
|
92
|
+
timestamp: new Date(),
|
|
93
|
+
}, { headers });
|
|
94
|
+
console.log(`[Analytics] Sent ${this.testResults.length} test results`);
|
|
95
|
+
this.testResults = [];
|
|
96
|
+
}
|
|
97
|
+
catch (error) {
|
|
98
|
+
console.error('[Analytics] Failed to send test results:', error);
|
|
99
|
+
// Don't throw - we don't want failed analytics to break tests
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
generateTestId(test) {
|
|
103
|
+
return `${test.location?.file || 'unknown'}::${test.title}`;
|
|
104
|
+
}
|
|
105
|
+
mapPlaywrightStatus(status) {
|
|
106
|
+
const statusMap = {
|
|
107
|
+
passed: 'PASSED',
|
|
108
|
+
failed: 'FAILED',
|
|
109
|
+
timedOut: 'TIMEOUT',
|
|
110
|
+
skipped: 'SKIPPED',
|
|
111
|
+
interrupted: 'FAILED',
|
|
112
|
+
};
|
|
113
|
+
return statusMap[status] || 'FAILED';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.default = PlaywrightAnaly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BAChC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW;gBACpC,SAAS,EAAE,IAAI,IAAI,EAAE;aACtB,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;YAEhB,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,CAAC,WAAW,CAAC,MAAM,eAAe,CAAC,CAAC;YACxE,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACxB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,0CAA0C,EAAE,KAAK,CAAC,CAAC;YACjE,8DAA8D;QAChE,CAAC;IACH,CAAC;IAEO,cAAc,CAAC,IAAc;QACnC,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,SAAS,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;IAC9D,CAAC;IAEO,mBAAmB,CACzB,MAAoE;QAEpE,MAAM,SAAS,GAAkD;YAC/D,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,QAAQ;SACtB,CAAC;QACF,OAAO,SAAS,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC;IACvC,CAAC;CACF;AAED,kBAAe,2BAA2B,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "test-analytics-reporter",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Playwright test reporter for sending results to Test Analytics Dashboard",
|
|
5
|
+
"main": "dist/reporter.js",
|
|
6
|
+
"types": "dist/reporter.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/vijayravindran90/Test-analytics.git",
|
|
19
|
+
"directory": "packages/reporter"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"playwright",
|
|
23
|
+
"test",
|
|
24
|
+
"testing",
|
|
25
|
+
"reporter",
|
|
26
|
+
"analytics",
|
|
27
|
+
"dashboard",
|
|
28
|
+
"ci-cd",
|
|
29
|
+
"automated-testing"
|
|
30
|
+
],
|
|
31
|
+
"author": "vijayravindran90",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/vijayravindran90/Test-analytics/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/vijayravindran90/Test-analytics#readme",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@playwright/test": "^1.40.0",
|
|
39
|
+
"axios": "^1.6.0",
|
|
40
|
+
"test-analytics-shared": "file:../shared",
|
|
41
|
+
"uuid": "^9.0.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/node": "^20.0.0",
|
|
45
|
+
"@types/uuid": "^9.0.0",
|
|
46
|
+
"typescript": "^5.3.3"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
}
|
|
51
|
+
}
|