suppression test 12-02 devenu inutile

This commit is contained in:
Jean-Christophe Engel 2024-09-30 14:42:07 +02:00
parent 282faddf32
commit 8999c8d496

View File

@ -41079,392 +41079,6 @@
"targets": [],
"value": ""
}]
}, {
"id": "b8768454-ae31-4cec-a902-45218cd2cd06",
"name": "12-02 numéro non obligatoire",
"commands": [{
"id": "24436a9b-db79-4bd2-9bd4-213bc2c0e381",
"comment": "",
"command": "open",
"target": "http://test.paheko.localhost/admin/login.php",
"targets": [],
"value": ""
}, {
"id": "92bcfa28-4cb6-4d63-b6a2-fc7c45b74010",
"comment": "",
"command": "setWindowSize",
"target": "1280x1020",
"targets": [],
"value": ""
}, {
"id": "4025ad48-e5ea-46c6-a4de-081358f971f3",
"comment": "Vérifier si déjà connecté",
"command": "storeXpathCount",
"target": "xpath=//button[@name='login']",
"targets": [],
"value": "connecte"
}, {
"id": "a2697a31-eb23-4637-a2e9-3af3c8bd05f8",
"comment": "",
"command": "if",
"target": "${connecte} > 0",
"targets": [],
"value": ""
}, {
"id": "d301ed5b-dc6c-46aa-b664-7de8cc1a41f4",
"comment": "identifiant",
"command": "type",
"target": "id=f_id",
"targets": [],
"value": "jckix@free.fr"
}, {
"id": "05668b95-cab3-4e5a-b1c6-e100984cdd17",
"comment": "mot de passe",
"command": "type",
"target": "id=f_password",
"targets": [],
"value": "interpeller noircir colis allumer"
}, {
"id": "45a207b8-4d31-4557-9569-3238b988e340",
"comment": "Connexion",
"command": "click",
"target": "name=login",
"targets": [],
"value": ""
}, {
"id": "106a7226-d85e-450d-8a66-60191a0e7ed5",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "c2cc8bdf-8b89-4e07-880b-084aae3e25d7",
"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": "bbf5063c-5317-49a1-9b12-8efd81661bc5",
"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": "400cfbf5-db96-4b72-b911-445d2c599007",
"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": "bdf8e57f-5ada-4577-aa88-12c1aed45e1c",
"comment": "rendre numéro non obligatoire",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "d4a20676-845d-4213-8d9c-ab5466fc8131",
"comment": "",
"command": "store",
"target": "Numéro de membre",
"targets": [],
"value": "libelle_champ"
}, {
"id": "15985178-c0ac-4142-b437-87fcada7a681",
"comment": "",
"command": "click",
"target": "xpath=//th[text()=\"${libelle_champ}\"]/following-sibling::td/a[contains(@href, \"edit.php\")]",
"targets": [
["css=tr:nth-child(1) > .actions span", "css:finder"],
["xpath=//td[6]/a/span", "xpath:position"],
["xpath=//span[contains(.,'Modifier')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "946d5a72-a43b-4b7b-9250-36d18fb6d2ee",
"comment": "",
"command": "selectFrame",
"target": "index=0",
"targets": [
["index=0"]
],
"value": ""
}, {
"id": "3014fc28-f8de-482d-ba31-73fce617d65d",
"comment": "",
"command": "uncheck",
"target": "id=f_required_1",
"targets": [],
"value": ""
}, {
"id": "23ac10af-eb3e-48d7-a730-b52ae710a769",
"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(.,'Enregistrer')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "9ebf4b7e-7e47-4b87-a448-232b88b6e3a2",
"comment": "",
"command": "selectFrame",
"target": "relative=parent",
"targets": [
["relative=parent"]
],
"value": ""
}, {
"id": "90a417c4-ddd0-435b-8425-ecf24cf689fa",
"comment": "",
"command": "assertNotText",
"target": "xpath=//th[text()=\"${libelle_champ}\"]/following-sibling::td[2]",
"targets": [],
"value": "Obligatoire"
}, {
"id": "20decff5-77ad-4b2f-a01d-859aae43cc21",
"comment": "créer un membre",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "b23bde5c-b558-43f7-9add-43e3eb3d1709",
"comment": "",
"command": "click",
"target": "linkText=Ajouter",
"targets": [
["linkText=Ajouter", "linkText"],
["css=li:nth-child(2) li:nth-child(1) > a", "css:finder"],
["xpath=//a[contains(text(),'Ajouter')]", "xpath:link"],
["xpath=//a[contains(@href, '/admin/users/new.php')]", "xpath:href"],
["xpath=//li/a", "xpath:position"],
["xpath=//a[contains(.,'Ajouter')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "aa6a9e07-85ff-4176-9848-478cf850141c",
"comment": "",
"command": "type",
"target": "id=f_numero",
"targets": [],
"value": ""
}, {
"id": "4c796e11-8819-4b30-8ebe-26ab5008e9c0",
"comment": "",
"command": "executeScript",
"target": "const upper = (str) => { return str.charAt(0).toUpperCase() + str.slice(1);} ; 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)); } let debut = upper(str.slice(0, length/2)); let fin = upper(str.slice(length/2)); return debut + ' ' + fin;};return chaine(12)",
"targets": [],
"value": "nom"
}, {
"id": "82f9d627-acdc-4496-8e4f-23910ddfca24",
"comment": "",
"command": "type",
"target": "id=f_nom",
"targets": [
["id=f_nom", "id"],
["name=nom", "name"],
["css=#f_nom", "css:finder"],
["xpath=//input[@id='f_nom']", "xpath:attributes"],
["xpath=//dd[3]/input", "xpath:position"]
],
"value": "${nom}"
}, {
"id": "77aae785-15ce-4d12-85ce-b8c61b637ed6",
"comment": "",
"command": "executeScript",
"target": "const chaine = (length) => { let chars = 'abcdefghijklmnopqrstuvwxyz0123456789'; let str = ''; for (let i = 0; i < length; i++) { str += chars.charAt(Math.floor(Math.random() * chars.length)); } return str; }; return chaine(8) + \"@\" + chaine(5) + \".fr\"",
"targets": [],
"value": "email"
}, {
"id": "e02b6ad2-8b48-48af-abc4-217e2d31df50",
"comment": "",
"command": "type",
"target": "id=f_email",
"targets": [
["id=f_email", "id"],
["name=email", "name"],
["css=#f_email", "css:finder"],
["xpath=//input[@id='f_email']", "xpath:attributes"],
["xpath=//dd[4]/input", "xpath:position"]
],
"value": "${email}"
}, {
"id": "6a20db9b-482e-41a2-a072-524899846222",
"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": "0f6a3c2e-319d-4ecf-8bcc-03395f54f722",
"comment": "vérifier infos membre",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "11ecf6b0-37a0-400f-a996-3a8e60980821",
"comment": "",
"command": "storeText",
"target": "xpath=//dt[contains(.,'${libelle_champ}')]/following-sibling::dd",
"targets": [],
"value": "numero"
}, {
"id": "0d56594c-f3c1-4404-8fd5-9d496b34c675",
"comment": "",
"command": "executeScript",
"target": "function ok(num) { return Number.isInteger(Number(num)) && Number(num) > 0; } ; return ok(${numero})",
"targets": [],
"value": "estEntier"
}, {
"id": "741d6af9-9226-4499-83d9-b54fcd32004c",
"comment": "",
"command": "assert",
"target": "estEntier",
"targets": [],
"value": "true"
}, {
"id": "40672b48-4c72-42ce-9291-fe17c29129a1",
"comment": "",
"command": "assertText",
"target": "xpath=//dt[contains(.,'Nom & prénom')]/following-sibling::dd",
"targets": [],
"value": "${nom}"
}, {
"id": "10d32b03-561c-4edd-9a75-0883992fedb2",
"comment": "",
"command": "assertText",
"target": "xpath=//dt[contains(.,'Adresse E-Mail')]/following-sibling::dd/a",
"targets": [],
"value": "${email}"
}, {
"id": "e80cbdb0-190c-4a11-be46-c9de3e3e01ac",
"comment": "remettre à l'état initial",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "370c76d4-9974-4b9f-9a5d-d111280d5514",
"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": "5ddc8c7b-f14b-46e4-b081-fd6cdea6a8b4",
"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": "1b336eba-dd15-40e9-bb95-634c3753c0b4",
"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": "37cd309d-9037-4f35-a2de-47116bfef2f4",
"comment": "",
"command": "click",
"target": "xpath=//th[text()=\"${libelle_champ}\"]/following-sibling::td/a[contains(@href, \"edit.php\")]",
"targets": [
["css=tr:nth-child(1) > .actions span", "css:finder"],
["xpath=//td[6]/a/span", "xpath:position"],
["xpath=//span[contains(.,'Modifier')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "70ccabb4-95ec-496d-911e-c82fe9b76435",
"comment": "",
"command": "selectFrame",
"target": "index=0",
"targets": [
["index=0"]
],
"value": ""
}, {
"id": "cb6305f0-bf53-4dff-883b-64589f9a30db",
"comment": "",
"command": "check",
"target": "id=f_required_1",
"targets": [],
"value": ""
}, {
"id": "2531041f-8850-4986-b893-91f6f920f3a7",
"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(.,'Enregistrer')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "d79136e4-8c7f-4ff4-9033-bd41350910cd",
"comment": "",
"command": "selectFrame",
"target": "relative=parent",
"targets": [
["relative=parent"]
],
"value": ""
}, {
"id": "0dc76062-bc0d-404c-b400-7e70fa984ee0",
"comment": "",
"command": "assertText",
"target": "xpath=//th[text()=\"${libelle_champ}\"]/following-sibling::td[2]",
"targets": [],
"value": "Obligatoire"
}]
}, {
"id": "38833b4a-62c8-4f5d-9865-8f38d1ee3994",
"name": "12-03 numéro non visible fiche membre",
@ -46748,7 +46362,7 @@
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["2414b9b6-6de9-4c5d-b120-30830eba1b2f", "b8768454-ae31-4cec-a902-45218cd2cd06", "38833b4a-62c8-4f5d-9865-8f38d1ee3994", "eb01441e-0b46-45c7-a58d-0aa7a47dff1e", "98cd4288-efed-412c-ae9f-ff8f97366fae", "a79ce0c0-32c8-461a-af13-a9e1a538e24d", "31a150da-a0ca-4aaf-b32b-8a057fd93a59", "2c1df50d-b2c8-4f68-92d5-8aaa5a45b4de", "8f0f0203-7b71-44eb-bb81-1fcab1183a83", "fb565ffb-1563-4c63-82a7-a9b31fa04f8f", "22c57d8c-1859-4552-8bd5-499cf5523542", "8a5bf185-6feb-4652-95e5-f372a900a4f7"]
"tests": ["2414b9b6-6de9-4c5d-b120-30830eba1b2f", "38833b4a-62c8-4f5d-9865-8f38d1ee3994", "eb01441e-0b46-45c7-a58d-0aa7a47dff1e", "98cd4288-efed-412c-ae9f-ff8f97366fae", "a79ce0c0-32c8-461a-af13-a9e1a538e24d", "31a150da-a0ca-4aaf-b32b-8a057fd93a59", "2c1df50d-b2c8-4f68-92d5-8aaa5a45b4de", "8f0f0203-7b71-44eb-bb81-1fcab1183a83", "fb565ffb-1563-4c63-82a7-a9b31fa04f8f", "22c57d8c-1859-4552-8bd5-499cf5523542", "8a5bf185-6feb-4652-95e5-f372a900a4f7"]
}, {
"id": "ea114d93-45a4-4e15-b31b-b3a6452cdb47",
"name": "13 changer ordre champs fiche membre",