@qaily/playwright-html-reporter 1.0.1-beta.5 → 1.0.1-beta.7
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 +34 -5
- package/app/assets/{ai-labels-kOY7eKf_.js → ai-labels-sZsf-bZ1.js} +1 -1
- package/app/assets/{chronoscope-view-D6I7WR1Z.js → chronoscope-view-C0KRo52a.js} +1 -1
- package/app/assets/{classic-view-B4rO1rQX.js → classic-view-2asUV3ES.js} +3 -3
- package/app/assets/{classic-view-C5zIaQbY.js → classic-view-B4QtXli7.js} +8 -8
- package/app/assets/{classic-view-BrDjGEFT.js → classic-view-CCYfeET2.js} +1 -1
- package/app/assets/{classic-view-CLY1_X2f.js → classic-view-CgjJjPDN.js} +12 -12
- package/app/assets/{classic-view-CQn_HJUG.js → classic-view-D0r_6Vsc.js} +4 -4
- package/app/assets/{classic-view-CA2jsB8a.js → classic-view-DmJwoBkZ.js} +1 -1
- package/app/assets/index-80OOBiR4.js +60 -0
- package/app/assets/index-B39ahUD_.js +2 -0
- package/app/assets/{index-Bo6ugK3I.js → index-BOgKhqU0.js} +2 -2
- package/app/assets/index-BVPjJwug.js +6 -0
- package/app/assets/index-Bu9SKzWd.js +2 -0
- package/app/assets/index-Bwpe74Vq.js +1086 -0
- package/app/assets/index-CVIJdz9H.js +2 -0
- package/app/assets/index-uan2cD9o.js +2 -0
- package/app/assets/{monthly-view-BBOPlVBV.js → monthly-view-DcB6GViU.js} +1 -1
- package/app/assets/period-kzc8Pmxa.js +13 -0
- package/app/assets/runs-Tt-tELQ8.js +1 -0
- package/app/assets/settings-view-B5DT3ymN.js +890 -0
- package/app/assets/status-YTT7OcA4.js +1 -0
- package/app/assets/{styles-BtyAt7f-.js → styles-Cz1VBsv1.js} +2 -2
- package/app/assets/{weekly-view-COWF8G2Z.js → weekly-view-WgpEl3kv.js} +1 -1
- package/app/index.html +1 -1
- package/dist/cli.mjs +55 -11
- package/package.json +1 -1
- package/app/assets/index-BGc2KRte.js +0 -983
- package/app/assets/index-BSeSdMcj.js +0 -2
- package/app/assets/index-Bx_mFI-E.js +0 -2
- package/app/assets/index-CEMZIb_j.js +0 -2
- package/app/assets/index-CjIdaEbY.js +0 -2
- package/app/assets/index-DIUMnB6u.js +0 -6
- package/app/assets/index-DKORV85a.js +0 -60
- package/app/assets/lanes-Bb9_UFmn.js +0 -1
- package/app/assets/period-BVCCS0gi.js +0 -13
- package/app/assets/runs-DF40idw3.js +0 -1
- package/app/assets/settings-view-CVNbI43B.js +0 -562
- package/app/assets/status-U1ziVPrb.js +0 -1
package/README.md
CHANGED
|
@@ -137,8 +137,9 @@ npx qaily-report show --pull --aws-profile qaily
|
|
|
137
137
|
- **Not both:** pull, then sync, is what CI does in mode 3 to keep history and add the newest runs. To look at the
|
|
138
138
|
report, one is enough, so `show` refuses both together.
|
|
139
139
|
|
|
140
|
-
Screenshots and traces stay in the bucket: the local server
|
|
141
|
-
the
|
|
140
|
+
Screenshots and traces stay in the bucket: the local server reads them with your login, which never reaches the
|
|
141
|
+
browser, and passes them to the page from its own address. The bucket needs no CORS rules or bridge for this, on any
|
|
142
|
+
provider.
|
|
142
143
|
|
|
143
144
|
**Without tests:** `npx qaily-report demo && npx qaily-report serve` shows 120 synthetic runs.
|
|
144
145
|
|
|
@@ -348,9 +349,37 @@ For Google Cloud Storage, MinIO or ECS, add `endpoint` and `pathStyle` from [sec
|
|
|
348
349
|
|
|
349
350
|
### Lanes
|
|
350
351
|
|
|
351
|
-
A lane is a line of runs on the Monitoring page and a filter elsewhere.
|
|
352
|
-
and
|
|
353
|
-
|
|
352
|
+
A lane is a line of runs on the Monitoring page and a filter elsewhere. Lanes group whole **runs**, not single tests,
|
|
353
|
+
and look at three values of each run:
|
|
354
|
+
|
|
355
|
+
| Condition | Tested against |
|
|
356
|
+
|---|---|
|
|
357
|
+
| Category | The reporter option `category`, e.g. `'ui:web'`. Not a test title, file, tag or project |
|
|
358
|
+
| Environment | The reporter option `environment`, e.g. `'staging'` (exact match) |
|
|
359
|
+
| Branch | The git branch of the run |
|
|
360
|
+
| Started | The time of day the run started, e.g. between `22:00` and `06:00` for nightly runs |
|
|
361
|
+
|
|
362
|
+
Each run joins the first lane that matches, so list specific lanes first and keep a catch-all (no conditions) last.
|
|
363
|
+
A nightly lane, for example, goes above the general lane for the same category, or that lane takes the nightly runs.
|
|
364
|
+
|
|
365
|
+
A start-time window is saved with its own time zone (`"time": { "from": "22:00", "to": "06:00", "zone": "Europe/Vilnius" }`),
|
|
366
|
+
so a run lands in the same lane for every viewer. A window whose `from` is after its `to` runs past midnight.
|
|
367
|
+
|
|
368
|
+
Edit lanes in **Settings → Lanes → For the team**. The builder offers the values your runs from the last 90 days
|
|
369
|
+
reported, shows how many runs each lane gets, warns when a lane above takes a lane's runs, lists runs that are in no lane
|
|
370
|
+
(with a button to create one), and can generate starter lanes from your runs. Conditions are "is", "is one of",
|
|
371
|
+
"starts with", "ends with" and "contains"; "matches regex" is there for anything else.
|
|
372
|
+
|
|
373
|
+
Environments are not a fixed list: Monitoring's environment chips show every `environment` value your runs report.
|
|
374
|
+
Set an environment on a lane to get one lane per environment, or leave it at "any environment" to keep them in one
|
|
375
|
+
lane and filter with the chips.
|
|
376
|
+
|
|
377
|
+
Tests, Issues, Heat Map, Weekly and Monthly have **Lane** and **Environment** filters in the filter bar. Pick one or
|
|
378
|
+
more of each, and only runs that match are counted. They stay in the URL (`?lanes=web-dev&env=staging`), so they carry
|
|
379
|
+
over when you switch between those pages. Monitoring keeps its own environment chips. A run opened from a link is
|
|
380
|
+
always shown, even when the filters would hide it.
|
|
381
|
+
|
|
382
|
+
In the settings file the conditions are stored as `match`, with `category` and `branch` as regular expressions:
|
|
354
383
|
|
|
355
384
|
```json
|
|
356
385
|
{ "id": "web-staging", "label": "Web · Staging", "match": { "category": "^ui:web$", "environment": "staging" } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as u,o as c}from"./index-Bwpe74Vq.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};
|