fix: 미존재 메뉴 시나리오 삭제 + 느린 페이지 타임아웃 증가 (청구관리/공지사항/지급관리/출하관리 제거, 매출관리/부서관리/품목관리 10s)

This commit is contained in:
김보곤
2026-02-13 14:30:58 +09:00
parent b9ff143c8d
commit 1f1189c8fd
13 changed files with 8 additions and 318 deletions

View File

@@ -1,6 +1,6 @@
{
"id": "workflow-purchase-to-payment",
"name": "비즈니스 워크플로우: 구매→청구→지급 흐름",
"name": "비즈니스 워크플로우: 구매→매입 흐름",
"version": "1.0.0",
"category": "workflow",
"auth": {
@@ -60,60 +60,6 @@
"action": "evaluate",
"script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const R={phase:'VERIFY_VENDOR_ACC'};await w(2000);const val=window.__WORKFLOW_CTX__?.vendorName;if(!val){R.warn='컨텍스트에 vendorName 없음';R.ok=true;return JSON.stringify(R);}R.searchTarget=val;const si=document.querySelector('input[placeholder*=\"검색\"]')||document.querySelector('input[type=\"search\"]');if(si){ si.focus();await w(200); const ns=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,'value')?.set; if(ns)ns.call(si,val);else si.value=val; si.dispatchEvent(new Event('input',{bubbles:true})); si.dispatchEvent(new Event('change',{bubbles:true})); await w(2500);}const found=document.body.innerText.includes(val);R.found=found;if(found){R.info='✅ 회계>거래처관리에서 ['+val+'] 확인';R.ok=true;}else{R.warn='⚠️ 회계>거래처관리에서 ['+val+'] 미발견';R.ok=true;}if(si){ const ns2=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,'value')?.set; if(ns2)ns2.call(si,'');else si.value=''; si.dispatchEvent(new Event('input',{bubbles:true}));await w(1000);}return JSON.stringify(R);})()",
"phase": "VERIFY_VENDOR_ACC"
},
{
"id": 8,
"name": "[회계 > 청구서관리] 메뉴 이동",
"action": "menu_navigate",
"level1": "회계관리",
"level2": "청구서관리",
"timeout": 10000
},
{
"id": 9,
"name": "[회계 > 청구서관리] wait",
"action": "wait",
"timeout": 3000
},
{
"id": 10,
"name": "[회계 > 청구서관리] wait_for_table",
"action": "wait_for_table",
"timeout": 5000
},
{
"id": 11,
"name": "[회계 > 청구서관리] CHECK_BILLS",
"action": "evaluate",
"script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const R={phase:'CHECK_BILLS'};await w(1500);const rows=Array.from(document.querySelectorAll('table tbody tr')).filter(r=>r.offsetParent!==null);R.rowCount=rows.length;R.ok=true;R.info='테이블 행: '+rows.length;return JSON.stringify(R);})()",
"phase": "CHECK_BILLS"
},
{
"id": 12,
"name": "[회계 > 지급관리] 메뉴 이동",
"action": "menu_navigate",
"level1": "회계관리",
"level2": "지급관리",
"timeout": 10000
},
{
"id": 13,
"name": "[회계 > 지급관리] wait",
"action": "wait",
"timeout": 3000
},
{
"id": 14,
"name": "[회계 > 지급관리] wait_for_table",
"action": "wait_for_table",
"timeout": 5000
},
{
"id": 15,
"name": "[회계 > 지급관리] CHECK_PAYMENTS",
"action": "evaluate",
"script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const R={phase:'CHECK_PAYMENTS'};await w(1500);const rows=Array.from(document.querySelectorAll('table tbody tr')).filter(r=>r.offsetParent!==null);R.rowCount=rows.length;R.ok=true;R.info='테이블 행: '+rows.length;return JSON.stringify(R);})()",
"phase": "CHECK_PAYMENTS"
}
]
}