@reportforge/playwright-pdf 0.0.1 → 0.2.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.
@@ -307,5 +307,106 @@
307
307
  .verdict-partial { background: var(--flaky); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
308
308
  .verdict-failed { background: var(--fail); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
309
309
  .verdict-unknown { background: var(--skip); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
310
+
311
+ /* ── Flakiness trend table (R8) ─────────────────────────────────────────── */
312
+ .flakiness-card {
313
+ margin: 24px 0 0;
314
+ border: 1px solid var(--border);
315
+ border-radius: 8px;
316
+ overflow: hidden;
317
+ }
318
+
319
+ .flakiness-card__header {
320
+ display: flex;
321
+ align-items: center;
322
+ padding: 10px 16px;
323
+ background: var(--surface-2);
324
+ border-bottom: 1px solid var(--border);
325
+ }
326
+
327
+ .flakiness-card__title {
328
+ font-size: 11px;
329
+ font-weight: 600;
330
+ text-transform: uppercase;
331
+ letter-spacing: 0.04em;
332
+ color: var(--text-3);
333
+ }
334
+
335
+ .flakiness-table {
336
+ width: 100%;
337
+ border-collapse: collapse;
338
+ font-size: 11px;
339
+ }
340
+
341
+ .flakiness-table thead th {
342
+ padding: 8px 12px;
343
+ text-align: left;
344
+ font-weight: 600;
345
+ font-size: 10px;
346
+ text-transform: uppercase;
347
+ letter-spacing: 0.04em;
348
+ color: var(--text-3);
349
+ border-bottom: 1px solid var(--border);
350
+ background: var(--surface-2);
351
+ }
352
+
353
+ .flakiness-table tbody tr {
354
+ border-bottom: 1px solid var(--border);
355
+ }
356
+
357
+ .flakiness-table tbody tr:last-child {
358
+ border-bottom: none;
359
+ }
360
+
361
+ .flakiness-table tbody td {
362
+ padding: 8px 12px;
363
+ vertical-align: middle;
364
+ color: var(--text-1);
365
+ }
366
+
367
+ .flakiness-table__test {
368
+ max-width: 300px;
369
+ overflow: hidden;
370
+ text-overflow: ellipsis;
371
+ white-space: nowrap;
372
+ }
373
+
374
+ .flakiness-table__rate {
375
+ width: 72px;
376
+ font-weight: 600;
377
+ color: var(--flaky);
378
+ }
379
+
380
+ .flakiness-table__count {
381
+ width: 72px;
382
+ color: var(--text-3);
383
+ }
384
+
385
+ .flakiness-table__spark {
386
+ width: 140px;
387
+ }
388
+
389
+ .flaky-spark {
390
+ display: flex;
391
+ gap: 3px;
392
+ align-items: center;
393
+ }
394
+
395
+ .flaky-dot {
396
+ flex-shrink: 0;
397
+ width: 7px;
398
+ height: 7px;
399
+ border-radius: 50%;
400
+ background: var(--border, #e5e3d8);
401
+ print-color-adjust: exact;
402
+ -webkit-print-color-adjust: exact;
403
+ }
404
+
405
+ .flaky-dot--hit {
406
+ background: #f59e0b;
407
+ print-color-adjust: exact;
408
+ -webkit-print-color-adjust: exact;
409
+ }
410
+
310
411
  </content>
311
412
  </invoke>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reportforge/playwright-pdf",
3
- "version": "0.0.1",
3
+ "version": "0.2.0",
4
4
  "description": "Enterprise-ready PDF reports for Playwright Test — minimal, detailed, and executive templates with CI/CD integrations",
5
5
  "license": "MIT",
6
6
  "author": "ReportForge",