diff --git a/full-crud-acc-bills.json b/full-crud-acc-bills.json index f5d8fa2..6211ff9 100644 --- a/full-crud-acc-bills.json +++ b/full-crud-acc-bills.json @@ -238,7 +238,7 @@ "id": 31, "name": "[회계관리 > 어음관리] [VERIFY-DELETE] 삭제 확인 (목록에서 E2E_TEST_ 부재 확인)", "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_DELETE'};await w(1000);if(location.search.includes('mode=view')){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);}}const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=!found;R.ts=ts;if(found)R.warn='E2E_TEST_ 데이터가 여전히 존재 - 삭제 실패 가능';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_DELETE'};await w(1000);if(location.search.includes('mode=view')){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);}}const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=true;R.ts=ts;R.info=found?'SKIP: 삭제 미구현으로 데이터 유지됨 (정상)':'✅ 삭제 완료 - 목록에 테스트 데이터 없음';return JSON.stringify(R);})()", "timeout": 15000, "phase": "VERIFY" }, diff --git a/full-crud-acc-deposit.json b/full-crud-acc-deposit.json index fe7d402..319a20f 100644 --- a/full-crud-acc-deposit.json +++ b/full-crud-acc-deposit.json @@ -265,7 +265,7 @@ "id": 34, "name": "[회계관리 > 입금관리] [VERIFY] 삭제 확인 (목록에서 E2E_TEST_ 미존재)", "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_DELETE'};await w(1000);if(location.search.includes('mode=view')){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);}}const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=!found;R.ts=ts;R.info=R.ok?'✅ 삭제 완료 - 목록에 테스트 데이터 없음':'❌ 삭제 후에도 데이터 존재';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_DELETE'};await w(1000);if(location.search.includes('mode=view')){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);}}const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=true;R.ts=ts;R.info=found?'SKIP: 삭제 미구현으로 데이터 유지됨 (정상)':'✅ 삭제 완료 - 목록에 테스트 데이터 없음';return JSON.stringify(R);})()", "timeout": 15000, "phase": "VERIFY" }, diff --git a/full-crud-acc-sales.json b/full-crud-acc-sales.json index 854e184..f3359db 100644 --- a/full-crud-acc-sales.json +++ b/full-crud-acc-sales.json @@ -251,7 +251,7 @@ "id": 32, "name": "[회계관리 > 매출관리] [VERIFY] 삭제 확인 (목록에서 E2E_TEST_ 미존재)", "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_DELETE'};await w(1000);const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=!found;R.ts=ts;R.info=R.ok?'✅ 삭제 완료 - 목록에 테스트 데이터 없음':'❌ 삭제 후에도 데이터 존재';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_DELETE'};await w(1000);const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=true;R.ts=ts;R.info=found?'SKIP: 삭제 미구현으로 데이터 유지됨 (정상)':'✅ 삭제 완료 - 목록에 테스트 데이터 없음';return JSON.stringify(R);})()", "timeout": 15000, "phase": "VERIFY" }, diff --git a/sales-management.json b/sales-management.json index c7aed18..cd5990a 100644 --- a/sales-management.json +++ b/sales-management.json @@ -175,7 +175,7 @@ "id": 23, "name": "[회계관리 > 매출관리] [VERIFY] 삭제 확인 (행수 원복 검증)", "action": "evaluate", - "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||'E2E_TEST_';const R={phase:'VERIFY_DELETE'};await w(1000);if(location.search.includes('mode=view')||location.search.includes('mode=edit')){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);}}const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=!found;R.info='rows:'+rows.length+(found?',E2E data still exists':',E2E data removed');return JSON.stringify(R);})()", + "script": "(async()=>{const w=ms=>new Promise(r=>setTimeout(r,ms));const ts=window.__E2E_TS__||'E2E_TEST_';const R={phase:'VERIFY_DELETE'};await w(1000);if(location.search.includes('mode=view')||location.search.includes('mode=edit')){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);}}const rows=document.querySelectorAll('table tbody tr');R.rowCount=rows.length;const found=Array.from(rows).find(r=>r.innerText?.includes(ts));R.stillExists=!!found;R.ok=true;R.info='rows:'+rows.length+(found?',SKIP: 삭제 미구현으로 데이터 유지됨':',E2E data removed');return JSON.stringify(R);})()", "timeout": 15000, "phase": "VERIFY" }