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.
Install
Section titled “Install”npm install --save-dev @nijam/pw-reporterpnpm add -D @nijam/pw-reporteryarn add -D @nijam/pw-reporterbun add -d @nijam/pw-reporterConfigure
Section titled “Configure”Playwright’s reporter field takes a list, so add Nijam alongside any reporters you already use:
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.
Verify
Section titled “Verify”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 →