2.3.1 • Published 1 year ago

@playwright-watch/reporter v2.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Playwright Watch reporter

A reporter for Playwright Watch, a tool for tracking and analyzing playwright test results.

Installation

Install package with npm, yarn, or pnpm:

npm install --save-dev @playwright-watch/playwright-watch-reporter
# or
yard add --dev @playwright-watch/playwright-watch-reporter
# or
pnpm install --save-dev @playwright-watch/playwright-watch-reporter

Register reporter in your playwright.config.ts:

import { PlaywrightTestConfig } from '@playwright/test';
import {
  getMetadata,
  getReporters,
} from '@playwright-watch/playwright-watch-reporter';

const config: PlaywrightTestConfig = {
  // ...
  metadata: {
    // ...
    ...getMetadata(),
  },
  reporter: [
    // ...
    ...getReporters({
      organization: '<your_organization_slug>',
      project: '<your_project_slug>',
      api_ket: '<your_organization_api_key>',
      supabaseProject: '<playwright_watch_supabase_project>',
      supabasePublicKey: '<playwright_watch_supabase_public_key>',
    }),
  ],
};

export default config;

Command-line interface

A reporter can be used as a command-line tool.

Environment Variables

The following environment variables need to be set in order for the app to function properly:

Warning API key should be stored securely. Do not commit it in your repository.

  • PLAYWRIGHT_WATCH_PROJECT: Project of the report. Projects can be created at projects list.
  • PLAYWRIGHT_WATCH_SUPABASE_PROJECT: Supabase project ID.
  • PLAYWRIGHT_WATCH_SUPABASE_PUBLIC_KEY: Public key of your supabase project.
2.3.1

1 year ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

1.0.0

2 years ago

2.0.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.3.0

2 years ago