fix: deprecated window.__API_LOGS__ → window.__E2E__.getApiLogs() 패턴 수정 (17개 파일)
- approval-box, edge-rapid-click-acc-sales, full-crud-* (4개) - hr-salary-long-term-care, production-work-order - quality-inspection, quality-performance-report - reload-persist-acc-deposit, sales-management - sales-order-bulk-delete, sales-order, sales-quotation - system-dashboard, vendor-management - 전체 209/209 ALL PASS 검증 완료 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
"id": 16,
|
||||
"name": "[SUMMARY] API 호출 통계",
|
||||
"action": "evaluate",
|
||||
"script": "(()=>{const logs=window.__API_LOGS__||[];const salaryApi=logs.filter(l=>l.url.includes('salary')||l.url.includes('payroll'));return 'pass: API summary - total='+logs.length+' salary_api='+salaryApi.length+' success='+logs.filter(l=>l.status>=200&&l.status<300).length+' failed='+logs.filter(l=>l.status>=400).length;})()"
|
||||
"script": "(()=>{const logs=(window.__E2E__?window.__E2E__.getApiLogs().logs:[]);const salaryApi=logs.filter(l=>l.url.includes('salary')||l.url.includes('payroll'));return 'pass: API summary - total='+logs.length+' salary_api='+salaryApi.length+' success='+logs.filter(l=>l.status>=200&&l.status<300).length+' failed='+logs.filter(l=>l.status>=400).length;})()"
|
||||
}
|
||||
],
|
||||
"expectedAPIs": [
|
||||
|
||||
Reference in New Issue
Block a user