144 lines
4.9 KiB
Plaintext
144 lines
4.9 KiB
Plaintext
{
|
|
"id": "d140db79-549e-4ef9-9a87-745bc2bfe9b4",
|
|
"version": "2.0",
|
|
"name": "profil",
|
|
"url": "http://127.0.0.1:8000",
|
|
"tests": [{
|
|
"id": "0050a9d8-ea6b-4fa3-a158-6129b7d64a8d",
|
|
"name": "ganti role",
|
|
"commands": [{
|
|
"id": "4827c2f0-510c-4112-8838-42f34d191293",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/dashboard",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "e789ce4d-11ac-4453-9760-c2fa23cdc833",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1918x1032",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "36560c5e-647e-4a1f-b50b-a83245a1c963",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=anan",
|
|
"targets": [
|
|
["linkText=anan", "linkText"],
|
|
["css=.d-flex > .d-flex", "css:finder"],
|
|
["xpath=//div[@id='content']/nav/ul/li[3]/a", "xpath:idRelative"],
|
|
["xpath=//a[@href='http://127.0.0.1:8000/profil']", "xpath:href"],
|
|
["xpath=//nav/ul/li[3]/a", "xpath:position"],
|
|
["xpath=//a[contains(.,'anan')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "dd8c69cd-0084-4bc6-82c0-f5d19639645f",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=tr:nth-child(8) .btn-warning > .fas",
|
|
"targets": [
|
|
["css=tr:nth-child(8) .btn-warning > .fas", "css:finder"],
|
|
["xpath=//body[@id='page-top']/div/div[2]/div/div/div[3]/div/div/div[2]/div/table/tbody/tr[8]/td[5]/button/i", "xpath:idRelative"],
|
|
["xpath=//tr[8]/td[5]/button/i", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "a1bbccf1-5256-4d84-8430-91fe12f36d3c",
|
|
"comment": "",
|
|
"command": "mouseDownAt",
|
|
"target": "id=modal_role",
|
|
"targets": [
|
|
["id=modal_role", "id"],
|
|
["css=#modal_role", "css:finder"],
|
|
["xpath=//select[@id='modal_role']", "xpath:attributes"],
|
|
["xpath=//form[@id='formEditUser']/div/div[3]/select", "xpath:idRelative"],
|
|
["xpath=//div[3]/select", "xpath:position"]
|
|
],
|
|
"value": "-718,-312"
|
|
}, {
|
|
"id": "f0925c96-0065-4018-ae71-4b2deb245652",
|
|
"comment": "",
|
|
"command": "mouseMoveAt",
|
|
"target": "id=modal_role",
|
|
"targets": [
|
|
["id=modal_role", "id"],
|
|
["css=#modal_role", "css:finder"],
|
|
["xpath=//select[@id='modal_role']", "xpath:attributes"],
|
|
["xpath=//form[@id='formEditUser']/div/div[3]/select", "xpath:idRelative"],
|
|
["xpath=//div[3]/select", "xpath:position"]
|
|
],
|
|
"value": "-718,-312"
|
|
}, {
|
|
"id": "8458f507-81e0-4785-88ce-78d8ab59ee9c",
|
|
"comment": "",
|
|
"command": "mouseUpAt",
|
|
"target": "id=modal_role",
|
|
"targets": [
|
|
["id=modal_role", "id"],
|
|
["css=#modal_role", "css:finder"],
|
|
["xpath=//select[@id='modal_role']", "xpath:attributes"],
|
|
["xpath=//form[@id='formEditUser']/div/div[3]/select", "xpath:idRelative"],
|
|
["xpath=//div[3]/select", "xpath:position"]
|
|
],
|
|
"value": "-718,-312"
|
|
}, {
|
|
"id": "aec2da27-6da6-4d7f-b353-076ca6970b63",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=modal_role",
|
|
"targets": [
|
|
["id=modal_role", "id"],
|
|
["css=#modal_role", "css:finder"],
|
|
["xpath=//select[@id='modal_role']", "xpath:attributes"],
|
|
["xpath=//form[@id='formEditUser']/div/div[3]/select", "xpath:idRelative"],
|
|
["xpath=//div[3]/select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "995f315a-65e3-4c43-b1e5-dd7b9737c367",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "id=modal_role",
|
|
"targets": [],
|
|
"value": "label=USER"
|
|
}, {
|
|
"id": "b1f23c34-379d-4c89-bd65-73458161d0c6",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=#modal_role > option:nth-child(1)",
|
|
"targets": [
|
|
["css=#modal_role > option:nth-child(1)", "css:finder"],
|
|
["xpath=(//option[@value='user'])[2]", "xpath:attributes"],
|
|
["xpath=//select[@id='modal_role']/option", "xpath:idRelative"],
|
|
["xpath=//div[3]/select/option", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "0bbb9911-5ae4-40e8-9ef8-0bc05352e23b",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.modal-footer > .btn-primary",
|
|
"targets": [
|
|
["css=.modal-footer > .btn-primary", "css:finder"],
|
|
["xpath=(//button[@type='submit'])[3]", "xpath:attributes"],
|
|
["xpath=//form[@id='formEditUser']/div[2]/button", "xpath:idRelative"],
|
|
["xpath=//div[2]/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Simpan Perubahan')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "ba497dd7-9cdd-4de8-a6d8-2071132cb643",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["0050a9d8-ea6b-4fa3-a158-6129b7d64a8d"]
|
|
}],
|
|
"urls": ["http://127.0.0.1:8000/"],
|
|
"plugins": []
|
|
} |