@qaily/playwright-html-reporter 1.0.1-beta.0 → 1.0.1-beta.2

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.
Files changed (27) hide show
  1. package/README.md +5 -3
  2. package/app/assets/{ai-labels-Cby68UqQ.js → ai-labels-RxWQyXOZ.js} +1 -1
  3. package/app/assets/{chronoscope-view-D2mpr002.js → chronoscope-view-DzkFIDnY.js} +1 -1
  4. package/app/assets/{classic-view-Ddd948Kp.js → classic-view-3xvAtjNz.js} +1 -1
  5. package/app/assets/{classic-view-BK8WPGfn.js → classic-view-BdOOIEJH.js} +48 -48
  6. package/app/assets/{classic-view-D-DsEujc.js → classic-view-BsyNALVL.js} +1 -1
  7. package/app/assets/{classic-view-DNzHWzUJ.js → classic-view-Ciekrvgw.js} +1 -1
  8. package/app/assets/{classic-view--L85lT-b.js → classic-view-DsBjeaSR.js} +1 -1
  9. package/app/assets/{classic-view-DY5E3Z4J.js → classic-view-XwD0J2Xr.js} +1 -1
  10. package/app/assets/{index-CgoxrMDD.js → index-BNQj7yhU.js} +2 -2
  11. package/app/assets/{index-Dsdk0pht.js → index-BU7HqveP.js} +3 -3
  12. package/app/assets/{index-D1EYpbL2.js → index-BXYjgFWc.js} +3 -3
  13. package/app/assets/{index-8q_vTRNL.js → index-CkVAQmKJ.js} +2 -2
  14. package/app/assets/{index-DVTcbA8F.js → index-DqZr3quD.js} +2 -2
  15. package/app/assets/{index-Dp2n1TN3.js → index-FKJ4jNss.js} +9 -9
  16. package/app/assets/{index-DWXLfiLH.js → index-Rhk-vtb9.js} +2 -2
  17. package/app/assets/{index-HYoRBkhX.js → index-mIO1FNDw.js} +2 -2
  18. package/app/assets/{monthly-view-eVyvfEs4.js → monthly-view-CqYfmVC_.js} +1 -1
  19. package/app/assets/{period-CeHnAu7V.js → period-BDS3oIgF.js} +1 -1
  20. package/app/assets/{runs-FAzljm9O.js → runs-DNJBxr_t.js} +1 -1
  21. package/app/assets/{settings-view-Bgsw3xiJ.js → settings-view-BcQahji5.js} +99 -81
  22. package/app/assets/{status-CSSAtLyf.js → status-CufZD7gm.js} +1 -1
  23. package/app/assets/{styles-CgnWMnm4.js → styles-BVxnhMnQ.js} +1 -1
  24. package/app/assets/{weekly-view-i2vLZ_2D.js → weekly-view-B_7LFIay.js} +1 -1
  25. package/app/index.html +1 -1
  26. package/dist/cli.mjs +125 -41
  27. package/package.json +1 -1
package/README.md CHANGED
@@ -20,7 +20,7 @@ month went, which issues keep coming back, and which parts of the product the te
20
20
  npm install --save-dev @qaily/playwright-html-reporter@beta
21
21
  ```
22
22
 
23
- Versions are still betas (`1.0.0-beta.N`), published under the `beta` tag; see [CHANGELOG.md](CHANGELOG.md).
23
+ Versions are still betas (`1.0.1-beta.N`), published under the `beta` tag; see [CHANGELOG.md](CHANGELOG.md).
24
24
 
25
25
  Or straight from GitHub (builds on install, about 20 s): `npm install --save-dev github:qaily/qaily-playwright-html-reporter`.
26
26
 
@@ -83,9 +83,10 @@ npx qaily-report serve --data report-data --attachments reports/data
83
83
  writes 120 synthetic runs, with heat map rules and a planned matrix.
84
84
 
85
85
  Everything else is set on the report's **Settings** page: lanes, health thresholds, theme, the bucket, heat map rules.
86
- **Save for team** writes `report-data/settings.json` when the report is opened through `serve` (on GitHub Pages it
86
+ Under **For the team**, the save button says where it writes. **Save to settings.json** writes `report-data/settings.json` when the report is opened through `serve` (on GitHub Pages it
87
87
  can commit the file instead, see [docs/ai.md](docs/ai.md#drafts-and-publishing)). A report that reads its data from a
88
- bucket keeps team settings there instead, as `team-settings.json` next to the data (see
88
+ bucket keeps team settings there instead (**Save to bucket**), as `team-settings.json` next to the data; the bucket
89
+ connection itself always comes from the site's `settings.json` (see
89
90
  [docs/s3-artifacts.md](docs/s3-artifacts.md#team-settings-in-the-bucket)).
90
91
 
91
92
  ## 3. Share it
@@ -118,6 +119,7 @@ the bucket, CORS and IAM setup for AWS, Google Cloud Storage and MinIO, are in [
118
119
  | `sync --to <runs> --out <data> [--with-attachments]` | Downloads run folders from the bucket (attachments only if asked), then builds |
119
120
  | `pull` / `publish --out <data> [--team-settings seed\|replace\|skip] [--allow-shrink]` | Bucket data source: fetch the last published data / upload the new one, and team settings when the bucket has none yet. See [expiring run folders](docs/s3-artifacts.md#when-run-folders-expire-too) |
120
121
  | `expire-attachments --older-than <days> [--dry-run] [--all-versions]` | Deletes attachments of runs older than N days and keeps the rest of each run folder; run it daily. See [short retention](docs/s3-artifacts.md#8-short-retention-for-attachments) |
122
+ | `trace-viewer --out <site>/trace [--from <project>]` | Copies Playwright's trace viewer from the test project, so traces open on your own site without CORS. See [trace viewer](docs/s3-artifacts.md#9-self-hosted-trace-viewer) |
121
123
  | `demo --out <data> [--runs 120] [--days 30]` | Synthetic runs, for trying the report |
122
124
  | `catalog --csv <matrix.csv> --out <data>/coverage-catalog.json` | Planned coverage matrix for the heat map |
123
125
 
@@ -1 +1 @@
1
- import{o as u,j as c}from"./index-Dp2n1TN3.js";const l=["var(--q-text)","var(--q-fail)","var(--q-pass)","var(--q-flaky)","var(--q-accent)","#c678dd","var(--q-accent)","var(--q-text)"];function f(n,i){let t={...n};for(let a=0;a<i.length;a++){const e=i[a];e===0?t={}:e===1?t.fontWeight="700":e===2?t.opacity="0.7":e===3?t.fontStyle="italic":e===4?t.textDecoration="underline":e===22?(delete t.fontWeight,delete t.opacity):e===39?delete t.color:e===49?delete t.background:e>=30&&e<=37?t.color=l[e-30]:e>=90&&e<=97?t.color=e===90?"var(--q-text-muted)":l[e-90]:e>=40&&e<=47?t.background=l[e-40]:(e===38||e===48)&&i[a+1]===5&&(a+=2)}return t}function v(n){return n.replace(/\u001b\[[0-9;]*m/g,"")}function p(n){if(!n)return[];const i=[],t=/\u001b\[([0-9;]*)m/g;let a={},e=0,o;const s=r=>{r&&i.push(Object.keys(a).length?c`<span style=${u({...a})}>${r}</span>`:c`${r}`)};for(;o=t.exec(n);)s(n.slice(e,o.index)),a=f(a,o[1]?o[1].split(";").map(Number):[0]),e=t.lastIndex;return s(n.slice(e)),i}const g={"product-bug":"Product bug","test-bug":"Test bug",environment:"Environment","test-data":"Test data",flaky:"Flaky",unknown:"Unclear"},m={"product-bug":"var(--q-fail)","test-bug":"var(--q-flaky)",environment:"var(--q-accent)","test-data":"var(--q-accent)",flaky:"var(--q-flaky)",unknown:"var(--q-skip)"};function y(n,i){const t=new Date(n.createdAt).toLocaleString(void 0,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZone:i.display.timeZone==="UTC"?"UTC":void 0});return[n.model??n.provider,t,n.author?`by ${n.author}`:""].filter(Boolean).join(" · ")}export{g as A,y as a,p as b,m as c,v as s};
1
+ import{o as u,j as c}from"./index-FKJ4jNss.js";const l=["var(--q-text)","var(--q-fail)","var(--q-pass)","var(--q-flaky)","var(--q-accent)","#c678dd","var(--q-accent)","var(--q-text)"];function f(n,i){let t={...n};for(let a=0;a<i.length;a++){const e=i[a];e===0?t={}:e===1?t.fontWeight="700":e===2?t.opacity="0.7":e===3?t.fontStyle="italic":e===4?t.textDecoration="underline":e===22?(delete t.fontWeight,delete t.opacity):e===39?delete t.color:e===49?delete t.background:e>=30&&e<=37?t.color=l[e-30]:e>=90&&e<=97?t.color=e===90?"var(--q-text-muted)":l[e-90]:e>=40&&e<=47?t.background=l[e-40]:(e===38||e===48)&&i[a+1]===5&&(a+=2)}return t}function v(n){return n.replace(/\u001b\[[0-9;]*m/g,"")}function p(n){if(!n)return[];const i=[],t=/\u001b\[([0-9;]*)m/g;let a={},e=0,o;const s=r=>{r&&i.push(Object.keys(a).length?c`<span style=${u({...a})}>${r}</span>`:c`${r}`)};for(;o=t.exec(n);)s(n.slice(e,o.index)),a=f(a,o[1]?o[1].split(";").map(Number):[0]),e=t.lastIndex;return s(n.slice(e)),i}const g={"product-bug":"Product bug","test-bug":"Test bug",environment:"Environment","test-data":"Test data",flaky:"Flaky",unknown:"Unclear"},m={"product-bug":"var(--q-fail)","test-bug":"var(--q-flaky)",environment:"var(--q-accent)","test-data":"var(--q-accent)",flaky:"var(--q-flaky)",unknown:"var(--q-skip)"};function y(n,i){const t=new Date(n.createdAt).toLocaleString(void 0,{day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",timeZone:i.display.timeZone==="UTC"?"UTC":void 0});return[n.model??n.provider,t,n.author?`by ${n.author}`:""].filter(Boolean).join(" · ")}export{g as A,y as a,p as b,m as c,v as s};