96 lines
3.4 KiB
Plaintext
96 lines
3.4 KiB
Plaintext
{
|
|
"id": "153412d6-0488-4273-816d-17dbb58a99c3",
|
|
"version": "2.0",
|
|
"name": "pengajuan akun perangkat",
|
|
"url": "http://127.0.0.1:8000",
|
|
"tests": [{
|
|
"id": "da4eb4b8-11f7-4314-b3dd-ce35310790c7",
|
|
"name": "pengajuan SETUJU eror",
|
|
"commands": [{
|
|
"id": "539601d3-42c0-4b0e-b6c9-80e5b5a30db1",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/pengajuan",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "ff46bf1a-40bd-4a63-9758-b0ccf9f94517",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1920x1032",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "d4c92c98-10dc-41b4-8d63-8715246f7450",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=edit",
|
|
"targets": [
|
|
["linkText=edit", "linkText"],
|
|
["css=.d-flex:nth-child(6) > .editPengajuanBtn", "css:finder"],
|
|
["xpath=//body[@id='page-top']/div/div[2]/div/div/div/div[2]/a", "xpath:idRelative"],
|
|
["xpath=//a[contains(@href, 'javascript:void(0)')]", "xpath:href"],
|
|
["xpath=//div[2]/div/div/div/div[2]/a", "xpath:position"],
|
|
["xpath=//a[contains(.,'edit')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "639feb28-c375-4660-a2df-78920b5af9bc",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=edit_status",
|
|
"targets": [
|
|
["id=edit_status", "id"],
|
|
["name=status", "name"],
|
|
["css=.modal-body:nth-child(3) #edit_status", "css:finder"],
|
|
["xpath=//select[@id='edit_status']", "xpath:attributes"],
|
|
["xpath=//form[@id='editPengajuanForm']/div[2]/div[4]/select", "xpath:idRelative"],
|
|
["xpath=//div[4]/select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "3ed827d4-0a2b-4b39-9903-e20915af4034",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "id=edit_status",
|
|
"targets": [],
|
|
"value": "label=Disetujui"
|
|
}, {
|
|
"id": "1e0ecf22-dae8-447b-b55f-d49890981cba",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.modal-body:nth-child(3) #edit_status > option:nth-child(2)",
|
|
"targets": [
|
|
["css=.modal-body:nth-child(3) #edit_status > option:nth-child(2)", "css:finder"],
|
|
["xpath=//option[@value='disetujui']", "xpath:attributes"],
|
|
["xpath=//select[@id='edit_status']/option[2]", "xpath:idRelative"],
|
|
["xpath=//div[4]/select/option[2]", "xpath:position"],
|
|
["xpath=//option[contains(.,'Disetujui')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "7940c30c-c0d6-4e94-a64d-76d4cd5fc7a2",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.modal-footer:nth-child(4) > .btn-info",
|
|
"targets": [
|
|
["css=.modal-footer:nth-child(4) > .btn-info", "css:finder"],
|
|
["xpath=(//button[@type='submit'])[2]", "xpath:attributes"],
|
|
["xpath=//form[@id='editPengajuanForm']/div[3]/button[2]", "xpath:idRelative"],
|
|
["xpath=//div[3]/div/div/form/div[3]/button[2]", "xpath:position"],
|
|
["xpath=//button[contains(.,'Simpan Perubahan')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "a3c30a7a-fbf3-49f3-8b5a-1cf1f2695505",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["da4eb4b8-11f7-4314-b3dd-ce35310790c7"]
|
|
}],
|
|
"urls": ["http://127.0.0.1:8000/"],
|
|
"plugins": []
|
|
} |