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. The pytest and
Vitest reporters expose the same options under their own naming.
The pytest and Vitest reporters take the same options as Playwright - only the naming and where you set
them differ.
Playwright option
pytest ini option
Vitest constructor option
apiKey
nijam_api_key
apiKey
projectId
nijam_project_id
projectId
apiUrl
nijam_api_url
apiUrl
environment
nijam_environment
environment
uploadSource
nijam_upload_source
uploadSource
silent
nijam_silent
silent
-
nijam_auto_complete
autoComplete
pytest - set ini options in pytest.ini / [tool.pytest.ini_options]; NIJAM_API_KEY can also come
from the environment. The plugin auto-loads, so there’s no code to write.
Vitest - pass options to new NijamReporter({ … }) in vitest.config.ts. Vitest also needs
test.includeTaskLocation: true so the reporter can capture the failing line.