refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음) - Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification) - Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등) - Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝) - 16개 disabled 시나리오 enabled 전환 - 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
This commit is contained in:
@@ -7,16 +7,16 @@
|
||||
},
|
||||
"description": "자재관리 > 재고현황 페이지의 재고 조회 및 엑셀 다운로드 기능을 테스트하는 E2E 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
"url": "/material/inventory",
|
||||
"url": "/material/stock-status",
|
||||
"navigation": {
|
||||
"targetUrl": "/material/inventory",
|
||||
"urlPattern": "/material/inventory|/ko/material/inventory",
|
||||
"targetUrl": "/material/stock-status",
|
||||
"urlPattern": "/material/stock-status|/ko/material/stock-status",
|
||||
"menuHints": ["재고현황", "재고 현황", "자재관리"]
|
||||
},
|
||||
"menuNavigation": {
|
||||
"level1": "자재관리",
|
||||
"level2": "재고현황",
|
||||
"expectedUrl": "/material/inventory",
|
||||
"expectedUrl": "/material/stock-status",
|
||||
"searchWithinParent": true,
|
||||
"closeOtherMenus": true
|
||||
},
|
||||
@@ -37,8 +37,8 @@
|
||||
"text": "재고현황",
|
||||
"waitAfterClick": 300
|
||||
},
|
||||
"fallbackUrl": "/material/inventory",
|
||||
"expectedUrl": "/material/inventory"
|
||||
"fallbackUrl": "/material/stock-status",
|
||||
"expectedUrl": "/material/stock-status"
|
||||
},
|
||||
"timeout": 90000,
|
||||
"tags": ["material", "inventory", "read-only"],
|
||||
@@ -83,12 +83,12 @@
|
||||
{ "type": "click_if_exists", "target": "재고현황" }
|
||||
],
|
||||
"expect": {
|
||||
"url": "/material/inventory",
|
||||
"url": "/material/stock-status",
|
||||
"visible": ["재고 목록", "엑셀 다운로드"]
|
||||
},
|
||||
"fallback": {
|
||||
"type": "navigate",
|
||||
"url": "/material/inventory"
|
||||
"url": "/material/stock-status"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -165,7 +165,7 @@
|
||||
"noErrorPage": true
|
||||
},
|
||||
"verify": {
|
||||
"apiCall": "GET /api/material/inventory/export"
|
||||
"apiCall": "GET /api/material/stock-status/export"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -209,7 +209,7 @@
|
||||
"assertions": [
|
||||
{
|
||||
"type": "url",
|
||||
"expected": "/material/inventory",
|
||||
"expected": "/material/stock-status",
|
||||
"message": "재고현황 페이지에 머물러야 함"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user