@ihyeon/flow-qa 0.8.3 → 0.8.4

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 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.3
19
+ npm install -g @ihyeon/flow-qa@0.8.4
20
20
  flow-qa browser install
21
21
  flow-qa ui --demo
22
22
  ```
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.3
19
+ npm install -g @ihyeon/flow-qa@0.8.4
20
20
  flow-qa browser install
21
21
  flow-qa ui --demo
22
22
  ```
@@ -702,7 +702,14 @@
702
702
  const label = option.value === 'all' ? t('report.filterAll') : option.value === 'failed-error' ? t('report.filterFailedError') : i18n.status(option.value);
703
703
  option.textContent = `${label} (${counts[option.value]})`;
704
704
  }
705
- for (const option of $('report-case-sort').options) option.textContent = t(option.value === 'duration-desc' ? 'report.sortDurationDescending' : 'report.sortRecorded');
705
+ for (const option of $('report-case-sort').options) {
706
+ const labelKey = {
707
+ recorded: 'report.sortRecorded',
708
+ 'duration-desc': 'report.sortDurationDescending',
709
+ 'attempts-desc': 'report.sortAttemptsDescending'
710
+ }[option.value];
711
+ option.textContent = t(labelKey);
712
+ }
706
713
  if ($('report-case-search').value !== app.reportFilter.search) $('report-case-search').value = app.reportFilter.search;
707
714
  $('report-case-status').value = app.reportFilter.status;
708
715
  $('report-case-sort').value = app.reportFilter.sort;
@@ -722,6 +729,7 @@
722
729
  if (rightDuration === null) return -1;
723
730
  return rightDuration - leftDuration || left.index - right.index;
724
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);
725
733
  const displayed = shown.map(({ item }) => item);
726
734
  $('report-case-count').textContent = t('report.caseCount', { shown: displayed.length, total: cases.length });
727
735
  const host = $('report-case-list'); replace(host);
@@ -149,6 +149,7 @@
149
149
  'report.sortLabel': ['Case order', '케이스 정렬'],
150
150
  'report.sortRecorded': ['Recorded order', '기록 순서'],
151
151
  'report.sortDurationDescending': ['Longest attempt time first', '시도 시간이 긴 순'],
152
+ 'report.sortAttemptsDescending': ['Most attempts first', '시도가 많은 순'],
152
153
  'report.filterAll': ['All statuses', '전체 상태'],
153
154
  'report.filterFailedError': ['Failed/error only', '실패·오류만'],
154
155
  'report.reset': ['Reset filters', '필터 초기화'],
@@ -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></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. Downloads include all cases, and failed/error preparation uses all recorded failed/error cases regardless of visibility.</p><div id="report-content"></div></div></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. Downloads include all cases, and 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>
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.3
12
+ npm install -g @ihyeon/flow-qa@0.8.4
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,17 @@
2
2
 
3
3
  The alpha entries below are historical release records. They document earlier package versions and checks.
4
4
 
5
+ ## 0.8.4: find cases with repeated attempts
6
+
7
+ Detailed reports now offer **Case order → Most attempts first**. Cases sort by the number of saved attempts, keeping equal counts in their original order and placing zero-attempt cases last. Timing availability does not affect this order, and the view does not infer retries or change recorded outcomes. English and Korean labels are available.
8
+
9
+ The option works with the existing search/status filters and preserves the same report-navigation and reset behavior. Downloads keep the complete original report, evidence links retain their indices, and failed/error preparation keeps its full scope.
10
+
11
+ Locally verified on macOS with Node.js 24.22.1 on 2026-11-09 (Asia/Seoul): 118 tests, type checking, UI syntax/design-system audit, the report-explorer browser smoke, and package checks passed. Browser fixtures covered attempt-count ordering, stable ties, zero attempts, invalid timing independence, search/status combinations, full exports, original evidence indices, rerun scope, persistence/reset behavior, English/Korean, and a 390px layout. A fresh tarball installation ran seven passing browser cases and verified attempt ordering and reset in the installed UI. No model calls, external logins, or native-device runs were used.
12
+
13
+ - Package: [`@ihyeon/flow-qa@0.8.4`](https://www.npmjs.com/package/@ihyeon/flow-qa/v/0.8.4)
14
+ - Release: [GitHub 0.8.4](https://github.com/hyeonse-swing/flow-qa/releases/tag/v0.8.4)
15
+
5
16
  ## 0.8.3: find slow cases by recorded attempt time
6
17
 
7
18
  Detailed reports now offer **Case order → Longest attempt time first**. The view sorts by the sum of valid recorded attempt durations, keeps equal totals in their original order, and places unknown or invalid totals after all valid totals, including zero. **Recorded order** restores the original order; **Reset filters** also resets sorting. English and Korean labels are available.
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.3
10
+ npm install -g @ihyeon/flow-qa@0.8.4
11
11
  flow-qa browser install
12
12
  flow-qa ui --demo
13
13
  ```
@@ -84,6 +84,8 @@ From `0.8.1`, each case heading also shows the number of attempts recorded in th
84
84
 
85
85
  From `0.8.3`, **Case order → Longest attempt time first** sorts visible cases by their total recorded attempt time. Equal totals keep their recorded order. Missing, incomplete, invalid, or overflowing totals appear after valid totals, including zero. **Recorded order** restores the original report order.
86
86
 
87
+ From `0.8.4`, **Case order → Most attempts first** brings cases with more recorded attempts to the top. Equal counts retain recorded order; cases with zero attempts follow attempted cases. This uses the saved attempt list only and does not infer a retry policy, change case status, or depend on duration availability.
88
+
87
89
  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.
88
90
 
89
91
  **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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihyeon/flow-qa",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "license": "MIT",
5
5
  "author": "Hyeonse Im",
6
6
  "repository": {