@ihyeon/flow-qa 0.8.5 → 0.8.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.ko.md +2 -2
- package/README.md +2 -2
- package/dist/src/ui/public/app.js +43 -17
- package/dist/src/ui/public/i18n.js +4 -1
- package/dist/src/ui/public/index.html +1 -1
- package/dist/src/ui/public/style.css +2 -0
- package/docs/mobile.md +1 -1
- package/docs/releases.md +22 -0
- package/docs/ui.md +6 -2
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -16,7 +16,7 @@ CLI와 `127.0.0.1` 전용 웹 UI를 제공합니다. UI는 영어로 시작하
|
|
|
16
16
|
Node.js 24.x(24.22.1 이상) 또는 26.12.1 이상이 필요합니다. 브라우저는 첫 웹 실행 전에 설치합니다.
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
npm install -g @ihyeon/flow-qa@0.8.
|
|
19
|
+
npm install -g @ihyeon/flow-qa@0.8.7
|
|
20
20
|
flow-qa browser install
|
|
21
21
|
flow-qa ui --demo
|
|
22
22
|
```
|
|
@@ -70,7 +70,7 @@ CLI에서는 `flow-qa run cases/task-flow.json --target demo --case TC-001 --cas
|
|
|
70
70
|
|
|
71
71
|
`0.5.0`부터 상세 보고서에서 **실패·오류 케이스 준비**를 누르면 실행 당시와 같은 저장된 케이스를 불러와 `실패`와 `실행 오류`만 선택합니다. 준비 후 케이스와 대상을 다시 검토하고 직접 실행하세요. 케이스·원본 파일이 없거나 바뀌었으면 준비를 중단하며, 실행 대상이 없거나 바뀌었으면 다시 선택해야 합니다. 자세한 동작은 [실패 케이스 준비](docs/ui.md#prepare-failed-cases)를 참고하세요.
|
|
72
72
|
|
|
73
|
-
`0.8.0`부터 **상세 보고서**에서 케이스·오류 내용을 검색하고 상태별로 좁히거나 **실패·오류만** 볼 수 있습니다. 표시 건수와 보고서 전체 케이스 수를 구분하며, 다운로드와 실패·오류 재실행 준비는 보고서 전체 범위를 유지합니다. 자세한 동작은 [보고서 케이스 탐색](docs/ui.md#explore-cases-in-a-report)을 참고하세요.
|
|
73
|
+
`0.8.0`부터 **상세 보고서**에서 케이스·오류 내용을 검색하고 상태별로 좁히거나 **실패·오류만** 볼 수 있습니다. **시도 2회 이상만 보기**(0.8.7)를 켜면 여러 번 시도한 케이스만 표시합니다. 표시 건수와 보고서 전체 케이스 수를 구분하며, Markdown·JSON 다운로드와 실패·오류 재실행 준비는 보고서 전체 범위를 유지합니다. 필터에 맞는 ID만 화면 순서대로 저장하려면 **표시된 케이스 ID 다운로드**(0.8.6)를 선택하세요. 자세한 동작은 [보고서 케이스 탐색](docs/ui.md#explore-cases-in-a-report)을 참고하세요.
|
|
74
74
|
|
|
75
75
|
## 실행 결과 비교
|
|
76
76
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Flow QA is available as a CLI and a web UI bound to `127.0.0.1`. Provide a targe
|
|
|
16
16
|
Node.js 24.x (24.22.1 or later) or 26.12.1 or later is required. Install Chromium before the first web run:
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
npm install -g @ihyeon/flow-qa@0.8.
|
|
19
|
+
npm install -g @ihyeon/flow-qa@0.8.7
|
|
20
20
|
flow-qa browser install
|
|
21
21
|
flow-qa ui --demo
|
|
22
22
|
```
|
|
@@ -70,7 +70,7 @@ The CLI supports repeated IDs: `flow-qa run cases/task-flow.json --target demo -
|
|
|
70
70
|
|
|
71
71
|
From `0.5.0`, open a detailed report and choose **Prepare failed/error cases** to load its unchanged saved suite with only `failed` and `error` cases selected. Preparation never starts a run: review the cases and target, then run explicitly. Changed or missing case/source files block preparation; a changed or missing target must be selected again. See [preparing failed cases](docs/ui.md#prepare-failed-cases).
|
|
72
72
|
|
|
73
|
-
From `0.8.0`, **Detailed report** supports case/error-text search, status filters, and **Failed/error only**. Counts distinguish displayed matches from all recorded cases.
|
|
73
|
+
From `0.8.0`, **Detailed report** supports case/error-text search, status filters, and **Failed/error only**. Use **At least 2 attempts** (0.8.7) to see only cases with multiple recorded attempts. Counts distinguish displayed matches from all recorded cases. Markdown/JSON downloads and failed/error preparation retain the full report scope. To save just the filtered IDs in the displayed order, choose **Download visible case IDs** (0.8.6). See [report case exploration](docs/ui.md#explore-cases-in-a-report).
|
|
74
74
|
|
|
75
75
|
## Compare recorded runs
|
|
76
76
|
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
const i18n = window.FlowQAI18n;
|
|
5
5
|
const t = i18n.t;
|
|
6
6
|
const names = { scenario: 'nav.scenario', library: 'nav.library', history: 'nav.history', settings: 'nav.settings' };
|
|
7
|
-
const
|
|
7
|
+
const defaultReportFilter = () => ({ search: '', status: 'all', sort: 'recorded', repeatedOnly: false });
|
|
8
|
+
const app = { state: null, connected: false, displayTargets: [], draft: null, selectedCaseIds: new Set(), script: '', savedFile: '', savedHash: '', origin: 'none', sourceFlow: '', boundSource: null, stale: false, dirty: false, busy: false, planning: false, planRequest: 0, stopping: false, report: null, reportMarkdown: '', selectedRun: '', reportFilter: defaultReportFilter(), rerunOrigin: null, rerunTargetMismatch: false, navigationVersion: 0, comparison: null, comparisonRequest: 0, comparisonBusy: false, comparisonStatus: 'comparison.selectBoth', comparisonPins: { baseline: null, current: null }, comparisonSelectionGeneration: 0, comparisonValidation: null, history: { runs: [], nextCursor: null, pagesLoaded: 0, loaded: false, loading: false, request: 0, debounce: null, kind: null, error: null, updatesAvailable: false, pendingRecentUpdate: false }, view: 'scenario' };
|
|
8
9
|
|
|
9
10
|
function el(tag, className, value) {
|
|
10
11
|
const node = document.createElement(tag);
|
|
@@ -636,7 +637,7 @@
|
|
|
636
637
|
catch (error) { showError(error); }
|
|
637
638
|
finally { app.stopping = false; readiness(); }
|
|
638
639
|
}
|
|
639
|
-
async function loadReport(runId) { await work(async () => { const result = await api(`/api/report?runId=${encodeURIComponent(runId)}`); if (app.selectedRun !== runId) app.reportFilter =
|
|
640
|
+
async function loadReport(runId) { await work(async () => { const result = await api(`/api/report?runId=${encodeURIComponent(runId)}`); if (app.selectedRun !== runId) app.reportFilter = defaultReportFilter(); app.report = result.report; app.reportMarkdown = result.markdown; app.selectedRun = runId; renderReport(); readiness(); $('report-panel').hidden = false; $('report-panel').scrollIntoView({ behavior: 'smooth', block: 'start' }); }); }
|
|
640
641
|
async function prepareFailedCases() { await work(async () => {
|
|
641
642
|
const runId = app.selectedRun;
|
|
642
643
|
const report = app.report;
|
|
@@ -671,6 +672,15 @@
|
|
|
671
672
|
download(`${runId}.md`, result.markdown, 'text/markdown');
|
|
672
673
|
} catch (error) { if (runId === app.selectedRun && locale === i18n.locale()) showError(error); }
|
|
673
674
|
}
|
|
675
|
+
function downloadVisibleReportCaseIds() {
|
|
676
|
+
const report = app.report;
|
|
677
|
+
const runId = app.selectedRun;
|
|
678
|
+
if (!report || !runId) return;
|
|
679
|
+
const displayed = getDisplayedReportCases(report.cases || [], app.reportFilter);
|
|
680
|
+
const ids = displayed.map((item) => String(item.id));
|
|
681
|
+
if (!ids.length || reportCaseIdsContainLineBreak(displayed)) return;
|
|
682
|
+
download(`${runId}-case-ids.txt`, `${ids.join('\n')}\n`, 'text/plain');
|
|
683
|
+
}
|
|
674
684
|
const reportStatuses = ['all', 'failed-error', 'passed', 'failed', 'error', 'blocked', 'flaky', 'skipped'];
|
|
675
685
|
function reportCaseTotalAttemptDurationMs(attempts) {
|
|
676
686
|
if (!Array.isArray(attempts) || attempts.length === 0 || !attempts.every((attempt) => typeof attempt?.durationMs === 'number' && Number.isFinite(attempt.durationMs) && attempt.durationMs >= 0)) return null;
|
|
@@ -690,6 +700,23 @@
|
|
|
690
700
|
}
|
|
691
701
|
return values.some((value) => String(value ?? '').toLowerCase().includes(query));
|
|
692
702
|
}
|
|
703
|
+
function getDisplayedReportCases(cases, filter) {
|
|
704
|
+
const query = filter.search.trim().toLowerCase();
|
|
705
|
+
const status = filter.status;
|
|
706
|
+
const shown = cases.map((item, index) => ({ item, index })).filter(({ item }) => (status === 'all' || (status === 'failed-error' ? item.status === 'failed' || item.status === 'error' : item.status === status)) && reportCaseMatchesSearch(item, query) && (!filter.repeatedOnly || (Array.isArray(item.attempts) && item.attempts.length >= 2)));
|
|
707
|
+
if (filter.sort === 'duration-desc') shown.sort((left, right) => {
|
|
708
|
+
const leftDuration = reportCaseTotalAttemptDurationMs(left.item.attempts);
|
|
709
|
+
const rightDuration = reportCaseTotalAttemptDurationMs(right.item.attempts);
|
|
710
|
+
if (leftDuration === null) return rightDuration === null ? left.index - right.index : 1;
|
|
711
|
+
if (rightDuration === null) return -1;
|
|
712
|
+
return rightDuration - leftDuration || left.index - right.index;
|
|
713
|
+
});
|
|
714
|
+
else if (filter.sort === 'attempts-desc') shown.sort((left, right) => (right.item.attempts || []).length - (left.item.attempts || []).length || left.index - right.index);
|
|
715
|
+
return shown.map(({ item }) => item);
|
|
716
|
+
}
|
|
717
|
+
function reportCaseIdsContainLineBreak(cases) {
|
|
718
|
+
return cases.some((item) => /[\r\n\u0085\u2028\u2029]/.test(String(item.id)));
|
|
719
|
+
}
|
|
693
720
|
function renderReportFilters() {
|
|
694
721
|
const cases = app.report?.cases || [];
|
|
695
722
|
const counts = Object.fromEntries(reportStatuses.map((status) => [status, 0]));
|
|
@@ -713,25 +740,22 @@
|
|
|
713
740
|
if ($('report-case-search').value !== app.reportFilter.search) $('report-case-search').value = app.reportFilter.search;
|
|
714
741
|
$('report-case-status').value = app.reportFilter.status;
|
|
715
742
|
$('report-case-sort').value = app.reportFilter.sort;
|
|
716
|
-
$('report-case-
|
|
743
|
+
$('report-case-repeated-only').checked = app.reportFilter.repeatedOnly;
|
|
744
|
+
$('report-case-reset').disabled = !app.reportFilter.search && app.reportFilter.status === 'all' && app.reportFilter.sort === 'recorded' && !app.reportFilter.repeatedOnly;
|
|
717
745
|
return cases;
|
|
718
746
|
}
|
|
719
747
|
function renderReportCases() {
|
|
720
|
-
if (!app.report)
|
|
748
|
+
if (!app.report) {
|
|
749
|
+
$('report-case-ids-download').disabled = true;
|
|
750
|
+
$('report-case-ids-hint').hidden = true;
|
|
751
|
+
return;
|
|
752
|
+
}
|
|
721
753
|
const cases = renderReportFilters();
|
|
722
|
-
const
|
|
723
|
-
const
|
|
724
|
-
const shown = cases.map((item, index) => ({ item, index })).filter(({ item }) => (status === 'all' || (status === 'failed-error' ? item.status === 'failed' || item.status === 'error' : item.status === status)) && reportCaseMatchesSearch(item, query));
|
|
725
|
-
if (app.reportFilter.sort === 'duration-desc') shown.sort((left, right) => {
|
|
726
|
-
const leftDuration = reportCaseTotalAttemptDurationMs(left.item.attempts);
|
|
727
|
-
const rightDuration = reportCaseTotalAttemptDurationMs(right.item.attempts);
|
|
728
|
-
if (leftDuration === null) return rightDuration === null ? left.index - right.index : 1;
|
|
729
|
-
if (rightDuration === null) return -1;
|
|
730
|
-
return rightDuration - leftDuration || left.index - right.index;
|
|
731
|
-
});
|
|
732
|
-
else if (app.reportFilter.sort === 'attempts-desc') shown.sort((left, right) => (right.item.attempts || []).length - (left.item.attempts || []).length || left.index - right.index);
|
|
733
|
-
const displayed = shown.map(({ item }) => item);
|
|
754
|
+
const displayed = getDisplayedReportCases(cases, app.reportFilter);
|
|
755
|
+
const hasLineBreakInDisplayedId = reportCaseIdsContainLineBreak(displayed);
|
|
734
756
|
$('report-case-count').textContent = t('report.caseCount', { shown: displayed.length, total: cases.length });
|
|
757
|
+
$('report-case-ids-download').disabled = !app.selectedRun || displayed.length === 0 || hasLineBreakInDisplayedId;
|
|
758
|
+
$('report-case-ids-hint').hidden = !hasLineBreakInDisplayedId;
|
|
735
759
|
const host = $('report-case-list'); replace(host);
|
|
736
760
|
if (!cases.length) { host.append(el('p', 'empty', t('report.empty'))); return; }
|
|
737
761
|
if (!displayed.length) { host.append(el('p', 'empty', t('report.noMatches'))); return; }
|
|
@@ -890,11 +914,13 @@
|
|
|
890
914
|
$('script-download').addEventListener('click', () => { if (app.draft && !app.dirty && !app.stale) download(`${app.draft.id || 'flow-qa'}.test.mjs`, app.script, 'text/javascript'); });
|
|
891
915
|
$('report-md').addEventListener('click', downloadReportMarkdown);
|
|
892
916
|
$('report-json').addEventListener('click', () => { if (app.report) download(`${app.selectedRun}.json`, JSON.stringify(app.report, null, 2), 'application/json'); });
|
|
917
|
+
$('report-case-ids-download').addEventListener('click', downloadVisibleReportCaseIds);
|
|
893
918
|
$('report-rerun').addEventListener('click', prepareFailedCases);
|
|
894
919
|
$('report-case-search').addEventListener('input', (event) => { app.reportFilter.search = event.currentTarget.value; renderReportCases(); });
|
|
895
920
|
$('report-case-status').addEventListener('change', (event) => { app.reportFilter.status = event.currentTarget.value; renderReportCases(); });
|
|
896
921
|
$('report-case-sort').addEventListener('change', (event) => { app.reportFilter.sort = event.currentTarget.value; renderReportCases(); });
|
|
897
|
-
$('report-case-
|
|
922
|
+
$('report-case-repeated-only').addEventListener('change', (event) => { app.reportFilter.repeatedOnly = event.currentTarget.checked; renderReportCases(); });
|
|
923
|
+
$('report-case-reset').addEventListener('click', () => { app.reportFilter = defaultReportFilter(); renderReportCases(); });
|
|
898
924
|
$('target-form').addEventListener('submit', saveTarget);
|
|
899
925
|
$('target-kind').addEventListener('change', targetFields); targetFields();
|
|
900
926
|
$('language-select').addEventListener('change', (event) => i18n.setLocale(event.currentTarget.value));
|
|
@@ -150,6 +150,9 @@
|
|
|
150
150
|
'report.sortRecorded': ['Recorded order', '기록 순서'],
|
|
151
151
|
'report.sortDurationDescending': ['Longest attempt time first', '시도 시간이 긴 순'],
|
|
152
152
|
'report.sortAttemptsDescending': ['Most attempts first', '시도가 많은 순'],
|
|
153
|
+
'report.repeatedOnly': ['At least 2 attempts', '시도 2회 이상만 보기'],
|
|
154
|
+
'report.downloadCaseIds': ['Download visible case IDs', '표시된 케이스 ID 다운로드'],
|
|
155
|
+
'report.caseIdsLineBreakHint': ['A visible case ID contains a line break. Download JSON or narrow the filter.', '표시 중인 케이스 ID에 줄바꿈이 포함되어 있습니다. JSON을 다운로드하거나 필터를 좁혀 주세요.'],
|
|
153
156
|
'report.copyCaseId': ['Copy case ID', '케이스 ID 복사'],
|
|
154
157
|
'report.copyCaseIdAria': ['Copy case ID {id}', '케이스 ID {id} 복사'],
|
|
155
158
|
'report.caseIdCopied': ['Case ID copied.', '케이스 ID를 복사했습니다.'],
|
|
@@ -163,7 +166,7 @@
|
|
|
163
166
|
'report.totalAttemptTime': ['Total attempt time: {duration}ms', '시도 시간 합계: {duration}ms'],
|
|
164
167
|
'report.empty': ['This report has no cases.', '이 보고서에는 케이스가 없습니다.'],
|
|
165
168
|
'report.noMatches': ['No cases match these filters.', '필터에 맞는 케이스가 없습니다.'],
|
|
166
|
-
'report.filterHint': ['Filters and sorting only change the displayed cases.
|
|
169
|
+
'report.filterHint': ['Filters and sorting only change the displayed cases. Markdown and JSON downloads include all cases; the case ID download includes only visible cases. Failed/error preparation uses all recorded failed/error cases regardless of visibility.', '필터와 정렬은 표시되는 케이스에만 적용됩니다. Markdown·JSON 다운로드에는 모든 케이스가 포함되고, 케이스 ID 다운로드에는 현재 표시된 케이스만 포함됩니다. 실패·오류 준비에는 표시 여부와 관계없이 기록된 모든 실패·오류 케이스가 사용됩니다.'],
|
|
167
170
|
'history.prepareFailed': ['Prepare failed/error cases', '실패·오류 케이스 준비'],
|
|
168
171
|
'history.prepareHint': ['Only failed and error cases are selected. Passed, flaky, blocked, and skipped cases are excluded. Preparation never starts a run.', '실패·오류 케이스만 선택합니다. 통과·간헐 실패·차단·건너뜀 케이스는 제외됩니다. 준비만으로 실행은 시작되지 않습니다.'],
|
|
169
172
|
'history.downloadMarkdown': ['Download Markdown', 'Markdown 다운로드'],
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
<div id="comparison-results" hidden><div id="comparison-warnings"></div><div id="comparison-summary"></div><div class="comparison-filter-row"><label for="comparison-filter" data-i18n="comparison.filter">Show cases</label><select id="comparison-filter" aria-controls="comparison-content"><option value="" data-i18n="comparison.all">All categories</option><option value="newly-failed" data-i18n="comparison.newlyFailed">Newly failed</option><option value="now-passed" data-i18n="comparison.nowPassed">Now passed</option><option value="changed" data-i18n="comparison.changed">Changed status</option><option value="unchanged" data-i18n="comparison.unchanged">Same status</option><option value="added" data-i18n="comparison.added">Added to current</option><option value="missing" data-i18n="comparison.missing">Missing from current</option></select></div><div class="actions comparison-actions"><button type="button" id="comparison-md" class="button" data-i18n="comparison.downloadMarkdown" disabled>Download comparison Markdown</button><button type="button" id="comparison-json" class="button quiet" data-i18n="comparison.downloadJson" disabled>Download comparison JSON</button><button type="button" id="compare-open-baseline" class="button quiet" data-i18n="comparison.openBaseline" disabled>View baseline report</button><button type="button" id="compare-open-current" class="button quiet" data-i18n="comparison.openCurrent" disabled>View current report</button></div><div id="comparison-content"></div></div>
|
|
105
105
|
</div>
|
|
106
106
|
</section>
|
|
107
|
-
<section id="report-panel" class="report-panel" hidden><div class="section-head"><span class="section-number">03</span><div><h2 data-i18n="history.report">Detailed report</h2><p id="report-heading"></p></div></div><div class="section-body"><div class="actions"><button type="button" id="report-md" class="button" data-i18n="history.downloadMarkdown">Download Markdown</button><button type="button" id="report-json" class="button quiet" data-i18n="history.downloadJson">Download JSON</button><button type="button" id="report-rerun" class="button primary" disabled data-i18n="history.prepareFailed">Prepare failed/error cases</button></div><p class="hint" data-i18n="history.prepareHint">Passed, flaky, blocked, and skipped cases are excluded. Preparation does not start a run.</p><p class="hint" data-i18n="history.evidenceHint">The report summarizes results. Open or download screenshots and recordings from each attempt. Evidence files are not included in report downloads.</p><div class="report-case-filters"><div><label for="report-case-search" data-i18n="report.searchLabel">Search cases</label><input id="report-case-search" type="search" aria-controls="report-case-list" placeholder="Search ID, title, expected result, or errors" data-i18n-placeholder="report.searchPlaceholder"></div><div><label for="report-case-status" data-i18n="report.statusLabel">Case status</label><select id="report-case-status" aria-controls="report-case-list"><option value="all">All</option><option value="failed-error">Failed/error only</option><option value="passed">passed</option><option value="failed">failed</option><option value="error">error</option><option value="blocked">blocked</option><option value="flaky">flaky</option><option value="skipped">skipped</option></select></div><div><label for="report-case-sort" data-i18n="report.sortLabel">Case order</label><select id="report-case-sort" aria-controls="report-case-list"><option value="recorded" data-i18n="report.sortRecorded">Recorded order</option><option value="duration-desc" data-i18n="report.sortDurationDescending">Longest attempt time first</option><option value="attempts-desc" data-i18n="report.sortAttemptsDescending">Most attempts first</option></select></div><button type="button" id="report-case-reset" class="button quiet" data-i18n="report.reset">Reset filters</button></div><p id="report-case-count" class="hint" role="status" aria-live="polite"></p><p class="hint" data-i18n="report.filterHint">Filters and sorting only change the displayed cases.
|
|
107
|
+
<section id="report-panel" class="report-panel" hidden><div class="section-head"><span class="section-number">03</span><div><h2 data-i18n="history.report">Detailed report</h2><p id="report-heading"></p></div></div><div class="section-body"><div class="actions"><button type="button" id="report-md" class="button" data-i18n="history.downloadMarkdown">Download Markdown</button><button type="button" id="report-json" class="button quiet" data-i18n="history.downloadJson">Download JSON</button><button type="button" id="report-rerun" class="button primary" disabled data-i18n="history.prepareFailed">Prepare failed/error cases</button></div><p class="hint" data-i18n="history.prepareHint">Passed, flaky, blocked, and skipped cases are excluded. Preparation does not start a run.</p><p class="hint" data-i18n="history.evidenceHint">The report summarizes results. Open or download screenshots and recordings from each attempt. Evidence files are not included in report downloads.</p><div class="report-case-filters"><div><label for="report-case-search" data-i18n="report.searchLabel">Search cases</label><input id="report-case-search" type="search" aria-controls="report-case-list" placeholder="Search ID, title, expected result, or errors" data-i18n-placeholder="report.searchPlaceholder"></div><div><label for="report-case-status" data-i18n="report.statusLabel">Case status</label><select id="report-case-status" aria-controls="report-case-list"><option value="all">All</option><option value="failed-error">Failed/error only</option><option value="passed">passed</option><option value="failed">failed</option><option value="error">error</option><option value="blocked">blocked</option><option value="flaky">flaky</option><option value="skipped">skipped</option></select></div><div><label for="report-case-sort" data-i18n="report.sortLabel">Case order</label><select id="report-case-sort" aria-controls="report-case-list"><option value="recorded" data-i18n="report.sortRecorded">Recorded order</option><option value="duration-desc" data-i18n="report.sortDurationDescending">Longest attempt time first</option><option value="attempts-desc" data-i18n="report.sortAttemptsDescending">Most attempts first</option></select></div><button type="button" id="report-case-reset" class="button quiet" data-i18n="report.reset">Reset filters</button></div><label class="report-repeated-filter"><input type="checkbox" id="report-case-repeated-only" aria-controls="report-case-list" data-i18n-aria-label="report.repeatedOnly"><span data-i18n="report.repeatedOnly">At least 2 attempts</span></label><div class="actions"><p id="report-case-count" class="hint" role="status" aria-live="polite"></p><button type="button" id="report-case-ids-download" class="button quiet" data-i18n="report.downloadCaseIds" disabled>Download visible case IDs</button></div><p id="report-case-ids-hint" class="hint" data-i18n="report.caseIdsLineBreakHint" hidden>A visible case ID contains a line break. Download JSON or narrow the filter.</p><p class="hint" data-i18n="report.filterHint">Filters and sorting only change the displayed cases. Markdown and JSON downloads include all cases; the case ID download includes only visible cases. Failed/error preparation uses all recorded failed/error cases regardless of visibility.</p><div id="report-content"></div></div></section>
|
|
108
108
|
</section>
|
|
109
109
|
<section id="view-settings" class="view" hidden>
|
|
110
110
|
<div class="page-heading"><p class="eyebrow" data-i18n="settings.eyebrow">04 / CONNECTIONS</p><h1 data-i18n="nav.settings">Connections</h1><p data-i18n="settings.intro">Configure run targets and models separately. Key values are read only from server environment variables.</p></div>
|
|
@@ -110,6 +110,8 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
110
110
|
.report-case-filters label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 750; }
|
|
111
111
|
.report-case-filters input, .report-case-filters select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--paper); color: var(--ink); }
|
|
112
112
|
#report-case-count { margin: 12px 0 4px; }
|
|
113
|
+
.report-repeated-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 13px; cursor: pointer; }
|
|
114
|
+
.report-repeated-filter input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--accent-solid); }
|
|
113
115
|
.blocked-title { margin-top: 21px !important; color: var(--accent-text); }
|
|
114
116
|
.draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: calc(var(--space-factor) * 16px) 0; }
|
|
115
117
|
.draft-actions span { color: var(--muted); font-size: 12px; }
|
package/docs/mobile.md
CHANGED
|
@@ -9,7 +9,7 @@ Choose **Mobile** on the scenario screen, describe the flow, and generate or dow
|
|
|
9
9
|
With the installed CLI:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install -g @ihyeon/flow-qa@0.8.
|
|
12
|
+
npm install -g @ihyeon/flow-qa@0.8.7
|
|
13
13
|
flow-qa init ./my-qa
|
|
14
14
|
# Write your mobile flow in my-qa/flows/my-flow.md first.
|
|
15
15
|
flow-qa plan flows/my-flow.md --platform mobile --prompt-only --workspace ./my-qa
|
package/docs/releases.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
The alpha entries below are historical release records. They document earlier package versions and checks.
|
|
4
4
|
|
|
5
|
+
## 0.8.7: filter cases with multiple attempts
|
|
6
|
+
|
|
7
|
+
In a detailed report, check **At least 2 attempts** to inspect only cases with two or more recorded attempts. The filter starts off and combines with case search, status, and sorting. It includes cases by attempt count regardless of outcome or missing timing. Choose **Download visible case IDs** to save the matching list.
|
|
8
|
+
|
|
9
|
+
Resetting filters or opening a different report clears the checkbox; reopening the same report preserves it. Status-option counts, full Markdown/JSON downloads, and failed/error preparation still use the whole report.
|
|
10
|
+
|
|
11
|
+
Locally verified on macOS with Node.js 24.22.1 on 2026-11-13 (Asia/Seoul): 118 tests, type checking, UI checks, the report-explorer browser smoke, and package checks passed. Browser fixtures checked the two-attempt boundary, missing timing, combined filters, persistence/reset, full downloads and rerun scope, English/Korean, and a 390px layout. A fresh tarball installation ran seven passing browser cases and verified that the downloaded ID list included a three-attempt case and excluded a single-attempt case with the same status.
|
|
12
|
+
|
|
13
|
+
- Package: [`@ihyeon/flow-qa@0.8.7`](https://www.npmjs.com/package/@ihyeon/flow-qa/v/0.8.7)
|
|
14
|
+
- Release: [GitHub 0.8.7](https://github.com/hyeonse-swing/flow-qa/releases/tag/v0.8.7)
|
|
15
|
+
|
|
16
|
+
## 0.8.6: download the visible case IDs
|
|
17
|
+
|
|
18
|
+
Use **Download visible case IDs** in a detailed report to save a UTF-8 text list for a QA handoff. The list follows the current search, status filter, and case order. Each line contains only the original ID. If no cases match, the button is disabled. If a visible legacy ID contains a line break, filter it out or use the full JSON report.
|
|
19
|
+
|
|
20
|
+
Markdown and JSON still export the full opened report in its recorded order. Downloading an ID list does not change case selection or start a run.
|
|
21
|
+
|
|
22
|
+
Locally verified on macOS with Node.js 24.22.1 on 2026-11-13 (Asia/Seoul): 118 tests, type checking, the UI design-system check, the report-explorer browser smoke, and the package checks passed. Chromium downloaded real files and checked their names and contents for filtered, sorted, partial, and Unicode cases. Zero matches and multiline IDs disabled the TXT button. A fresh tarball installation ran seven passing browser cases and checked the filtered TXT download while the JSON export kept the complete report.
|
|
23
|
+
|
|
24
|
+
- Package: [`@ihyeon/flow-qa@0.8.6`](https://www.npmjs.com/package/@ihyeon/flow-qa/v/0.8.6)
|
|
25
|
+
- Release: [GitHub 0.8.6](https://github.com/hyeonse-swing/flow-qa/releases/tag/v0.8.6)
|
|
26
|
+
|
|
5
27
|
## 0.8.5: copy case IDs from detailed reports
|
|
6
28
|
|
|
7
29
|
Each case in the detailed report now has a **Copy case ID** button. It copies only the recorded ID and shows success or failure beside that case, with English and Korean messages. If clipboard access is blocked or unavailable, the message explains how to copy the ID manually from the heading.
|
package/docs/ui.md
CHANGED
|
@@ -7,7 +7,7 @@ Describe a user flow, review cases, and configure a target when ready to run. We
|
|
|
7
7
|
Node.js 24.x (24.22.1 or later) or 26.12.1 or later is required. Node 25 is unsupported. Upgrade the Node runtime and restart any running UI process; updating Flow QA alone does not patch Node. Install Flow QA and start the web demo:
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm install -g @ihyeon/flow-qa@0.8.
|
|
10
|
+
npm install -g @ihyeon/flow-qa@0.8.7
|
|
11
11
|
flow-qa browser install
|
|
12
12
|
flow-qa ui --demo
|
|
13
13
|
```
|
|
@@ -88,9 +88,13 @@ From `0.8.4`, **Case order → Most attempts first** brings cases with more reco
|
|
|
88
88
|
|
|
89
89
|
From `0.8.5`, **Copy case ID** below a case heading copies only that case ID, including after filtering or sorting. Success or failure is shown beside that button. If the browser blocks clipboard access or the API is unavailable, select the ID in the heading and copy it manually. Copying does not start a run or change report data.
|
|
90
90
|
|
|
91
|
+
From `0.8.7`, check **At least 2 attempts** to show cases with two or more saved attempts, regardless of their final status or recorded timing. It combines with the search and status filters. The visible ID list uses the same filter.
|
|
92
|
+
|
|
93
|
+
From `0.8.6`, **Download visible case IDs** saves `<run-id>-case-ids.txt`: one ID per line, in the order shown after case search, status filtering, and sorting. The list is UTF-8 text with a final newline. The button is disabled when no cases match. If a legacy ID contains a line break, narrow the filter to exclude that ID or download the full JSON report.
|
|
94
|
+
|
|
91
95
|
From `0.8.0`, open **Run history → Detailed report** and use **Search cases** with **Case status** to narrow the displayed results. Search ignores case and surrounding whitespace, and matches case IDs, titles, reasons, expected results, attempt errors, secondary errors, step labels, and step errors. User-written Korean text is supported. Artifact paths and translated status labels are not search fields.
|
|
92
96
|
|
|
93
|
-
**Failed/error only** shows those two recorded statuses; the other status choices distinguish passed, failed, error, blocked, flaky, and skipped. Status-option counts describe the entire open report, while the displayed count shows matches out of that report's recorded cases. A partial run's omitted cases are not included in those counts; its selected/full-suite scope remains visible separately. Report-level warnings remain visible even when no case matches. **Reset filters** clears search and status and restores recorded order.
|
|
97
|
+
**Failed/error only** shows those two recorded statuses; the other status choices distinguish passed, failed, error, blocked, flaky, and skipped. Status-option counts describe the entire open report, while the displayed count shows matches out of that report's recorded cases. A partial run's omitted cases are not included in those counts; its selected/full-suite scope remains visible separately. Report-level warnings remain visible even when no case matches. **Reset filters** clears search and status, unchecks **At least 2 attempts**, and restores recorded order.
|
|
94
98
|
|
|
95
99
|
Filters and sorting stay while navigating, changing language, refreshing history/settings, or reopening the same report. Successfully opening another report resets them; a failed report load preserves the current report, filters, and sorting. Filters and sorting reset on page reload. Evidence links still refer to each case's original attempt and artifact.
|
|
96
100
|
|