refactor: 비표준 포맷 13개 시나리오 Format A 통일
- actions 배열(Format B) → 단일 action(Format A) 변환 - fill_form fields: target 키 → name 키 수정 - verify_detail checks: 객체 배열 → 문자열 배열 수정 - 전체 13개 시나리오 E2E 테스트 PASS 확인
This commit is contained in:
18
login.json
18
login.json
@@ -244,22 +244,8 @@
|
||||
{
|
||||
"id": 22,
|
||||
"name": "재로그인 테스트",
|
||||
"actions": [
|
||||
{
|
||||
"type": "click_if_exists",
|
||||
"target": "usernameInput",
|
||||
"value": "TestUser5"
|
||||
},
|
||||
{
|
||||
"type": "click_if_exists",
|
||||
"target": "passwordInput",
|
||||
"value": "password123!"
|
||||
},
|
||||
{
|
||||
"type": "click_if_exists",
|
||||
"target": "loginButton"
|
||||
}
|
||||
],
|
||||
"action": "evaluate",
|
||||
"script": "(async () => { const uid = document.querySelector('#userId'); if (uid) { uid.focus(); uid.value = 'TestUser5'; uid.dispatchEvent(new Event('input', {bubbles:true})); } await new Promise(r => setTimeout(r, 300)); const pwd = document.querySelector('#password'); if (pwd) { pwd.focus(); pwd.value = 'password123!'; pwd.dispatchEvent(new Event('input', {bubbles:true})); } await new Promise(r => setTimeout(r, 300)); const btn = document.querySelector(\"button[type='submit']\"); if (btn) btn.click(); return 'Re-login submitted'; })()",
|
||||
"expected": "재로그인 성공"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user