Skip to main content

Designed PDF reports for Playwright pytest runs: minimal, detailed, and executive templates.

Project description

reportforge-playwright-pdf

Designed PDF reports for Playwright pytest runs. Three templates cover three audiences: minimal for PR checks, detailed for QA deep dives, executive for stakeholder reviews.

Same product as the npm reporter @reportforge/playwright-pdf. One subscription key works across Node.js and Python, and machines share one cap.

Install

pip install reportforge-playwright-pdf

Requires playwright with browsers installed (python -m playwright install chromium). The plugin reuses Playwright's own Node runtime and Chromium, so there is nothing else to install.

Quick start

export RF_LICENSE_KEY=RFSU-XXXX-XXXX-XXXX-XXXX
pytest --pdf

The PDF lands at reports/report.pdf by default. Your tests always run in full; without an active subscription only the PDF is skipped.

Configuration

Flags for the common cases:

pytest --pdf --pdf-template=executive --pdf-output="reports/{date}-report.pdf"

Project defaults in pyproject.toml:

[tool.reportforge]
enabled = true
template = "detailed"
outputFile = "reports/{date}-{branch}-report.pdf"
projectName = "Checkout suite"

Every option of the npm reporter is accepted with the same camelCase names. The full reference lives at reportforge.org/docs/configuration; Python specifics at reportforge.org/docs/python.

What you get

  • Pass/fail/flaky/timeout KPIs, suite breakdown, charts, and a release recommendation
  • Failure deep dive with error text, on-device ML failure clustering, and screenshots from --screenshot=only-on-failure
  • Run history trend and run-over-run diff
  • Notifications to Slack, Teams, Discord, or email after the run
  • Display redaction and AES-256 PDF encryption when you need them

Live run streaming and step trees are available in the Node.js reporter today and are on the roadmap here.

License

Elastic License 2.0. A paid subscription is required to generate PDFs: reportforge.org/pricing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reportforge_playwright_pdf-0.28.0.tar.gz (917.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reportforge_playwright_pdf-0.28.0-py3-none-any.whl (928.8 kB view details)

Uploaded Python 3

File details

Details for the file reportforge_playwright_pdf-0.28.0.tar.gz.

File metadata

File hashes

Hashes for reportforge_playwright_pdf-0.28.0.tar.gz
Algorithm Hash digest
SHA256 4bfbed1e13dd926327e0a02e501d9517e0fc91104d08f2108ba7d96cf00786c2
MD5 29d750cdb2c40973aa952995485aa818
BLAKE2b-256 6deef70ee7a2daaac515e4d43c147dd7f7ac9bbf404d459b0868d4667d44d58f

See more details on using hashes here.

File details

Details for the file reportforge_playwright_pdf-0.28.0-py3-none-any.whl.

File metadata

File hashes

Hashes for reportforge_playwright_pdf-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfdea7ac4875494a754d27830536b2b3d589781b7a43456958b8885d86c42a5f
MD5 b2e2e870c725b672ba659864ec46b6cb
BLAKE2b-256 056fd3adf994e9736cab51f0a9cdd595783a876160b9371e8731249f43c69a08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page