From 20d92ea51b8c0b0b419465661fb3498084e576cc Mon Sep 17 00:00:00 2001 From: kent Date: Sun, 21 Dec 2025 17:00:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=94=8C=EB=A1=9C=EC=9A=B0=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=84=B0=20API=20=EB=A1=9C=EA=B7=B8=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=B9=B4=EC=9A=B4=ED=8A=B8=20=EB=A1=9C=EC=A7=81=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 오류 카운트 기준: HTTP 상태 → 스텝 실패 여부로 변경 - expect로 4xx 기대하고 성공한 경우 오류로 카운트 안 함 - HTTP 4xx/5xx 응답은 주황색(amber)으로 시각적 구분 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../dev-tools/flow-tester/index.blade.php | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/resources/views/dev-tools/flow-tester/index.blade.php b/resources/views/dev-tools/flow-tester/index.blade.php index fcfe6389..fd01150c 100644 --- a/resources/views/dev-tools/flow-tester/index.blade.php +++ b/resources/views/dev-tools/flow-tester/index.blade.php @@ -72,7 +72,7 @@ class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none foc -
+
@if($flows->isEmpty())
@@ -580,7 +580,7 @@ function showResultModal(data) {
` : ''} - ${getApiLogSummary(result.apiLogs)} + ${getApiLogSummary(result.apiLogs, result.executionLog)}
`; } else { - return `
- RES - ${log.status || '-'} + // 스텝 성공 여부와 관계없이 HTTP 상태만 시각적으로 표시 + const statusColor = isHttpError ? 'bg-amber-500' : 'bg-green-600'; + const badgeColor = isHttpError ? 'bg-amber-100 text-amber-700' : 'bg-green-100 text-green-700'; + return `
+ RES + ${log.status || '-'} ${log.uri || ''} - ${isError && log.message ? `${log.message}` : ''}
`; } }).join(''); @@ -638,7 +645,7 @@ function getApiLogSummary(apiLogs) {

API 로그 (${responses.length}개 응답) - ${hasErrors ? `${errors.length}개 오류` : ''} + ${hasErrors ? `${actualErrorCount}개 오류` : ''}

${logItems}