https://github.com/vitalets/playwright-webhook-reporter
Universal Playwright reporter to send test results to any webhook
https://github.com/vitalets/playwright-webhook-reporter
Last synced: 7 months ago
JSON representation
Universal Playwright reporter to send test results to any webhook
- Host: GitHub
- URL: https://github.com/vitalets/playwright-webhook-reporter
- Owner: vitalets
- License: mit
- Created: 2024-07-24T12:21:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-24T12:23:01.000Z (about 1 year ago)
- Last Synced: 2025-03-17T22:31:54.646Z (7 months ago)
- Language: JavaScript
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# playwright-webhook-reporter
[](https://www.npmjs.com/package/playwright-webhook-reporter)
[](https://github.com/vitalets/playwright-webhook-reporter/blob/main/LICENSE)Universal [Playwright](https://playwright.dev/) reporter to send test results to any webhook.
Handy presets are included.## Installation
```
```## Usage
### Raw
```ts
import { defineConfig } from '@playwright/test';
import { webhookReporter } from 'playwright-webhook-reporter';export default defineConfig({
reporter: [
webhookReporter('raw', {
webhookUrl: 'https://webhook.site/dc15c506-0fef-4e4e-b8f7-29e9111e0831',
method: 'post',
headers: {
'x-my-header': 'foo'
},
// body:
})
]
});
```## Feedback
Feel free to share your feedback and suggestions in [issues](https://github.com/vitalets/playwright-network-cache/issues).## License
[MIT](https://github.com/vitalets/playwright-network-cache/blob/main/LICENSE)