pw-test-logs-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

  1. 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;
  1. Test Run and test case results should be reported

License

This package is licensed under the MIT License

Package Sidebar

Install

npm i pw-test-logs-reporter

Weekly Downloads

311

Version

1.0.1

License

MIT

Unpacked Size

11.5 kB

Total Files

12

Last publish

Collaborators

  • ikoral