@reportforge/playwright-pdf 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Three templates, one reporter. Every PDF is fully offline: fonts, charts, and sc
|
|
|
68
68
|
- **Executive report brief band**: leads with a plain-language brief (trend + root causes) and one hero pass-rate number instead of a flat KPI grid
|
|
69
69
|
- **Data protection**: AES-256 password-protected PDFs (no external tools) and opt-in redaction of credentials/PII in report content and live streams
|
|
70
70
|
- **Hybrid licensing**: one short key unlocks it; reports keep rendering offline via a locally cached license between refreshes
|
|
71
|
-
- **Python and .NET support**: the same reports for pytest-playwright (`reportforge-playwright-pdf` on PyPI) and for NUnit/MSTest/xUnit (`ReportForge.Playwright.Pdf` on NuGet); one subscription key covers every ecosystem
|
|
71
|
+
- **Python and .NET support**: the same reports for pytest-playwright (`reportforge-playwright-pdf` on PyPI) and for NUnit/MSTest/xUnit (`ReportForge.Playwright.Pdf` on NuGet); one subscription key covers every ecosystem, and live runs stream from all three (step trees are Node.js-only today)
|
|
72
72
|
- **Update notice**: when a newer reporter version is published, each run ends with one info line naming it and the update command; no extra network calls
|
|
73
73
|
|
|
74
74
|
---
|
|
@@ -180,7 +180,7 @@ template = "detailed"
|
|
|
180
180
|
outputFile = "reports/{date}-{branch}-report.pdf"
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
-
The plugin reuses the Node runtime and Chromium that Playwright for Python already ships, so there is nothing else to install. pytest-xdist and pytest-rerunfailures are supported; failure screenshots from `--screenshot only-on-failure` are embedded, and trace/video artifacts from `--tracing` / `--video` feed the defect log's evidence links (pair with `evidenceUrlTemplate` for clickable CI links). Passing `--browser` more than once splits the report into one project per browser and unlocks the cross-browser comparison section.
|
|
183
|
+
The plugin reuses the Node runtime and Chromium that Playwright for Python already ships, so there is nothing else to install. pytest-xdist and pytest-rerunfailures are supported; failure screenshots from `--screenshot only-on-failure` are embedded, and trace/video artifacts from `--tracing` / `--video` feed the defect log's evidence links (pair with `evidenceUrlTemplate` for clickable CI links). Passing `--browser` more than once splits the report into one project per browser and unlocks the cross-browser comparison section. Enable `[tool.reportforge.live] enabled = true` and the run streams to a shareable watch page, same as Node.js; step trees stay Node.js-only today. Full guide: [reportforge.org/docs/python](https://reportforge.org/docs/python).
|
|
184
184
|
|
|
185
185
|
---
|
|
186
186
|
|
|
@@ -195,7 +195,7 @@ set RF_LICENSE_KEY=RFSU-XXXX-XXXX-XXXX-XXXX
|
|
|
195
195
|
dotnet test --logger "reportforge;output=reports/run.pdf;template=detailed"
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
Full options come from a JSON file with the same camelCase names as this reporter: `--logger "reportforge;optionsFile=rf-options.json"`. The logger reuses the Node runtime Microsoft.Playwright places in your test output and a Playwright-managed Chromium, so there is nothing else to install. Retried tests render as flaky with their attempt history; categories become tags. Trace archives and videos attached via `TestContext.AddTestAttachment` feed the defect log's evidence links (pair with `evidenceUrlTemplate` for clickable CI links). A `dotnet test` run drives one browser, so the cross-browser comparison section stays hidden here
|
|
198
|
+
Full options come from a JSON file with the same camelCase names as this reporter: `--logger "reportforge;optionsFile=rf-options.json"`. The logger reuses the Node runtime Microsoft.Playwright places in your test output and a Playwright-managed Chromium, so there is nothing else to install. Retried tests render as flaky with their attempt history; categories become tags. Trace archives and videos attached via `TestContext.AddTestAttachment` feed the defect log's evidence links (pair with `evidenceUrlTemplate` for clickable CI links). A `dotnet test` run drives one browser, so the cross-browser comparison section stays hidden here. Add `"live": { "enabled": true }` to the options file and the run streams to a shareable watch page (rows appear as tests finish); step trees stay Node.js-only today. Full guide: [reportforge.org/docs/dotnet](https://reportforge.org/docs/dotnet).
|
|
199
199
|
|
|
200
200
|
---
|
|
201
201
|
|
|
@@ -288,6 +288,8 @@ reporter: [
|
|
|
288
288
|
|
|
289
289
|
Sharded runs need no extra config: every shard of one CI run converges on the same live view automatically. Set `RF_LIVE_RUN_ID` to override when your CI is not auto-detected.
|
|
290
290
|
|
|
291
|
+
**Python and .NET stream too.** Enable live the same way (`[tool.reportforge.live] enabled = true` in `pyproject.toml`, or `"live": { "enabled": true }` in the .NET options file) with `RF_LICENSE_KEY` set, and the run prints the same watch link and streams per-test progress to the same page. pytest rows appear as tests start and finish; .NET's test platform reports results only on completion, so rows appear as each test finishes. Adapter runs are single-shard: parallel CI matrix jobs in one workflow should set a distinct `RF_LIVE_RUN_ID` per job so each gets its own watch page. The live step trail and console streaming remain Node.js-only.
|
|
292
|
+
|
|
291
293
|
Live streaming is best-effort and entitlement-gated: if the server is unreachable the run is unaffected, and an active subscription with the `live` feature is required. If you've configured Slack/Teams/Discord notifications, the watch link is also posted to those channels when the run starts.
|
|
292
294
|
|
|
293
295
|
> **Security:** the watch link exposes test titles, statuses, step titles, and failure details (error messages, code frames, stacks) to anyone holding it — no login needed, which is the point: share it with whoever should watch. Your `redact` rules apply to everything on the link, error text included. The token is scoped to that one run, and rotating your license key never breaks an already-shared link. Leaving `console: false` is recommended: enabling it streams your tests' stdout/stderr to anyone holding the link. Full details at [reportforge.org/docs/advanced/live](https://reportforge.org/docs/advanced/live).
|
package/dist/index.js
CHANGED
|
@@ -15457,7 +15457,7 @@ var PdfReporter = class {
|
|
|
15457
15457
|
if (this.options.redact.enabled) {
|
|
15458
15458
|
this.redactor = new Redactor(this.options.redact);
|
|
15459
15459
|
}
|
|
15460
|
-
this.version = true ? "0.
|
|
15460
|
+
this.version = true ? "0.31.0" : "0.x";
|
|
15461
15461
|
logger.info(`@reportforge/playwright-pdf v${this.version} initialised`);
|
|
15462
15462
|
this.licenseClient = new LicenseClient({
|
|
15463
15463
|
licenseKey: this.options.licenseKey,
|
package/dist/index.mjs
CHANGED
|
@@ -15458,7 +15458,7 @@ var PdfReporter = class {
|
|
|
15458
15458
|
if (this.options.redact.enabled) {
|
|
15459
15459
|
this.redactor = new Redactor(this.options.redact);
|
|
15460
15460
|
}
|
|
15461
|
-
this.version = true ? "0.
|
|
15461
|
+
this.version = true ? "0.31.0" : "0.x";
|
|
15462
15462
|
logger.info(`@reportforge/playwright-pdf v${this.version} initialised`);
|
|
15463
15463
|
this.licenseClient = new LicenseClient({
|
|
15464
15464
|
licenseKey: this.options.licenseKey,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reportforge/playwright-pdf",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Playwright Test reporter that generates designed PDF reports: minimal, detailed, and executive templates with CI/CD integrations",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"author": "ReportForge",
|