@ihyeon/flow-qa 0.10.0 → 0.10.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.
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/src/cli.js +18 -6
- package/dist/src/ui/design-system/components.css +19 -0
- package/docs/releases.md +4 -0
- package/docs/ui.md +1 -1
- package/package.json +2 -2
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Flow QA uses [tester-army/e2e](https://github.com/tester-army/e2e), `@e2e-dev/web` for browser tests, and `@e2e-dev/mobile` for native iOS and Android tests. Those packages are licensed under Apache-2.0 and retain their upstream LICENSE and NOTICE files in their installed distributions. The mobile engine uses [agent-device](https://github.com/callstack/agent-device), licensed under MIT. Flow QA adds the flow specification, schema validation, orchestration, report interpretation, and local UI; it does not claim authorship of the execution engines.
|
|
4
4
|
|
|
5
|
-
Flow QA uses `@hyeonse/design-system` version 0.
|
|
5
|
+
Flow QA uses `@hyeonse/design-system` version 0.5.0 from the [Hyeonse Design System release archive](https://design-system.hyeonse.dev/releases/hyeonse-design-system-0.5.0.tgz) during development and packaging. The Flow QA npm tarball includes copies of its `tokens.css`, `components.css`, and `preferences.js` files alongside its MIT `LICENSE`; it does not include the design-system package or its other dependencies. Installed consumers do not need Git or the design-system source archive. Source checkout installation fetches the versioned public archive over HTTPS.
|
|
6
6
|
|
|
7
7
|
The local DM Sans and Noto Sans KR font files were copied from that repository's `docs/assets/fonts/` at commit `38978c6a86f422fc0e63e919f600bc2dd3451e5c`. Their licenses are preserved in [DM Sans license](licenses/DM-Sans-LICENSE.txt) and [Noto Sans KR license](licenses/Noto-Sans-KR-LICENSE.txt).
|
|
8
8
|
|
package/dist/src/cli.js
CHANGED
|
@@ -13,6 +13,7 @@ import { CaseSelectionError, isReportSelectionValid, selectCases } from "./case-
|
|
|
13
13
|
import { runSuite } from "./engine.js";
|
|
14
14
|
import { renderSavedMarkdown } from "./report.js";
|
|
15
15
|
import { registrationTarget, sameReportTarget, targetLabel } from "./targets.js";
|
|
16
|
+
import { compareCaseSteps } from "./step-comparison.js";
|
|
16
17
|
import { createAgentHandoff, reviewAgentHandoff } from "./agent-handoff.js";
|
|
17
18
|
const help = {
|
|
18
19
|
en: `Flow QA — turn user flows into repeatable tests and evidence-backed QA reports
|
|
@@ -37,7 +38,7 @@ Usage: flow-qa <command> [arguments] [options]
|
|
|
37
38
|
agent-review <handoff-dir> <result.json>
|
|
38
39
|
Check agent-supplied findings and evidence references
|
|
39
40
|
report <run-directory> View a saved QA report
|
|
40
|
-
compare <run-a> <run-b> Compare case results
|
|
41
|
+
compare <run-a> <run-b> Compare case results and authored steps
|
|
41
42
|
ui [--demo] [--port 4310] Start the local QA UI
|
|
42
43
|
browser install [--with-deps] Install this package's Playwright Chromium
|
|
43
44
|
doctor Check the local engine and connections
|
|
@@ -68,7 +69,7 @@ Local example: flow-qa ui --demo
|
|
|
68
69
|
agent-review <handoff-dir> <result.json>
|
|
69
70
|
에이전트 관찰 결과와 증거 파일 참조 검사
|
|
70
71
|
report <run-directory> 저장된 QA 리포트 보기
|
|
71
|
-
compare <run-a> <run-b>
|
|
72
|
+
compare <run-a> <run-b> 케이스 결과와 원본 단계 비교
|
|
72
73
|
ui [--demo] [--port 4310] 로컬 QA 화면 실행
|
|
73
74
|
browser install [--with-deps] 패키지의 Playwright Chromium 설치
|
|
74
75
|
doctor 로컬 엔진과 연결 설정 확인
|
|
@@ -356,10 +357,21 @@ export async function main(args) {
|
|
|
356
357
|
console.log(comparable ? localized(locale, 'Comparing the same suite, target and case selection (check external data state separately)', '동일 명세·대상·케이스 범위 비교 (외부 데이터 상태는 별도 확인)') : localized(locale, 'Suite, target or case selection differs; no direct regression verdict is made.', '명세·대상 또는 케이스 범위가 달라 직접적인 회귀 판정은 하지 않습니다.'));
|
|
357
358
|
if (before.selection || after.selection)
|
|
358
359
|
console.log(localized(locale, 'This comparison includes selected cases only; omitted cases were not evaluated.', '이 비교에는 선택 실행이 포함되어 있습니다. 미선택 케이스는 검증되지 않았습니다.'));
|
|
359
|
-
const previous = new Map(before.cases.map((
|
|
360
|
-
const current = new Map(after.cases.map((
|
|
361
|
-
for (const id of new Set([...previous.keys(), ...current.keys()]))
|
|
362
|
-
|
|
360
|
+
const previous = new Map(before.cases.map((item) => [item.id, item]));
|
|
361
|
+
const current = new Map(after.cases.map((item) => [item.id, item]));
|
|
362
|
+
for (const id of new Set([...previous.keys(), ...current.keys()])) {
|
|
363
|
+
const baselineCase = previous.get(id);
|
|
364
|
+
const currentCase = current.get(id);
|
|
365
|
+
console.log(`${safeText(id)}: ${safeText(baselineCase?.status ?? localized(locale, 'not included', '미포함'))} → ${safeText(currentCase?.status ?? localized(locale, 'not included', '미포함'))}`);
|
|
366
|
+
if (!comparable || !baselineCase || !currentCase)
|
|
367
|
+
continue;
|
|
368
|
+
const steps = compareCaseSteps(baselineCase, currentCase, true);
|
|
369
|
+
if (steps.availability !== 'compared')
|
|
370
|
+
continue;
|
|
371
|
+
const common = steps.lastCommonPassedStepIndex === undefined ? localized(locale, 'none', '없음') : String(steps.lastCommonPassedStepIndex + 1);
|
|
372
|
+
const difference = steps.firstDifferenceStepIndex === undefined ? localized(locale, 'none', '없음') : String(steps.firstDifferenceStepIndex + 1);
|
|
373
|
+
console.log(localized(locale, ` Last common passed step: ${common}; first differing step: ${difference}`, ` 마지막 공통 성공 단계: ${common}, 첫 결과 차이 단계: ${difference}`));
|
|
374
|
+
}
|
|
363
375
|
return;
|
|
364
376
|
}
|
|
365
377
|
if (command === 'doctor') {
|
|
@@ -746,6 +746,25 @@
|
|
|
746
746
|
.hds-table__caption{text-align:start;color:var(--muted);padding:calc(var(--hds-layout-gap) * var(--space-factor))}
|
|
747
747
|
.hds-table__head,.hds-table__cell{padding:calc(var(--hds-layout-gap) * var(--space-factor));border-bottom:1px solid var(--line);text-align:start;white-space:nowrap}
|
|
748
748
|
.hds-table__header{background:var(--surface)}
|
|
749
|
+
.hds-dataTable{min-width:0;font-family:var(--font-sans);color:var(--ink)}
|
|
750
|
+
.hds-dataTable__table{min-width:42rem}
|
|
751
|
+
.hds-dataTable__table .hds-table__cell{max-width:20rem;white-space:normal}
|
|
752
|
+
.hds-dataTable__selection{width:3.5rem;text-align:center}
|
|
753
|
+
.hds-dataTable__pick{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;cursor:pointer}
|
|
754
|
+
.hds-dataTable__selection input{width:1.2rem;height:1.2rem;accent-color:var(--accent-solid);cursor:pointer}
|
|
755
|
+
.hds-dataTable__pick:focus-within,.hds-dataTable__sort:focus-visible,.hds-dataTable__status button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
|
|
756
|
+
.hds-dataTable__sort{display:inline-flex;align-items:center;gap:.55rem;min-height:2.75rem;padding:.25rem .4rem;margin:-.25rem -.4rem;border:0;border-radius:var(--radius-control);background:transparent;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
|
|
757
|
+
.hds-dataTable__sort:hover{background:var(--surface-raised);color:var(--accent-text)}
|
|
758
|
+
.hds-dataTable__sortIndicator{position:relative;display:inline-block;width:.75rem;height:1rem;flex:none}
|
|
759
|
+
.hds-dataTable__sortIndicator::before,.hds-dataTable__sortIndicator::after{content:'';position:absolute;inset-inline-start:.2rem;width:.35rem;height:.35rem;border-inline-end:2px solid currentColor;border-block-end:2px solid currentColor}
|
|
760
|
+
.hds-dataTable__sortIndicator::before{top:.12rem;transform:rotate(225deg)}
|
|
761
|
+
.hds-dataTable__sortIndicator::after{bottom:.12rem;transform:rotate(45deg)}
|
|
762
|
+
.hds-dataTable__sortIndicator[data-direction='asc']::after,.hds-dataTable__sortIndicator[data-direction='desc']::before{display:none}
|
|
763
|
+
.hds-dataTable__table tr[data-selected]{background:var(--surface)}
|
|
764
|
+
.hds-dataTable__empty{padding:calc(1.5rem * var(--space-factor));text-align:center;color:var(--muted)}
|
|
765
|
+
.hds-dataTable__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:calc(.8rem * var(--space-factor))}
|
|
766
|
+
.hds-dataTable__status{line-height:1.5;color:var(--muted)}
|
|
767
|
+
.hds-dataTable__status button{border:0;background:transparent;color:var(--accent-text);font:inherit;text-decoration:underline;cursor:pointer}
|
|
749
768
|
.hds-alert{padding:calc(var(--hds-layout-padding) * var(--space-factor));border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);color:var(--ink)}
|
|
750
769
|
.hds-alert strong{display:block;margin-bottom:calc(var(--hds-layout-gap) * var(--space-factor))}
|
|
751
770
|
.hds-alert--success{background:var(--success-surface);border-color:var(--success-line);color:var(--success-text)}
|
package/docs/releases.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Releases and verification
|
|
2
2
|
|
|
3
|
+
## 0.10.1 — Hyeonse Design System 0.5.0
|
|
4
|
+
|
|
5
|
+
The local UI packages the CSS, preference module, and MIT license from the public Hyeonse Design System 0.5.0 archive. The installed Flow QA package serves byte-identical copies of these files.
|
|
6
|
+
|
|
3
7
|
## 0.10.0 — First differing authored step
|
|
4
8
|
|
|
5
9
|
Run comparisons now identify the last common passed step and first differing observed step when both reports share one suite definition and the engine's source positions uniquely identify authored commands. The generated setup call is counted separately. The selected attempt is the last recorded attempt on each side, and a terminal failure marks subsequent authored steps as not run. The local UI and complete JSON/Markdown downloads carry the same judgment. Old reports, changed definitions, missing attempts, and uncertain links retain the existing case status comparison with a reason for unavailable step detail.
|
package/docs/ui.md
CHANGED
|
@@ -138,7 +138,7 @@ The JSON keeps the case content and source reference. The Markdown retains its e
|
|
|
138
138
|
|
|
139
139
|
## Display and language
|
|
140
140
|
|
|
141
|
-
The UI uses role tokens and preference utilities from `@hyeonse/design-system` 0.
|
|
141
|
+
The UI uses role tokens and preference utilities from `@hyeonse/design-system` 0.5.0. The source checkout installs its [public release archive](https://design-system.hyeonse.dev/releases/hyeonse-design-system-0.5.0.tgz); the published Flow QA package contains only the CSS and preference files needed by the local UI, with the design system's MIT license. Flow QA implements its own workflow layout, buttons, and fields with those tokens.
|
|
142
142
|
|
|
143
143
|
The top-bar theme button and **Connections → Display settings** control theme, accent, density, corners, and motion. Preferences are saved under `flowqa-display-preferences` in the browser and shared across tabs. The device's reduced-motion setting takes priority. The saved preferences are applied before the token CSS appears on first load. If browser storage cannot be read or written, Display settings shows a localized warning: changes still apply in the current tab but may reset on reload. A successful later change or reset saves the preferences and clears the warning. Only local-storage events synchronize these settings between tabs.
|
|
144
144
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ihyeon/flow-qa",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Hyeonse Im",
|
|
6
6
|
"repository": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"zod": "4.6.7"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@hyeonse/design-system": "https://design-system.hyeonse.dev/releases/hyeonse-design-system-0.
|
|
73
|
+
"@hyeonse/design-system": "https://design-system.hyeonse.dev/releases/hyeonse-design-system-0.5.0.tgz",
|
|
74
74
|
"@types/node": "^24.0.0",
|
|
75
75
|
"typescript": "^5.9.3"
|
|
76
76
|
}
|