11-11 simplification
This commit is contained in:
parent
e62ea40806
commit
655a6f92e8
171
membres.side
171
membres.side
@ -32521,7 +32521,7 @@
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "7ef24c41-b615-4c1c-9423-11220cd5d318",
|
||||
"comment": "ajouter champ perso nombre à virgule",
|
||||
"comment": "ajouter champ perso nombre à virgule visible fiche membre",
|
||||
"command": "",
|
||||
"target": "",
|
||||
"targets": [],
|
||||
@ -32583,7 +32583,7 @@
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "43c235b6-ad98-48be-8eb9-5723dd0b6593",
|
||||
"comment": "champ nombre à virgule",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "xpath=//select[@id=\"f_type\"]/option[@value=\"decimal\"]",
|
||||
"targets": [],
|
||||
@ -32591,8 +32591,8 @@
|
||||
}, {
|
||||
"id": "58acc5d5-139b-4cd2-a5c4-cfa0b9ffcd9d",
|
||||
"comment": "",
|
||||
"command": "store",
|
||||
"target": "Salaire mensuel",
|
||||
"command": "executeScript",
|
||||
"target": "const chaine = (length) => { let chars = 'aàbcdeéèfghijklmnoôpqrstuùvwxyz'; let str = ''; for (let i = 0; i < length; i++) { str += chars.charAt(Math.floor(Math.random() * chars.length)); } return str;};return chaine(10)",
|
||||
"targets": [],
|
||||
"value": "libelle_champ"
|
||||
}, {
|
||||
@ -32625,9 +32625,9 @@
|
||||
"value": "Donne-nous tes sous"
|
||||
}, {
|
||||
"id": "c61a8f8b-e66c-4c0b-9f07-bc771a531e08",
|
||||
"comment": "Voir et modifier ce champ",
|
||||
"comment": "",
|
||||
"command": "check",
|
||||
"target": "xpath=//input[@id=\"f_user_access_level_2\"]",
|
||||
"target": "id=f_user_access_level_1",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
@ -32894,7 +32894,7 @@
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "a07318cc-9358-4f4b-9522-87f3caba14b4",
|
||||
"comment": "vérifier nombre et le modifier",
|
||||
"comment": "vérifier présence nouveau champ",
|
||||
"command": "",
|
||||
"target": "",
|
||||
"targets": [],
|
||||
@ -32913,54 +32913,6 @@
|
||||
"target": "xpath=//dt[text()=\"${libelle_champ}\"]/following-sibling::dd",
|
||||
"targets": [],
|
||||
"value": "${valeur_champ}"
|
||||
}, {
|
||||
"id": "c688212e-4467-4c58-986f-120c7ea55bfd",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "xpath=//a[contains(@href, \"/admin/me/edit.php\")]",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "21e80012-fb44-42a9-a6d7-7cd875278f77",
|
||||
"comment": "",
|
||||
"command": "store",
|
||||
"target": "2365.88",
|
||||
"targets": [],
|
||||
"value": "valeur_champ"
|
||||
}, {
|
||||
"id": "481530a8-82c5-4bcc-9e42-b7ab93058090",
|
||||
"comment": "",
|
||||
"command": "type",
|
||||
"target": "id=${id_champ}",
|
||||
"targets": [],
|
||||
"value": "${valeur_champ}"
|
||||
}, {
|
||||
"id": "90408938-dc58-4dee-9a4e-31a4a3c41a0c",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "name=save",
|
||||
"targets": [
|
||||
["name=save", "name"],
|
||||
["css=.main", "css:finder"],
|
||||
["xpath=//button[@name='save']", "xpath:attributes"],
|
||||
["xpath=//p/button", "xpath:position"],
|
||||
["xpath=//button[contains(.,'Créer ce membre')]", "xpath:innerText"]
|
||||
],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "a0547cc5-7693-4269-b412-b3f0de0bcda3",
|
||||
"comment": "",
|
||||
"command": "executeScript",
|
||||
"target": "return ${valeur_champ}.replace(/\\./, \",\")",
|
||||
"targets": [],
|
||||
"value": "valeur_champ"
|
||||
}, {
|
||||
"id": "1c9fdc20-c629-4623-9f2a-85b5d63c1979",
|
||||
"comment": "",
|
||||
"command": "assertText",
|
||||
"target": "xpath=//dt[text()=\"${libelle_champ}\"]/following-sibling::dd",
|
||||
"targets": [],
|
||||
"value": "${valeur_champ}"
|
||||
}, {
|
||||
"id": "0833aed2-80f6-4196-8fa9-4756cc9514b1",
|
||||
"comment": "Déconnexion membre",
|
||||
@ -32968,115 +32920,6 @@
|
||||
"target": "xpath=//a[contains(@href, '/admin/logout.php')]",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "cbc8b258-7d49-4aa6-bfa4-b982dfd6052d",
|
||||
"comment": "",
|
||||
"command": "type",
|
||||
"target": "id=f_id",
|
||||
"targets": [],
|
||||
"value": "jckix@free.fr"
|
||||
}, {
|
||||
"id": "22befa85-2426-4467-bf62-8b9b9737e8b6",
|
||||
"comment": "",
|
||||
"command": "type",
|
||||
"target": "id=f_password",
|
||||
"targets": [],
|
||||
"value": "interpeller noircir colis allumer"
|
||||
}, {
|
||||
"id": "78b52132-5982-420b-943a-04596aafa533",
|
||||
"comment": "Connexion admin",
|
||||
"command": "click",
|
||||
"target": "name=login",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "92f3baf5-6fc2-4ea3-bfc1-70af96b0faa7",
|
||||
"comment": "supprimer le champ ajouté",
|
||||
"command": "",
|
||||
"target": "",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "dfdf908e-5bdc-48b4-9cc4-ecce1900fee3",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "xpath=//a[contains(@href, \"/admin/config/\")]",
|
||||
"targets": [
|
||||
["css=li:nth-child(6) b", "css:finder"],
|
||||
["xpath=//li[6]/h3/a/b", "xpath:position"],
|
||||
["xpath=//b[contains(.,'Configuration')]", "xpath:innerText"]
|
||||
],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "7f622a77-d995-4956-a2bc-e150f5f346ec",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "xpath=//a[contains(@href, \"/admin/config/users\")]",
|
||||
"targets": [
|
||||
["css=ul:nth-child(1) > li:nth-child(3) > a", "css:finder"],
|
||||
["xpath=//a[contains(text(),'Membres')]", "xpath:link"],
|
||||
["xpath=//a[@href='http://test.paheko.localhost/admin/config/users/']", "xpath:href"],
|
||||
["xpath=//nav/ul/li[3]/a", "xpath:position"]
|
||||
],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "0eddb797-97a6-4f68-8c68-56a70a7fbc47",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "xpath=//a[contains(@href, \"/admin/config/fields\")]",
|
||||
"targets": [
|
||||
["css=ul:nth-child(1) > li:nth-child(3) > a", "css:finder"],
|
||||
["xpath=//a[contains(text(),'Membres')]", "xpath:link"],
|
||||
["xpath=//a[@href='http://test.paheko.localhost/admin/config/users/']", "xpath:href"],
|
||||
["xpath=//nav/ul/li[3]/a", "xpath:position"]
|
||||
],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "50d047e7-2b06-412e-a850-616f7cb64a25",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "xpath=//tbody/tr[last()]//td//a[contains(@href, \"delete.php\")]",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "da4b8f4c-d67e-46a7-b76b-39b2ebf847b5",
|
||||
"comment": "",
|
||||
"command": "selectFrame",
|
||||
"target": "index=0",
|
||||
"targets": [
|
||||
["index=0"]
|
||||
],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "4cf0ee64-e418-40e2-ad77-f537061daa07",
|
||||
"comment": "",
|
||||
"command": "check",
|
||||
"target": "xpath=//input[@id='f_confirm_delete_1']",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "4def33d0-9309-4a9a-ae61-3a3c1155add4",
|
||||
"comment": "",
|
||||
"command": "click",
|
||||
"target": "name=delete",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "6e88db79-c391-4bdd-bbfa-a51b5e628e1c",
|
||||
"comment": "",
|
||||
"command": "selectFrame",
|
||||
"target": "relative=parent",
|
||||
"targets": [
|
||||
["index=0"]
|
||||
],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "3d49531f-7e18-4871-be31-f7295f5e2b4a",
|
||||
"comment": "",
|
||||
"command": "assertElementNotPresent",
|
||||
"target": "xpath=//th[text()=\"${libelle_champ}\"]",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}]
|
||||
}, {
|
||||
"id": "2949f623-c0f5-47b8-beb0-38a9d3e42a8c",
|
||||
|
Loading…
Reference in New Issue
Block a user