80 lines
2.6 KiB
Plaintext
80 lines
2.6 KiB
Plaintext
{
|
|
"id": "426402f2-f96f-4c2e-be85-de65ac4be17a",
|
|
"version": "2.0",
|
|
"name": "profil",
|
|
"url": "http://127.0.0.1:8000",
|
|
"tests": [{
|
|
"id": "415bf66c-1e21-4631-bb64-e3683e54843f",
|
|
"name": "ganti password",
|
|
"commands": [{
|
|
"id": "5404ab21-a1d5-4272-9320-08008f646111",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/dashboard",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "d9c4f0e1-f5dc-42d8-8161-a0b5cf949f21",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1918x1032",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "b78161f6-a06e-423c-9f28-3ee5f63094d4",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.d-flex > .rounded-circle",
|
|
"targets": [
|
|
["css=.d-flex > .rounded-circle", "css:finder"],
|
|
["xpath=//img[@alt='Profil']", "xpath:img"],
|
|
["xpath=//div[@id='content']/nav/ul/li[3]/a/img", "xpath:idRelative"],
|
|
["xpath=//img", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "23d0d613-eb35-40f8-96b0-edc7bc41db4b",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=password",
|
|
"targets": [
|
|
["name=password", "name"],
|
|
["css=.row:nth-child(5) .form-control", "css:finder"],
|
|
["xpath=//input[@name='password']", "xpath:attributes"],
|
|
["xpath=//body[@id='page-top']/div/div[2]/div/div/div/form/div/div[2]/div/div/div[3]/div[2]/input", "xpath:idRelative"],
|
|
["xpath=//div[3]/div[2]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "6c791dd4-7d92-4753-b39b-3d0886891b9a",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('password').value='ananda123456';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "728d4a7f-d6f9-4f8c-a79b-6afe38af5f21",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.text-right > .btn",
|
|
"targets": [
|
|
["css=.text-right > .btn", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//body[@id='page-top']/div/div[2]/div/div/div/form/div/div[2]/div/div/div[6]/button", "xpath:idRelative"],
|
|
["xpath=//button", "xpath:position"],
|
|
["xpath=//button[contains(.,' Simpan Semua Perubahan')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "936badc0-c77d-4ebb-a573-01500458d163",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["415bf66c-1e21-4631-bb64-e3683e54843f"]
|
|
}],
|
|
"urls": ["http://127.0.0.1:8000/"],
|
|
"plugins": []
|
|
} |