This is a simple reporter for failed test cases. It reports to specified api end point.
npm install pw-test-logs-reporter
To use this, you will need to set up the following environment variables:
FAILED_TEST_RESULTS_ENDPOINT
- Add the TestRailReporter instance to the reporters array in your Playwright Test configuration file
playwright.config.ts
Example:
const config: PlaywrightTestConfig = {
reporter: [
["list"],
["pw-test-logs-reporter"]
]
// ...
};
export default config;
- Test Run and test case results should be reported
This package is licensed under the MIT License