pw-test-logs-reporter
v1.0.1
Published
Report failed test to test resource ctx
Downloads
1,922
Maintainers
Readme
pw-test-log-reporter
This is a simple reporter for failed test cases. It reports to specified api end point.
Installation
npm install pw-test-logs-reporter
Prerequisites
To use this, you will need to set up the following environment variables:
FAILED_TEST_RESULTS_ENDPOINT
Usage
- 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
License
This package is licensed under the MIT License