Skip to content

Reporter options

The full option set for @nijam/pw-reporter, passed as the second element of the reporter tuple in playwright.config.ts. For guided setup, see Configuration.

OptionTypeRequiredDefaultDescription
apiKeystringyesAPI key from the Nijam dashboard. Store as a CI secret.
projectIdstringyesProject ID (UUID) from the dashboard.
apiUrlstringnohttps://api.nijam.devAPI base URL. Defaults to the hosted Nijam API — you don’t normally need to set this.
environmentstringnoFree-form deploy tag (e.g. "staging"). Adds a dashboard filter; omitted runs show Unset.
uploadSourcebooleannotrueUpload spec source for inline rendering. false to opt out.
silentbooleannofalseSuppress all [nijam] log lines.
interface NijamReporterOptions {
apiKey: string;
projectId: string;
apiUrl?: string; // default: https://api.nijam.dev
environment?: string;
uploadSource?: boolean; // default: true
silent?: boolean; // default: false
}
BehaviorValue
Failure modeFail-soft — logs a [nijam] warning, never throws, never blocks CI.
Peer dependency@playwright/test >= 1.40.0
Node engine>= 18
Spec source max size256 KB (larger files skipped)
Upload concurrency4 (source and traces each)
Traces uploaded forfailed / timed-out tests only
LicenseMIT