From e49bc9b3e3ce53f724b381290c701bdb1611e470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Fri, 27 Feb 2026 23:11:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20batch-create-acc-bills=20=EC=8B=9C?= =?UTF-8?q?=EB=82=98=EB=A6=AC=EC=98=A4=20=EB=A6=AC=ED=8C=A9=ED=86=A0?= =?UTF-8?q?=EB=A7=81=20v2.0=20(59=E2=86=9233=EC=8A=A4=ED=85=9D,=20DELETE?= =?UTF-8?q?=20evaluate=20=ED=86=B5=ED=95=A9,=20180s=20=ED=83=80=EC=9E=84?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=ED=95=B4=EA=B2=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- batch-create-acc-bills.json | 271 +++++++++--------------------------- 1 file changed, 68 insertions(+), 203 deletions(-) diff --git a/batch-create-acc-bills.json b/batch-create-acc-bills.json index bb509bd..9900e83 100644 --- a/batch-create-acc-bills.json +++ b/batch-create-acc-bills.json @@ -1,7 +1,7 @@ { "id": "batch-create-acc-bills", "name": "연속 등록 테스트: 어음관리", - "version": "1.1.0", + "version": "2.0.0", "auth": { "role": "admin" }, @@ -37,8 +37,8 @@ "id": 4, "name": "[회계관리 > 어음관리] [CREATE #1] 데이터 생성", "action": "evaluate", - "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const sv=(el,v)=>{const p=el.tagName==='TEXTAREA'?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;const ns=Object.getOwnPropertyDescriptor(p,'value')?.set;if(ns)ns.call(el,v);else el.value=v;el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));};const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||(()=>{const n=new Date();const p=v=>v.toString().padStart(2,'0');return n.getFullYear()+p(n.getMonth()+1)+p(n.getDate())+'_'+p(n.getHours())+p(n.getMinutes())+p(n.getSeconds());})();window.__E2E_TS__=ts;try{sessionStorage.setItem('__E2E_TS__',ts);}catch(e){}const R={phase:'CREATE_1',ts,n:1};const testId='EB1'+ts.replace(/_/g,'').substring(4,10);const btn=Array.from(document.querySelectorAll('button')).find(b=>/어음.*등록|등록/.test(b.innerText?.trim()));if(!btn){R.error='등록 버튼 없음';return JSON.stringify(R);}btn.click();await w(2500);R.url=location.pathname+location.search;const formArea=document.querySelector('main')||document.querySelector('[class*=\"content\"]')||document.body;const combos=Array.from(formArea.querySelectorAll('button[role=\"combobox\"]')).filter(b=>b.offsetParent!==null&&!b.closest('nav,[class*=sidebar],[class*=Sidebar]'));R.comboCount=combos.length;for(let i=0;ib.innerText?.trim()==='날짜 선택'&&b.offsetParent!==null);for(const db of dateButtons){ db.scrollIntoView({block:'center'});await w(200); db.click();await w(600); if(!document.querySelector('table[class*=\"rdp\"],.rdp-month,[role=\"grid\"]')){db.click();await w(800);} const today=document.querySelector('[aria-selected=\"true\"]')||document.querySelector('button[name=\"day\"].bg-primary')||document.querySelector('.rdp-day_today button')||Array.from(document.querySelectorAll('button[name=\"day\"],td[role=\"gridcell\"] button,.rdp-day button')).find(b=>b.getAttribute('aria-selected')==='true'||b.classList.contains('bg-primary')||b.tabIndex===0)||document.querySelector('button[name=\"day\"]')||document.querySelector('td[role=\"gridcell\"] button'); if(today){today.click();await w(400);} else{document.dispatchEvent(new KeyboardEvent('keydown',{key:'Escape',bubbles:true}));await w(300);}}await w(300);const numInput=document.querySelector('input#billNumber,input[name*=\"billNumber\"],input[placeholder*=\"어음번호\"]')||Array.from(formArea.querySelectorAll('input[type=\"text\"]')).find(i=>i.offsetParent!==null&&!i.readOnly&&!i.disabled);if(numInput){sv(numInput,'E2E_TEST_'+testId);await w(200);}R.numFound=!!numInput;const amtInput=document.querySelector('input[placeholder*=\"금액\"]');if(amtInput){sv(amtInput,'20000');await w(200);}const noteInput=document.querySelector('input[placeholder*=\"비고\"]')||document.querySelector('textarea[placeholder*=\"비고\"]');if(noteInput){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);}R.noteFound=!!noteInput;if(noteInput&&!noteInput.value?.includes('E2E_TEST_')){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);R.refilled=true;}const submitBtn=Array.from(document.querySelectorAll('button')).find(b=>/^등록$|^저장$/.test(b.innerText?.trim())&&b.offsetParent!==null);if(!submitBtn){R.error='등록 버튼 없음';return JSON.stringify(R);}submitBtn.click();await w(3000);R.urlAfter=location.pathname+location.search;const valErrs=Array.from((formArea||document.body).querySelectorAll('[class*=\"error\"],[class*=\"invalid\"],.text-red-500,.text-destructive')).filter(e=>{const t=e.innerText?.trim();return e.offsetParent!==null&&t&&t.length>3&&!/^\\*+$/.test(t)&&!e.closest('nav,[class*=sidebar],[class*=Sidebar],label');}).map(e=>e.innerText.trim()).slice(0,3);if(valErrs.length)R.valErrs=valErrs;const apiLg=window.__API_LOGS__||[];const postOk=apiLg.some(l=>l.method==='POST'&&l.ok);const toastEl=document.querySelector('[data-sonner-toast],[role=\"status\"],[class*=\"toast\"],[class*=\"Toast\"]');const toastOk=toastEl&&/등록|완료|성공|저장/.test(toastEl.innerText||'');R.ok=(!R.urlAfter.includes('mode=new')&&!location.pathname.endsWith('/new'))||postOk||!!toastOk;if(!R.ok)R.error='등록실패 url='+R.urlAfter+' errs='+JSON.stringify(valErrs);return JSON.stringify(R);})()", - "timeout": 60000, + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const sv=(el,v)=>{const p=el.tagName==='TEXTAREA'?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;const ns=Object.getOwnPropertyDescriptor(p,'value')?.set;if(ns)ns.call(el,v);else el.value=v;el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));};const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||(()=>{const n=new Date();const p=v=>v.toString().padStart(2,'0');return n.getFullYear()+p(n.getMonth()+1)+p(n.getDate())+'_'+p(n.getHours())+p(n.getMinutes())+p(n.getSeconds());})();window.__E2E_TS__=ts;try{sessionStorage.setItem('__E2E_TS__',ts);}catch(e){}const R={phase:'CREATE_1',ts,n:1};const testId='EB1'+ts.replace(/_/g,'').substring(4,10);const btn=Array.from(document.querySelectorAll('button')).find(b=>/어음.*등록|등록/.test(b.innerText?.trim()));if(!btn){R.error='등록 버튼 없음';return JSON.stringify(R);}btn.click();await w(2500);R.url=location.pathname+location.search;const formArea=document.querySelector('main')||document.querySelector('[class*=\"content\"]')||document.body;const combos=Array.from(formArea.querySelectorAll('button[role=\"combobox\"]')).filter(b=>b.offsetParent!==null&&!b.closest('nav,[class*=sidebar],[class*=Sidebar]'));R.comboCount=combos.length;for(let i=0;ib.innerText?.trim()==='날짜 선택'&&b.offsetParent!==null);for(const db of dateButtons){db.scrollIntoView({block:'center'});await w(200);db.click();await w(600);if(!document.querySelector('table[class*=\"rdp\"],.rdp-month,[role=\"grid\"]')){db.click();await w(800);}const today=document.querySelector('[aria-selected=\"true\"]')||document.querySelector('button[name=\"day\"].bg-primary')||document.querySelector('.rdp-day_today button')||Array.from(document.querySelectorAll('button[name=\"day\"],td[role=\"gridcell\"] button,.rdp-day button')).find(b=>b.getAttribute('aria-selected')==='true'||b.classList.contains('bg-primary')||b.tabIndex===0)||document.querySelector('button[name=\"day\"]')||document.querySelector('td[role=\"gridcell\"] button');if(today){today.click();await w(400);}else{document.dispatchEvent(new KeyboardEvent('keydown',{key:'Escape',bubbles:true}));await w(300);}}await w(300);const numInput=document.querySelector('input#billNumber,input[name*=\"billNumber\"],input[placeholder*=\"어음번호\"]')||Array.from(formArea.querySelectorAll('input[type=\"text\"]')).find(i=>i.offsetParent!==null&&!i.readOnly&&!i.disabled);if(numInput){sv(numInput,'E2E_TEST_'+testId);await w(200);}R.numFound=!!numInput;const amtInput=document.querySelector('input[placeholder*=\"금액\"]');if(amtInput){sv(amtInput,'20000');await w(200);}const noteInput=document.querySelector('input[placeholder*=\"비고\"]')||document.querySelector('textarea[placeholder*=\"비고\"]');if(noteInput){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);}R.noteFound=!!noteInput;if(noteInput&&!noteInput.value?.includes('E2E_TEST_')){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);R.refilled=true;}const submitBtn=Array.from(document.querySelectorAll('button')).find(b=>/^등록$|^저장$/.test(b.innerText?.trim())&&b.offsetParent!==null);if(!submitBtn){R.error='등록 버튼 없음';return JSON.stringify(R);}submitBtn.click();await w(3000);R.urlAfter=location.pathname+location.search;const apiLg=window.__API_LOGS__||[];const postOk=apiLg.some(l=>l.method==='POST'&&l.ok);const toastEl=document.querySelector('[data-sonner-toast],[role=\"status\"],[class*=\"toast\"],[class*=\"Toast\"]');const toastOk=toastEl&&/등록|완료|성공|저장/.test(toastEl.innerText||'');R.ok=(!R.urlAfter.includes('mode=new')&&!location.pathname.endsWith('/new'))||postOk||!!toastOk;if(!R.ok)R.error='등록실패 url='+R.urlAfter;return JSON.stringify(R);})()", + "timeout": 30000, "phase": "CREATE" }, { @@ -65,8 +65,8 @@ "id": 8, "name": "[회계관리 > 어음관리] [CREATE #2] 데이터 생성", "action": "evaluate", - "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const sv=(el,v)=>{const p=el.tagName==='TEXTAREA'?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;const ns=Object.getOwnPropertyDescriptor(p,'value')?.set;if(ns)ns.call(el,v);else el.value=v;el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));};const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||(()=>{const n=new Date();const p=v=>v.toString().padStart(2,'0');return n.getFullYear()+p(n.getMonth()+1)+p(n.getDate())+'_'+p(n.getHours())+p(n.getMinutes())+p(n.getSeconds());})();window.__E2E_TS__=ts;try{sessionStorage.setItem('__E2E_TS__',ts);}catch(e){}const R={phase:'CREATE_2',ts,n:2};const testId='EB2'+ts.replace(/_/g,'').substring(4,10);const btn=Array.from(document.querySelectorAll('button')).find(b=>/어음.*등록|등록/.test(b.innerText?.trim()));if(!btn){R.error='등록 버튼 없음';return JSON.stringify(R);}btn.click();await w(2500);R.url=location.pathname+location.search;const formArea=document.querySelector('main')||document.querySelector('[class*=\"content\"]')||document.body;const combos=Array.from(formArea.querySelectorAll('button[role=\"combobox\"]')).filter(b=>b.offsetParent!==null&&!b.closest('nav,[class*=sidebar],[class*=Sidebar]'));R.comboCount=combos.length;for(let i=0;ib.innerText?.trim()==='날짜 선택'&&b.offsetParent!==null);for(const db of dateButtons){ db.scrollIntoView({block:'center'});await w(200); db.click();await w(600); if(!document.querySelector('table[class*=\"rdp\"],.rdp-month,[role=\"grid\"]')){db.click();await w(800);} const today=document.querySelector('[aria-selected=\"true\"]')||document.querySelector('button[name=\"day\"].bg-primary')||document.querySelector('.rdp-day_today button')||Array.from(document.querySelectorAll('button[name=\"day\"],td[role=\"gridcell\"] button,.rdp-day button')).find(b=>b.getAttribute('aria-selected')==='true'||b.classList.contains('bg-primary')||b.tabIndex===0)||document.querySelector('button[name=\"day\"]')||document.querySelector('td[role=\"gridcell\"] button'); if(today){today.click();await w(400);} else{document.dispatchEvent(new KeyboardEvent('keydown',{key:'Escape',bubbles:true}));await w(300);}}await w(300);const numInput=document.querySelector('input#billNumber,input[name*=\"billNumber\"],input[placeholder*=\"어음번호\"]')||Array.from(formArea.querySelectorAll('input[type=\"text\"]')).find(i=>i.offsetParent!==null&&!i.readOnly&&!i.disabled);if(numInput){sv(numInput,'E2E_TEST_'+testId);await w(200);}R.numFound=!!numInput;const amtInput=document.querySelector('input[placeholder*=\"금액\"]');if(amtInput){sv(amtInput,'30000');await w(200);}const noteInput=document.querySelector('input[placeholder*=\"비고\"]')||document.querySelector('textarea[placeholder*=\"비고\"]');if(noteInput){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);}R.noteFound=!!noteInput;if(noteInput&&!noteInput.value?.includes('E2E_TEST_')){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);R.refilled=true;}const submitBtn=Array.from(document.querySelectorAll('button')).find(b=>/^등록$|^저장$/.test(b.innerText?.trim())&&b.offsetParent!==null);if(!submitBtn){R.error='등록 버튼 없음';return JSON.stringify(R);}submitBtn.click();await w(3000);R.urlAfter=location.pathname+location.search;const valErrs=Array.from((formArea||document.body).querySelectorAll('[class*=\"error\"],[class*=\"invalid\"],.text-red-500,.text-destructive')).filter(e=>{const t=e.innerText?.trim();return e.offsetParent!==null&&t&&t.length>3&&!/^\\*+$/.test(t)&&!e.closest('nav,[class*=sidebar],[class*=Sidebar],label');}).map(e=>e.innerText.trim()).slice(0,3);if(valErrs.length)R.valErrs=valErrs;const apiLg=window.__API_LOGS__||[];const postOk=apiLg.some(l=>l.method==='POST'&&l.ok);const toastEl=document.querySelector('[data-sonner-toast],[role=\"status\"],[class*=\"toast\"],[class*=\"Toast\"]');const toastOk=toastEl&&/등록|완료|성공|저장/.test(toastEl.innerText||'');R.ok=(!R.urlAfter.includes('mode=new')&&!location.pathname.endsWith('/new'))||postOk||!!toastOk;if(!R.ok)R.error='등록실패 url='+R.urlAfter+' errs='+JSON.stringify(valErrs);return JSON.stringify(R);})()", - "timeout": 60000, + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const sv=(el,v)=>{const p=el.tagName==='TEXTAREA'?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;const ns=Object.getOwnPropertyDescriptor(p,'value')?.set;if(ns)ns.call(el,v);else el.value=v;el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));};const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||(()=>{const n=new Date();const p=v=>v.toString().padStart(2,'0');return n.getFullYear()+p(n.getMonth()+1)+p(n.getDate())+'_'+p(n.getHours())+p(n.getMinutes())+p(n.getSeconds());})();window.__E2E_TS__=ts;try{sessionStorage.setItem('__E2E_TS__',ts);}catch(e){}const R={phase:'CREATE_2',ts,n:2};const testId='EB2'+ts.replace(/_/g,'').substring(4,10);const btn=Array.from(document.querySelectorAll('button')).find(b=>/어음.*등록|등록/.test(b.innerText?.trim()));if(!btn){R.error='등록 버튼 없음';return JSON.stringify(R);}btn.click();await w(2500);R.url=location.pathname+location.search;const formArea=document.querySelector('main')||document.querySelector('[class*=\"content\"]')||document.body;const combos=Array.from(formArea.querySelectorAll('button[role=\"combobox\"]')).filter(b=>b.offsetParent!==null&&!b.closest('nav,[class*=sidebar],[class*=Sidebar]'));R.comboCount=combos.length;for(let i=0;ib.innerText?.trim()==='날짜 선택'&&b.offsetParent!==null);for(const db of dateButtons){db.scrollIntoView({block:'center'});await w(200);db.click();await w(600);if(!document.querySelector('table[class*=\"rdp\"],.rdp-month,[role=\"grid\"]')){db.click();await w(800);}const today=document.querySelector('[aria-selected=\"true\"]')||document.querySelector('button[name=\"day\"].bg-primary')||document.querySelector('.rdp-day_today button')||Array.from(document.querySelectorAll('button[name=\"day\"],td[role=\"gridcell\"] button,.rdp-day button')).find(b=>b.getAttribute('aria-selected')==='true'||b.classList.contains('bg-primary')||b.tabIndex===0)||document.querySelector('button[name=\"day\"]')||document.querySelector('td[role=\"gridcell\"] button');if(today){today.click();await w(400);}else{document.dispatchEvent(new KeyboardEvent('keydown',{key:'Escape',bubbles:true}));await w(300);}}await w(300);const numInput=document.querySelector('input#billNumber,input[name*=\"billNumber\"],input[placeholder*=\"어음번호\"]')||Array.from(formArea.querySelectorAll('input[type=\"text\"]')).find(i=>i.offsetParent!==null&&!i.readOnly&&!i.disabled);if(numInput){sv(numInput,'E2E_TEST_'+testId);await w(200);}R.numFound=!!numInput;const amtInput=document.querySelector('input[placeholder*=\"금액\"]');if(amtInput){sv(amtInput,'30000');await w(200);}const noteInput=document.querySelector('input[placeholder*=\"비고\"]')||document.querySelector('textarea[placeholder*=\"비고\"]');if(noteInput){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);}R.noteFound=!!noteInput;if(noteInput&&!noteInput.value?.includes('E2E_TEST_')){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);R.refilled=true;}const submitBtn=Array.from(document.querySelectorAll('button')).find(b=>/^등록$|^저장$/.test(b.innerText?.trim())&&b.offsetParent!==null);if(!submitBtn){R.error='등록 버튼 없음';return JSON.stringify(R);}submitBtn.click();await w(3000);R.urlAfter=location.pathname+location.search;const apiLg=window.__API_LOGS__||[];const postOk=apiLg.some(l=>l.method==='POST'&&l.ok);const toastEl=document.querySelector('[data-sonner-toast],[role=\"status\"],[class*=\"toast\"],[class*=\"Toast\"]');const toastOk=toastEl&&/등록|완료|성공|저장/.test(toastEl.innerText||'');R.ok=(!R.urlAfter.includes('mode=new')&&!location.pathname.endsWith('/new'))||postOk||!!toastOk;if(!R.ok)R.error='등록실패 url='+R.urlAfter;return JSON.stringify(R);})()", + "timeout": 30000, "phase": "CREATE" }, { @@ -93,8 +93,8 @@ "id": 12, "name": "[회계관리 > 어음관리] [CREATE #3] 데이터 생성", "action": "evaluate", - "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const sv=(el,v)=>{const p=el.tagName==='TEXTAREA'?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;const ns=Object.getOwnPropertyDescriptor(p,'value')?.set;if(ns)ns.call(el,v);else el.value=v;el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));};const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||(()=>{const n=new Date();const p=v=>v.toString().padStart(2,'0');return n.getFullYear()+p(n.getMonth()+1)+p(n.getDate())+'_'+p(n.getHours())+p(n.getMinutes())+p(n.getSeconds());})();window.__E2E_TS__=ts;try{sessionStorage.setItem('__E2E_TS__',ts);}catch(e){}const R={phase:'CREATE_3',ts,n:3};const testId='EB3'+ts.replace(/_/g,'').substring(4,10);const btn=Array.from(document.querySelectorAll('button')).find(b=>/어음.*등록|등록/.test(b.innerText?.trim()));if(!btn){R.error='등록 버튼 없음';return JSON.stringify(R);}btn.click();await w(2500);R.url=location.pathname+location.search;const formArea=document.querySelector('main')||document.querySelector('[class*=\"content\"]')||document.body;const combos=Array.from(formArea.querySelectorAll('button[role=\"combobox\"]')).filter(b=>b.offsetParent!==null&&!b.closest('nav,[class*=sidebar],[class*=Sidebar]'));R.comboCount=combos.length;for(let i=0;ib.innerText?.trim()==='날짜 선택'&&b.offsetParent!==null);for(const db of dateButtons){ db.scrollIntoView({block:'center'});await w(200); db.click();await w(600); if(!document.querySelector('table[class*=\"rdp\"],.rdp-month,[role=\"grid\"]')){db.click();await w(800);} const today=document.querySelector('[aria-selected=\"true\"]')||document.querySelector('button[name=\"day\"].bg-primary')||document.querySelector('.rdp-day_today button')||Array.from(document.querySelectorAll('button[name=\"day\"],td[role=\"gridcell\"] button,.rdp-day button')).find(b=>b.getAttribute('aria-selected')==='true'||b.classList.contains('bg-primary')||b.tabIndex===0)||document.querySelector('button[name=\"day\"]')||document.querySelector('td[role=\"gridcell\"] button'); if(today){today.click();await w(400);} else{document.dispatchEvent(new KeyboardEvent('keydown',{key:'Escape',bubbles:true}));await w(300);}}await w(300);const numInput=document.querySelector('input#billNumber,input[name*=\"billNumber\"],input[placeholder*=\"어음번호\"]')||Array.from(formArea.querySelectorAll('input[type=\"text\"]')).find(i=>i.offsetParent!==null&&!i.readOnly&&!i.disabled);if(numInput){sv(numInput,'E2E_TEST_'+testId);await w(200);}R.numFound=!!numInput;const amtInput=document.querySelector('input[placeholder*=\"금액\"]');if(amtInput){sv(amtInput,'40000');await w(200);}const noteInput=document.querySelector('input[placeholder*=\"비고\"]')||document.querySelector('textarea[placeholder*=\"비고\"]');if(noteInput){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);}R.noteFound=!!noteInput;if(noteInput&&!noteInput.value?.includes('E2E_TEST_')){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);R.refilled=true;}const submitBtn=Array.from(document.querySelectorAll('button')).find(b=>/^등록$|^저장$/.test(b.innerText?.trim())&&b.offsetParent!==null);if(!submitBtn){R.error='등록 버튼 없음';return JSON.stringify(R);}submitBtn.click();await w(3000);R.urlAfter=location.pathname+location.search;const valErrs=Array.from((formArea||document.body).querySelectorAll('[class*=\"error\"],[class*=\"invalid\"],.text-red-500,.text-destructive')).filter(e=>{const t=e.innerText?.trim();return e.offsetParent!==null&&t&&t.length>3&&!/^\\*+$/.test(t)&&!e.closest('nav,[class*=sidebar],[class*=Sidebar],label');}).map(e=>e.innerText.trim()).slice(0,3);if(valErrs.length)R.valErrs=valErrs;const apiLg=window.__API_LOGS__||[];const postOk=apiLg.some(l=>l.method==='POST'&&l.ok);const toastEl=document.querySelector('[data-sonner-toast],[role=\"status\"],[class*=\"toast\"],[class*=\"Toast\"]');const toastOk=toastEl&&/등록|완료|성공|저장/.test(toastEl.innerText||'');R.ok=(!R.urlAfter.includes('mode=new')&&!location.pathname.endsWith('/new'))||postOk||!!toastOk;if(!R.ok)R.error='등록실패 url='+R.urlAfter+' errs='+JSON.stringify(valErrs);return JSON.stringify(R);})()", - "timeout": 60000, + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const sv=(el,v)=>{const p=el.tagName==='TEXTAREA'?HTMLTextAreaElement.prototype:HTMLInputElement.prototype;const ns=Object.getOwnPropertyDescriptor(p,'value')?.set;if(ns)ns.call(el,v);else el.value=v;el.dispatchEvent(new Event('input',{bubbles:true}));el.dispatchEvent(new Event('change',{bubbles:true}));};const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||(()=>{const n=new Date();const p=v=>v.toString().padStart(2,'0');return n.getFullYear()+p(n.getMonth()+1)+p(n.getDate())+'_'+p(n.getHours())+p(n.getMinutes())+p(n.getSeconds());})();window.__E2E_TS__=ts;try{sessionStorage.setItem('__E2E_TS__',ts);}catch(e){}const R={phase:'CREATE_3',ts,n:3};const testId='EB3'+ts.replace(/_/g,'').substring(4,10);const btn=Array.from(document.querySelectorAll('button')).find(b=>/어음.*등록|등록/.test(b.innerText?.trim()));if(!btn){R.error='등록 버튼 없음';return JSON.stringify(R);}btn.click();await w(2500);R.url=location.pathname+location.search;const formArea=document.querySelector('main')||document.querySelector('[class*=\"content\"]')||document.body;const combos=Array.from(formArea.querySelectorAll('button[role=\"combobox\"]')).filter(b=>b.offsetParent!==null&&!b.closest('nav,[class*=sidebar],[class*=Sidebar]'));R.comboCount=combos.length;for(let i=0;ib.innerText?.trim()==='날짜 선택'&&b.offsetParent!==null);for(const db of dateButtons){db.scrollIntoView({block:'center'});await w(200);db.click();await w(600);if(!document.querySelector('table[class*=\"rdp\"],.rdp-month,[role=\"grid\"]')){db.click();await w(800);}const today=document.querySelector('[aria-selected=\"true\"]')||document.querySelector('button[name=\"day\"].bg-primary')||document.querySelector('.rdp-day_today button')||Array.from(document.querySelectorAll('button[name=\"day\"],td[role=\"gridcell\"] button,.rdp-day button')).find(b=>b.getAttribute('aria-selected')==='true'||b.classList.contains('bg-primary')||b.tabIndex===0)||document.querySelector('button[name=\"day\"]')||document.querySelector('td[role=\"gridcell\"] button');if(today){today.click();await w(400);}else{document.dispatchEvent(new KeyboardEvent('keydown',{key:'Escape',bubbles:true}));await w(300);}}await w(300);const numInput=document.querySelector('input#billNumber,input[name*=\"billNumber\"],input[placeholder*=\"어음번호\"]')||Array.from(formArea.querySelectorAll('input[type=\"text\"]')).find(i=>i.offsetParent!==null&&!i.readOnly&&!i.disabled);if(numInput){sv(numInput,'E2E_TEST_'+testId);await w(200);}R.numFound=!!numInput;const amtInput=document.querySelector('input[placeholder*=\"금액\"]');if(amtInput){sv(amtInput,'40000');await w(200);}const noteInput=document.querySelector('input[placeholder*=\"비고\"]')||document.querySelector('textarea[placeholder*=\"비고\"]');if(noteInput){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);}R.noteFound=!!noteInput;if(noteInput&&!noteInput.value?.includes('E2E_TEST_')){sv(noteInput,'E2E_TEST_EB_'+ts);await w(200);R.refilled=true;}const submitBtn=Array.from(document.querySelectorAll('button')).find(b=>/^등록$|^저장$/.test(b.innerText?.trim())&&b.offsetParent!==null);if(!submitBtn){R.error='등록 버튼 없음';return JSON.stringify(R);}submitBtn.click();await w(3000);R.urlAfter=location.pathname+location.search;const apiLg=window.__API_LOGS__||[];const postOk=apiLg.some(l=>l.method==='POST'&&l.ok);const toastEl=document.querySelector('[data-sonner-toast],[role=\"status\"],[class*=\"toast\"],[class*=\"Toast\"]');const toastOk=toastEl&&/등록|완료|성공|저장/.test(toastEl.innerText||'');R.ok=(!R.urlAfter.includes('mode=new')&&!location.pathname.endsWith('/new'))||postOk||!!toastOk;if(!R.ok)R.error='등록실패 url='+R.urlAfter;return JSON.stringify(R);})()", + "timeout": 30000, "phase": "CREATE" }, { @@ -130,81 +130,28 @@ }, { "id": 18, - "name": "[회계관리 > 어음관리] [VERIFY] E2E 데이터 검색", - "action": "search", - "value": "E2E_TEST_EB", - "timeout": 5000 - }, - { - "id": 19, - "name": "[회계관리 > 어음관리] [VERIFY] 검색 결과 대기", - "action": "wait", - "timeout": 1500 - }, - { - "id": 20, "name": "[회계관리 > 어음관리] [VERIFY] 3건 생성 확인", "action": "evaluate", - "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'VERIFY_BATCH',expected:3,ts};await w(1000);R.url=location.pathname;const rows=Array.from(document.querySelectorAll('table tbody tr'));R.rowCount=rows.length;let batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts));if(!batchRows.length&&3>0){batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB'));R.usedFallback=true;}R.batchCount=batchRows.length;R.countMatch=R.batchCount>=3;if(!R.countMatch){R.row0=rows[0]?.innerText?.substring(0,80);R.bodyHas=document.body.innerText.includes('E2E_TEST_EB');R.warn='기대 3건, 실제 '+R.batchCount+'건 rows='+R.rowCount+' body='+R.bodyHas+' row0=['+R.row0+']';}R.ok=R.countMatch;return JSON.stringify(R);})()", + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'VERIFY_BATCH',expected:3,ts};await w(1000);R.url=location.pathname;const rows=Array.from(document.querySelectorAll('table tbody tr'));R.rowCount=rows.length;let batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts));if(!batchRows.length){batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB'));R.usedFallback=true;}R.batchCount=batchRows.length;R.countMatch=R.batchCount>=3;if(!R.countMatch){R.row0=rows[0]?.innerText?.substring(0,80);R.bodyHas=document.body.innerText.includes('E2E_TEST_EB');R.warn='기대 3건, 실제 '+R.batchCount+'건 rows='+R.rowCount+' body='+R.bodyHas+' row0=['+R.row0+']';}R.ok=R.countMatch;return JSON.stringify(R);})()", "timeout": 15000, "phase": "VERIFY" }, + { + "id": 19, + "name": "[회계관리 > 어음관리] [DELETE #1] 데이터 삭제", + "action": "evaluate", + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'DELETE_1'};const rows=Array.from(document.querySelectorAll('table tbody tr'));const targetRow=rows.find(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts))||rows.find(r=>r.innerText?.includes('E2E_TEST_EB'));if(!targetRow){R.info='E2E_TEST_EB 데이터 없음 - 스킵';R.ok=true;return JSON.stringify(R);}R.targetText=targetRow.innerText?.substring(0,60);targetRow.click();await w(3000);let delBtn=Array.from(document.querySelectorAll('button')).find(b=>b.innerText?.trim()==='삭제'&&b.offsetParent!==null);if(!delBtn){await w(2000);delBtn=Array.from(document.querySelectorAll('button')).find(b=>b.innerText?.trim()==='삭제'&&b.offsetParent!==null);}if(!delBtn){R.info='삭제 버튼 없음 - 스킵';R.ok=true;return JSON.stringify(R);}delBtn.click();await w(1000);let cfm=document.querySelector('[role=\"alertdialog\"] [data-slot=\"alert-dialog-footer\"] button:last-child');if(!cfm){cfm=Array.from(document.querySelectorAll('[role=\"alertdialog\"] button')).find(b=>/삭제/.test(b.innerText?.trim())&&b!==delBtn);}if(!cfm){cfm=Array.from(document.querySelectorAll('button')).find(b=>/확인|삭제/.test(b.innerText?.trim())&&b!==delBtn&&b.offsetParent!==null);}if(cfm){cfm.click();await w(4000);}R.urlAfter=location.pathname+location.search;R.ok=true;return JSON.stringify(R);})()", + "timeout": 30000, + "phase": "DELETE" + }, + { + "id": 20, + "name": "[회계관리 > 어음관리] [DELETE #1] 삭제 후 대기", + "action": "wait", + "timeout": 2000 + }, { "id": 21, - "name": "[회계관리 > 어음관리] [DELETE #1] E2E 데이터 검색", - "action": "search", - "value": "E2E_TEST_EB", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 22, - "name": "[회계관리 > 어음관리] [DELETE #1] 검색 결과 대기", - "action": "wait", - "timeout": 1500 - }, - { - "id": 23, - "name": "[회계관리 > 어음관리] [DELETE #1] 행 클릭", - "action": "click_first_row", - "timeout": 10000, - "phase": "DELETE" - }, - { - "id": 24, - "name": "[회계관리 > 어음관리] [DELETE #1] 상세 페이지 대기", - "action": "wait", - "timeout": 2500 - }, - { - "id": 25, - "name": "[회계관리 > 어음관리] [DELETE #1] 삭제 버튼 클릭", - "action": "click_button", - "value": "삭제", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 26, - "name": "[회계관리 > 어음관리] [DELETE #1] 확인 다이얼로그 대기", - "action": "wait", - "timeout": 1000 - }, - { - "id": 27, - "name": "[회계관리 > 어음관리] [DELETE #1] 삭제 확인", - "action": "click_dialog_confirm", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 28, - "name": "[회계관리 > 어음관리] [DELETE #1] 삭제 처리 대기", - "action": "wait", - "timeout": 3000 - }, - { - "id": 29, "name": "[회계관리 > 어음관리] [DELETE #1] 목록 복귀", "action": "evaluate", "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const onForm=location.search.includes('mode=new')||location.search.includes('mode=edit')||location.search.includes('mode=view')||new RegExp('/(new|[0-9]+|[0-9a-f]{8,})$').test(location.pathname);if(onForm){const btn=Array.from(document.querySelectorAll('button,a')).find(b=>/목록|취소|뒤로/.test(b.innerText?.trim()));if(btn){btn.click();await w(2000);}else{history.back();await w(2000);}}return JSON.stringify({url:location.pathname+location.search});})()", @@ -212,78 +159,44 @@ "phase": "DELETE" }, { - "id": 30, + "id": 22, "name": "[회계관리 > 어음관리] [DELETE #1] 목록 안정화", "action": "wait", "timeout": 1500 }, { - "id": 31, - "name": "[회계관리 > 어음관리] [DELETE #2] 목록 새로고침", + "id": 101, + "name": "[회계관리 > 어음관리] [DELETE #2 준비] 페이지 새로고침", "action": "reload" }, { - "id": 32, - "name": "[회계관리 > 어음관리] [DELETE #2] 테이블 로드 대기", - "action": "wait_for_table", - "timeout": 10000 - }, - { - "id": 33, - "name": "[회계관리 > 어음관리] [DELETE #2] E2E 데이터 검색", - "action": "search", - "value": "E2E_TEST_EB", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 34, - "name": "[회계관리 > 어음관리] [DELETE #2] 검색 결과 대기", - "action": "wait", - "timeout": 1500 - }, - { - "id": 35, - "name": "[회계관리 > 어음관리] [DELETE #2] 행 클릭", - "action": "click_first_row", - "timeout": 10000, - "phase": "DELETE" - }, - { - "id": 36, - "name": "[회계관리 > 어음관리] [DELETE #2] 상세 페이지 대기", - "action": "wait", - "timeout": 2500 - }, - { - "id": 37, - "name": "[회계관리 > 어음관리] [DELETE #2] 삭제 버튼 클릭", - "action": "click_button", - "value": "삭제", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 38, - "name": "[회계관리 > 어음관리] [DELETE #2] 확인 다이얼로그 대기", + "id": 102, + "name": "[회계관리 > 어음관리] [DELETE #2 준비] 새로고침 대기", "action": "wait", "timeout": 1000 }, { - "id": 39, - "name": "[회계관리 > 어음관리] [DELETE #2] 삭제 확인", - "action": "click_dialog_confirm", - "timeout": 5000, + "id": 103, + "name": "[회계관리 > 어음관리] [DELETE #2 준비] 테이블 로드 대기", + "action": "wait_for_table", + "timeout": 10000 + }, + { + "id": 23, + "name": "[회계관리 > 어음관리] [DELETE #2] 데이터 삭제", + "action": "evaluate", + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'DELETE_2'};const rows=Array.from(document.querySelectorAll('table tbody tr'));const targetRow=rows.find(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts))||rows.find(r=>r.innerText?.includes('E2E_TEST_EB'));if(!targetRow){R.info='E2E_TEST_EB 데이터 없음 - 스킵';R.ok=true;return JSON.stringify(R);}R.targetText=targetRow.innerText?.substring(0,60);targetRow.click();await w(3000);let delBtn=Array.from(document.querySelectorAll('button')).find(b=>b.innerText?.trim()==='삭제'&&b.offsetParent!==null);if(!delBtn){await w(2000);delBtn=Array.from(document.querySelectorAll('button')).find(b=>b.innerText?.trim()==='삭제'&&b.offsetParent!==null);}if(!delBtn){R.info='삭제 버튼 없음 - 스킵';R.ok=true;return JSON.stringify(R);}delBtn.click();await w(1000);let cfm=document.querySelector('[role=\"alertdialog\"] [data-slot=\"alert-dialog-footer\"] button:last-child');if(!cfm){cfm=Array.from(document.querySelectorAll('[role=\"alertdialog\"] button')).find(b=>/삭제/.test(b.innerText?.trim())&&b!==delBtn);}if(!cfm){cfm=Array.from(document.querySelectorAll('button')).find(b=>/확인|삭제/.test(b.innerText?.trim())&&b!==delBtn&&b.offsetParent!==null);}if(cfm){cfm.click();await w(4000);}R.urlAfter=location.pathname+location.search;R.ok=true;return JSON.stringify(R);})()", + "timeout": 30000, "phase": "DELETE" }, { - "id": 40, - "name": "[회계관리 > 어음관리] [DELETE #2] 삭제 처리 대기", + "id": 24, + "name": "[회계관리 > 어음관리] [DELETE #2] 삭제 후 대기", "action": "wait", - "timeout": 3000 + "timeout": 2000 }, { - "id": 41, + "id": 25, "name": "[회계관리 > 어음관리] [DELETE #2] 목록 복귀", "action": "evaluate", "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const onForm=location.search.includes('mode=new')||location.search.includes('mode=edit')||location.search.includes('mode=view')||new RegExp('/(new|[0-9]+|[0-9a-f]{8,})$').test(location.pathname);if(onForm){const btn=Array.from(document.querySelectorAll('button,a')).find(b=>/목록|취소|뒤로/.test(b.innerText?.trim()));if(btn){btn.click();await w(2000);}else{history.back();await w(2000);}}return JSON.stringify({url:location.pathname+location.search});})()", @@ -291,78 +204,44 @@ "phase": "DELETE" }, { - "id": 42, + "id": 26, "name": "[회계관리 > 어음관리] [DELETE #2] 목록 안정화", "action": "wait", "timeout": 1500 }, { - "id": 43, - "name": "[회계관리 > 어음관리] [DELETE #3] 목록 새로고침", + "id": 104, + "name": "[회계관리 > 어음관리] [DELETE #3 준비] 페이지 새로고침", "action": "reload" }, { - "id": 44, - "name": "[회계관리 > 어음관리] [DELETE #3] 테이블 로드 대기", - "action": "wait_for_table", - "timeout": 10000 - }, - { - "id": 45, - "name": "[회계관리 > 어음관리] [DELETE #3] E2E 데이터 검색", - "action": "search", - "value": "E2E_TEST_EB", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 46, - "name": "[회계관리 > 어음관리] [DELETE #3] 검색 결과 대기", - "action": "wait", - "timeout": 1500 - }, - { - "id": 47, - "name": "[회계관리 > 어음관리] [DELETE #3] 행 클릭", - "action": "click_first_row", - "timeout": 10000, - "phase": "DELETE" - }, - { - "id": 48, - "name": "[회계관리 > 어음관리] [DELETE #3] 상세 페이지 대기", - "action": "wait", - "timeout": 2500 - }, - { - "id": 49, - "name": "[회계관리 > 어음관리] [DELETE #3] 삭제 버튼 클릭", - "action": "click_button", - "value": "삭제", - "timeout": 5000, - "phase": "DELETE" - }, - { - "id": 50, - "name": "[회계관리 > 어음관리] [DELETE #3] 확인 다이얼로그 대기", + "id": 105, + "name": "[회계관리 > 어음관리] [DELETE #3 준비] 새로고침 대기", "action": "wait", "timeout": 1000 }, { - "id": 51, - "name": "[회계관리 > 어음관리] [DELETE #3] 삭제 확인", - "action": "click_dialog_confirm", - "timeout": 5000, + "id": 106, + "name": "[회계관리 > 어음관리] [DELETE #3 준비] 테이블 로드 대기", + "action": "wait_for_table", + "timeout": 10000 + }, + { + "id": 27, + "name": "[회계관리 > 어음관리] [DELETE #3] 데이터 삭제", + "action": "evaluate", + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'DELETE_3'};const rows=Array.from(document.querySelectorAll('table tbody tr'));const targetRow=rows.find(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts))||rows.find(r=>r.innerText?.includes('E2E_TEST_EB'));if(!targetRow){R.info='E2E_TEST_EB 데이터 없음 - 스킵';R.ok=true;return JSON.stringify(R);}R.targetText=targetRow.innerText?.substring(0,60);targetRow.click();await w(3000);let delBtn=Array.from(document.querySelectorAll('button')).find(b=>b.innerText?.trim()==='삭제'&&b.offsetParent!==null);if(!delBtn){await w(2000);delBtn=Array.from(document.querySelectorAll('button')).find(b=>b.innerText?.trim()==='삭제'&&b.offsetParent!==null);}if(!delBtn){R.info='삭제 버튼 없음 - 스킵';R.ok=true;return JSON.stringify(R);}delBtn.click();await w(1000);let cfm=document.querySelector('[role=\"alertdialog\"] [data-slot=\"alert-dialog-footer\"] button:last-child');if(!cfm){cfm=Array.from(document.querySelectorAll('[role=\"alertdialog\"] button')).find(b=>/삭제/.test(b.innerText?.trim())&&b!==delBtn);}if(!cfm){cfm=Array.from(document.querySelectorAll('button')).find(b=>/확인|삭제/.test(b.innerText?.trim())&&b!==delBtn&&b.offsetParent!==null);}if(cfm){cfm.click();await w(4000);}R.urlAfter=location.pathname+location.search;R.ok=true;return JSON.stringify(R);})()", + "timeout": 30000, "phase": "DELETE" }, { - "id": 52, - "name": "[회계관리 > 어음관리] [DELETE #3] 삭제 처리 대기", + "id": 28, + "name": "[회계관리 > 어음관리] [DELETE #3] 삭제 후 대기", "action": "wait", - "timeout": 3000 + "timeout": 2000 }, { - "id": 53, + "id": 29, "name": "[회계관리 > 어음관리] [DELETE #3] 목록 복귀", "action": "evaluate", "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const onForm=location.search.includes('mode=new')||location.search.includes('mode=edit')||location.search.includes('mode=view')||new RegExp('/(new|[0-9]+|[0-9a-f]{8,})$').test(location.pathname);if(onForm){const btn=Array.from(document.querySelectorAll('button,a')).find(b=>/목록|취소|뒤로/.test(b.innerText?.trim()));if(btn){btn.click();await w(2000);}else{history.back();await w(2000);}}return JSON.stringify({url:location.pathname+location.search});})()", @@ -370,43 +249,29 @@ "phase": "DELETE" }, { - "id": 54, + "id": 30, "name": "[회계관리 > 어음관리] [DELETE #3] 목록 안정화", "action": "wait", "timeout": 1500 }, { - "id": 55, + "id": 31, "name": "[회계관리 > 어음관리] [VERIFY] 목록 새로고침", "action": "reload" }, { - "id": 56, + "id": 32, "name": "[회계관리 > 어음관리] [VERIFY] 테이블 로드 대기", "action": "wait_for_table", "timeout": 10000 }, { - "id": 57, - "name": "[회계관리 > 어음관리] [VERIFY] E2E 데이터 검색", - "action": "search", - "value": "E2E_TEST_EB", - "timeout": 5000, - "phase": "VERIFY" - }, - { - "id": 58, - "name": "[회계관리 > 어음관리] [VERIFY] 검색 결과 대기", - "action": "wait", - "timeout": 1500 - }, - { - "id": 59, + "id": 33, "name": "[회계관리 > 어음관리] [VERIFY] 전체 삭제 확인", "action": "evaluate", - "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'VERIFY_BATCH',expected:0,ts};await w(1000);R.url=location.pathname;const rows=Array.from(document.querySelectorAll('table tbody tr'));R.rowCount=rows.length;let batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts));if(!batchRows.length&&0>0){batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB'));R.usedFallback=true;}R.batchCount=batchRows.length;R.countMatch=0===0?R.batchCount===0:R.batchCount>=0;if(!R.countMatch){R.row0=rows[0]?.innerText?.substring(0,80);R.bodyHas=document.body.innerText.includes('E2E_TEST_EB');R.warn='기대 0건, 실제 '+R.batchCount+'건 rows='+R.rowCount+' body='+R.bodyHas+' row0=['+R.row0+']';}R.ok=R.countMatch;return JSON.stringify(R);})()", + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||sessionStorage.getItem('__E2E_TS__')||'';const R={phase:'VERIFY_BATCH',expected:0,ts};await w(1000);R.url=location.pathname;const rows=Array.from(document.querySelectorAll('table tbody tr'));R.rowCount=rows.length;const batchRows=rows.filter(r=>r.innerText?.includes('E2E_TEST_EB')&&r.innerText?.includes(ts));R.batchCount=batchRows.length;R.countMatch=R.batchCount===0;if(!R.countMatch){R.row0=rows[0]?.innerText?.substring(0,80);R.bodyHas=document.body.innerText.includes('E2E_TEST_EB');R.warn='기대 0건, 실제 '+R.batchCount+'건 rows='+R.rowCount+' body='+R.bodyHas;}R.ok=R.countMatch;return JSON.stringify(R);})()", "timeout": 15000, "phase": "VERIFY" } ] -} \ No newline at end of file +}