256 lines
9.4 KiB
Plaintext
256 lines
9.4 KiB
Plaintext
{
|
|
"id": "91332bb4-eced-489e-9bff-0cd566faec18",
|
|
"version": "2.0",
|
|
"name": "pengajuan surat",
|
|
"url": "http://127.0.0.1:8000",
|
|
"tests": [{
|
|
"id": "71c8cba2-cf8b-4c44-b275-2cb39442e0a7",
|
|
"name": "pengajuan surat data lengkap",
|
|
"commands": [{
|
|
"id": "c722b440-1623-41b7-9ec9-5389fedba596",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/user/pengajuan",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "35cbc289-63d0-42ea-a027-e84fd9d07b5a",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1920x1032",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "91582f12-2a77-41be-a834-6b215d9711d2",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.btn-sm",
|
|
"targets": [
|
|
["css=.btn-sm", "css:finder"],
|
|
["xpath=//div[@id='content']/div/div/button", "xpath:idRelative"],
|
|
["xpath=//button", "xpath:position"],
|
|
["xpath=//button[contains(.,' Buat Pengajuan Baru')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "44e757e4-b1e0-4a01-b81b-bbc4da9cc57e",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=nomor_surat",
|
|
"targets": [
|
|
["name=nomor_surat", "name"],
|
|
["css=.modal-content:nth-child(2) .form-group:nth-child(1) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='nomor_surat']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div/input", "xpath:idRelative"],
|
|
["xpath=//div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "0d626cbe-eaa7-44c1-93f7-7fad61f8c47f",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementsByName('nomor_surat')[0].value='02';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "afe267a5-d4dc-460b-a91e-654af9069822",
|
|
"comment": "",
|
|
"command": "mouseDownAt",
|
|
"target": "name=jenis_surat",
|
|
"targets": [
|
|
["name=jenis_surat", "name"],
|
|
["css=.modal-content:nth-child(2) .form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//select[@name='jenis_surat']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[2]/select", "xpath:idRelative"],
|
|
["xpath=//select", "xpath:position"]
|
|
],
|
|
"value": "-569,-226"
|
|
}, {
|
|
"id": "3b0cd4e8-61e0-48d6-b1e0-5c6a32f9fafe",
|
|
"comment": "",
|
|
"command": "mouseMoveAt",
|
|
"target": "name=jenis_surat",
|
|
"targets": [
|
|
["name=jenis_surat", "name"],
|
|
["css=.modal-content:nth-child(2) .form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//select[@name='jenis_surat']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[2]/select", "xpath:idRelative"],
|
|
["xpath=//select", "xpath:position"]
|
|
],
|
|
"value": "-569,-226"
|
|
}, {
|
|
"id": "2576c794-c3f3-4ce0-80c3-46a85a0fdd0f",
|
|
"comment": "",
|
|
"command": "mouseUpAt",
|
|
"target": "name=jenis_surat",
|
|
"targets": [
|
|
["name=jenis_surat", "name"],
|
|
["css=.modal-content:nth-child(2) .form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//select[@name='jenis_surat']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[2]/select", "xpath:idRelative"],
|
|
["xpath=//select", "xpath:position"]
|
|
],
|
|
"value": "-569,-226"
|
|
}, {
|
|
"id": "427af7b5-82de-4396-abd1-2c92e537bc41",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=jenis_surat",
|
|
"targets": [
|
|
["name=jenis_surat", "name"],
|
|
["css=.modal-content:nth-child(2) .form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//select[@name='jenis_surat']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[2]/select", "xpath:idRelative"],
|
|
["xpath=//select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "c1cbca53-1e9b-41d9-87c7-61b98ed95d7a",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "name=jenis_surat",
|
|
"targets": [],
|
|
"value": "label=Surat Keterangan Tidak Mampu (SKTM)"
|
|
}, {
|
|
"id": "091e8ee7-415d-4e74-ab97-b92b9d13eead",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.form-group:nth-child(2) option:nth-child(2)",
|
|
"targets": [
|
|
["css=.form-group:nth-child(2) option:nth-child(2)", "css:finder"],
|
|
["xpath=//option[@value='SKTM']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[2]/select/option[2]", "xpath:idRelative"],
|
|
["xpath=//option[2]", "xpath:position"],
|
|
["xpath=//option[contains(.,'Surat Keterangan Tidak Mampu (SKTM)')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "4f31393c-95e8-4239-b875-777e5999355b",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=tanggal_pengajuan",
|
|
"targets": [
|
|
["name=tanggal_pengajuan", "name"],
|
|
["css=.form-group:nth-child(3) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='tanggal_pengajuan']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[3]/input", "xpath:idRelative"],
|
|
["xpath=//div[3]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "c703f9d4-baac-4790-b593-dcab0c2eb2c8",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": " document.getElementsByName('tanggal_pengajuan')[0].value='2026-03-22';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "cbad0560-5e8b-42bf-bf65-d46c7971354f",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": " document.getElementsByName('tanggal_pengajuan')[0].value='2026-03-22';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "00562373-8efc-492c-bd63-78eee71c1b94",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.form-group:nth-child(4)",
|
|
"targets": [
|
|
["css=.form-group:nth-child(4)", "css:finder"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[4]", "xpath:idRelative"],
|
|
["xpath=//div[4]", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "c3527032-b1d9-4211-bf28-86eb1dd8a985",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=keterangan",
|
|
"targets": [
|
|
["name=keterangan", "name"],
|
|
["css=.form-group:nth-child(4) > .form-control", "css:finder"],
|
|
["xpath=//textarea[@name='keterangan']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[4]/textarea", "xpath:idRelative"],
|
|
["xpath=//textarea", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "ae02c79d-0eb9-47dc-b3c9-7fa46b7bfd6d",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=keterangan",
|
|
"targets": [
|
|
["name=keterangan", "name"],
|
|
["css=.form-group:nth-child(4) > .form-control", "css:finder"],
|
|
["xpath=//textarea[@name='keterangan']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[4]/textarea", "xpath:idRelative"],
|
|
["xpath=//textarea", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "a9319f81-5dbb-4390-8e89-5b9fdc486a7a",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementsByName('keterangan')[0].value='pengajuan surat';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "2b0a9d87-6dc9-4626-95bb-781edad664a0",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=berkas_persyaratan",
|
|
"targets": [
|
|
["name=berkas_persyaratan", "name"],
|
|
["css=.form-group:nth-child(5) > .form-control-file", "css:finder"],
|
|
["xpath=//input[@name='berkas_persyaratan']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[5]/input", "xpath:idRelative"],
|
|
["xpath=//div[5]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "b59c1c96-b6f5-49e1-a9de-38778179b467",
|
|
"comment": "",
|
|
"command": "pause",
|
|
"target": "5000",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "96b62595-0544-4a9a-ad63-f59bd1176209",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=berkas_persyaratan",
|
|
"targets": [
|
|
["name=berkas_persyaratan", "name"],
|
|
["css=.form-group:nth-child(5) > .form-control-file", "css:finder"],
|
|
["xpath=//input[@name='berkas_persyaratan']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[2]/div[5]/input", "xpath:idRelative"],
|
|
["xpath=//div[5]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "b1ee2855-39df-48fa-a59e-6e44a26752fc",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.modal-footer > .btn-success",
|
|
"targets": [
|
|
["css=.modal-footer > .btn-success", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//div[@id='modalTambah']/div/form/div/div[3]/button[2]", "xpath:idRelative"],
|
|
["xpath=//button[2]", "xpath:position"],
|
|
["xpath=//button[contains(.,'Kirim')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "83c8936f-24f7-4034-8f88-4993c701f8ce",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["71c8cba2-cf8b-4c44-b275-2cb39442e0a7"]
|
|
}],
|
|
"urls": ["http://127.0.0.1:8000/"],
|
|
"plugins": []
|
|
} |