@qualitywatcher/playwright-reporter
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

QualityWatcher reporter for Playwright

Publish Playwright test run on QualityWatcher

Install

npm i @qualitywatcher/playwright-reporter

Usage

Add reporter to your playwright.config.ts configuration file

// playwright.config.ts
import { PlaywrightTestConfig } from '@playwright/test';

const config: PlaywrightTestConfig = {
  reporter: [
    [
      '@qualitywatcher/playwright-reporter',
      {
        apiKey: 'Enter api key',
        projectId: 'Enter project id',
        testRunName: `${new Date().toLocaleDateString(
          'en-US'
        )} - automated run`,
        description: `triggered by automated run`,
        includeAllCases: true, // true/false
        complete: true, // optional - mark test run as completed to lock results
        includeCaseWithoutId: true, // optional - store results without mapping suite and case IDs
        excludeSkipped: false, // optional - whether or not to track skipped results
      },
    ],
  ],
};

Also, your playwright tests should include unique ID inside square brackets `[S14C801]` of your QualityWatcher test case:


## License

playwright-qualitywatcher is [MIT licensed](./LICENSE).

## Author

Nyran Moodie <nyranmoodie@gmail.com>

Readme

Keywords

none

Package Sidebar

Install

npm i @qualitywatcher/playwright-reporter

Weekly Downloads

76

Version

0.0.4

License

MIT

Unpacked Size

115 kB

Total Files

18

Last publish

Collaborators

  • nyranmoodie
  • ofindley
  • dimitriharding