Skip to content

Installation

@nijam/pw-reporter is the Nijam reporter for Playwright. It’s open source, fail-soft (it never breaks your test run), and uploads each run to the Nijam ingestion API. It’s zero-dependency and declares @playwright/test (>= 1.40) as a peer dependency, so it uses the Playwright you already have.

Terminal window
npm install --save-dev @nijam/pw-reporter

Playwright’s reporter field takes a list, so add Nijam alongside any reporters you already use:

playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
['list'], // keep your existing reporters
['@nijam/pw-reporter', {
apiKey: process.env.NIJAM_API_KEY,
projectId: '<your-project-uuid>',
}],
],
});

The two required options are apiKey and projectId - see Configuration for the full list and where to find them.

Run your suite. If Nijam is reachable and the credentials are valid, the run shows up in your project in the dashboard. If something’s off (bad key, wrong project, network), the reporter prints a [nijam] warning and your tests still pass/fail exactly as before.

Next: Configuration →