From dd24291f17623c4e5fbaffcf3fcfd93d2c8ab44c Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Fri, 17 May 2024 15:39:11 +0200 Subject: [PATCH] Suppression des tests de test :) --- paheko.side | 1582 +-------------------------------------------------- 1 file changed, 1 insertion(+), 1581 deletions(-) diff --git a/paheko.side b/paheko.side index c319542..1a94b91 100644 --- a/paheko.side +++ b/paheko.side @@ -102,464 +102,6 @@ "targets": [], "value": "" }] - }, { - "id": "89d56a6e-79b3-40e4-984e-0f7a92f2a83b", - "name": "xx saisie recette", - "commands": [{ - "id": "5b4b2cea-2c7f-4ee8-9a9a-f835e6a18489", - "comment": "", - "command": "open", - "target": "http://testpaheko.local.bzh/admin/", - "targets": [], - "value": "" - }, { - "id": "bbc774a0-3941-4043-b50e-6ef26d1df45f", - "comment": "Vérifier si déjà connecté", - "command": "storeXpathCount", - "target": "xpath=//button[@name='login']", - "targets": [], - "value": "connecte" - }, { - "id": "c074006c-9482-4f62-9bef-26597f191144", - "comment": "", - "command": "if", - "target": "${connecte} > 0", - "targets": [], - "value": "" - }, { - "id": "17725bf6-697f-4290-a653-67d81b1c3e8a", - "comment": "identifiant", - "command": "type", - "target": "id=f_id", - "targets": [], - "value": "jckix@free.fr" - }, { - "id": "4f645223-40ea-4976-b54c-1d119107f8b8", - "comment": "mot de passe", - "command": "type", - "target": "id=f_password", - "targets": [], - "value": "interpeller noircir colis allumer" - }, { - "id": "df6de365-4648-4791-bd5b-27c0d7279f8d", - "comment": "Connexion", - "command": "click", - "target": "name=login", - "targets": [], - "value": "" - }, { - "id": "9dca891d-52dd-4075-8ff7-4abae662d3a2", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "892f235d-9ed4-4b46-b4c8-0c58be8cc448", - "comment": "", - "command": "setWindowSize", - "target": "1080x1020", - "targets": [], - "value": "" - }, { - "id": "c282b0b3-17da-4fa8-bcec-cb0a60214cb9", - "comment": "Menu Saisie", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/acc/transactions/new.php')]", - "targets": [ - ["linkText=Saisie", "linkText"], - ["css=li:nth-child(3) li:nth-child(1) > a", "css:finder"], - ["xpath=//a[contains(text(),'Saisie')]", "xpath:link"], - ["xpath=//a[contains(@href, '/admin/acc/transactions/new.php')]", "xpath:href"], - ["xpath=//li[3]/ul/li/a", "xpath:position"], - ["xpath=//a[contains(.,'Saisie')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "829f54dd-894b-41d0-8586-27e541cb38c9", - "comment": "", - "command": "click", - "target": "css=.radio-btn:nth-child(1) > label", - "targets": [ - ["css=.radio-btn:nth-child(1) > label", "css:finder"], - ["xpath=//label", "xpath:position"], - ["xpath=//label[contains(.,'Recette')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "a8f55810-982c-4c03-859b-ad04f444c5e1", - "comment": "", - "command": "click", - "target": "id=f_date", - "targets": [ - ["id=f_date", "id"], - ["name=date", "name"], - ["css=#f_date", "css:finder"], - ["xpath=//input[@id='f_date']", "xpath:attributes"], - ["xpath=//fieldset[2]/dl/dd/input", "xpath:position"] - ], - "value": "" - }, { - "id": "3b65691e-fce6-4049-b85e-1f953631c349", - "comment": "", - "command": "type", - "target": "id=f_date", - "targets": [ - ["id=f_date", "id"], - ["name=date", "name"], - ["css=#f_date", "css:finder"], - ["xpath=//input[@id='f_date']", "xpath:attributes"], - ["xpath=//fieldset[2]/dl/dd/input", "xpath:position"] - ], - "value": "10/04/2024" - }, { - "id": "c5989ec8-2f28-4d18-bd57-8ef12ab5cf59", - "comment": "", - "command": "click", - "target": "id=f_label", - "targets": [ - ["id=f_label", "id"], - ["name=label", "name"], - ["css=#f_label", "css:finder"], - ["xpath=//input[@id='f_label']", "xpath:attributes"], - ["xpath=//fieldset[2]/dl/dd[2]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "126d09fb-1f05-4058-a563-cdd6232b0565", - "comment": "", - "command": "type", - "target": "id=f_label", - "targets": [ - ["id=f_label", "id"], - ["name=label", "name"], - ["css=#f_label", "css:finder"], - ["xpath=//input[@id='f_label']", "xpath:attributes"], - ["xpath=//fieldset[2]/dl/dd[2]/input", "xpath:position"] - ], - "value": "Recette test1" - }, { - "id": "eac81ceb-1d5e-4b0b-9cb9-525042cdaf7c", - "comment": "", - "command": "click", - "target": "id=f_reference", - "targets": [ - ["id=f_reference", "id"], - ["name=reference", "name"], - ["css=#f_reference", "css:finder"], - ["xpath=//input[@id='f_reference']", "xpath:attributes"], - ["xpath=//fieldset[2]/dl/dd[3]/input", "xpath:position"] - ], - "value": "" - }, { - "id": "5da66ae2-d8b5-45c1-b88a-9bb19ccf217b", - "comment": "", - "command": "type", - "target": "id=f_reference", - "targets": [ - ["id=f_reference", "id"], - ["name=reference", "name"], - ["css=#f_reference", "css:finder"], - ["xpath=//input[@id='f_reference']", "xpath:attributes"], - ["xpath=//fieldset[2]/dl/dd[3]/input", "xpath:position"] - ], - "value": "PC00001" - }, { - "id": "4b662db5-b679-42dc-bb80-708ad83a3c9f", - "comment": "", - "command": "click", - "target": "id=f_amount", - "targets": [ - ["id=f_amount", "id"], - ["name=amount", "name"], - ["css=#f_amount", "css:finder"], - ["xpath=//input[@id='f_amount']", "xpath:attributes"], - ["xpath=//nobr/input", "xpath:position"] - ], - "value": "" - }, { - "id": "8335a62b-d93a-4e9f-9694-eb017c5d57e4", - "comment": "", - "command": "type", - "target": "id=f_amount", - "targets": [ - ["id=f_amount", "id"], - ["name=amount", "name"], - ["css=#f_amount", "css:finder"], - ["xpath=//input[@id='f_amount']", "xpath:attributes"], - ["xpath=//nobr/input", "xpath:position"] - ], - "value": "123.45" - }, { - "id": "173c26af-3b51-466f-8ebb-534791c54ed1", - "comment": "", - "command": "click", - "target": "css=#f_simple1credit_container > .icn-btn", - "targets": [ - ["css=#f_simple1credit_container > .icn-btn", "css:finder"], - ["xpath=//button[@value='http://testpaheko.local.bzh/admin/acc/charts/accounts/selector.php?targets=6&chart=3']", "xpath:attributes"], - ["xpath=//span[@id='f_simple1credit_container']/button", "xpath:idRelative"], - ["xpath=//fieldset[3]/dl/dd/span/button", "xpath:position"], - ["xpath=//button[contains(.,'Sélectionner')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2022cb7d-b35d-4b53-bfb4-a54876ee0fc4", - "comment": "", - "command": "selectFrame", - "target": "index=0", - "targets": [ - ["index=0"] - ], - "value": "" - }, { - "id": "1edd5b40-77f4-4253-b79a-955d4f740e4a", - "comment": "", - "command": "click", - "target": "css=.account:nth-child(5) > th", - "targets": [ - ["css=.account:nth-child(5) > th", "css:finder"], - ["xpath=//tr[5]/th", "xpath:position"], - ["xpath=//th[contains(.,'Ressources liées à la générosité du public')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2679403b-7be2-4632-bf49-8b8a9ad6b687", - "comment": "", - "command": "selectFrame", - "target": "relative=parent", - "targets": [ - ["relative=parent"] - ], - "value": "" - }, { - "id": "f9aab44c-b7ab-456b-981b-4d50b6faec0b", - "comment": "", - "command": "click", - "target": "css=#f_simple1debit_container > .icn-btn", - "targets": [ - ["css=#f_simple1debit_container > .icn-btn", "css:finder"], - ["xpath=//button[@value='http://testpaheko.local.bzh/admin/acc/charts/accounts/selector.php?targets=1:2:3&chart=3']", "xpath:attributes"], - ["xpath=//span[@id='f_simple1debit_container']/button", "xpath:idRelative"], - ["xpath=//dd[2]/span/button", "xpath:position"] - ], - "value": "" - }, { - "id": "32bf0836-41e6-4ae5-aa93-823c52a86b10", - "comment": "", - "command": "mouseOver", - "target": "css=#f_simple1debit_container > .icn-btn", - "targets": [ - ["css=#f_simple1debit_container > .icn-btn", "css:finder"], - ["xpath=//button[@value='http://testpaheko.local.bzh/admin/acc/charts/accounts/selector.php?targets=1:2:3&chart=3']", "xpath:attributes"], - ["xpath=//span[@id='f_simple1debit_container']/button", "xpath:idRelative"], - ["xpath=//dd[2]/span/button", "xpath:position"] - ], - "value": "" - }, { - "id": "086bccfe-592a-4a3d-85a4-2b71d2970831", - "comment": "", - "command": "mouseOut", - "target": "css=#f_simple1debit_container > .icn-btn", - "targets": [ - ["css=#f_simple1debit_container > .icn-btn", "css:finder"], - ["xpath=//button[@value='http://testpaheko.local.bzh/admin/acc/charts/accounts/selector.php?targets=1:2:3&chart=3']", "xpath:attributes"], - ["xpath=//span[@id='f_simple1debit_container']/button", "xpath:idRelative"], - ["xpath=//dd[2]/span/button", "xpath:position"] - ], - "value": "" - }, { - "id": "82692896-a7a3-4b37-bbba-f3637b8a0ef7", - "comment": "", - "command": "selectFrame", - "target": "index=0", - "targets": [ - ["index=0"] - ], - "value": "" - }, { - "id": "58438826-97c6-4f46-8558-c8124e5fa34f", - "comment": "", - "command": "click", - "target": "xpath=//td[2]", - "targets": [ - ["css=.focused > .num", "css:finder"], - ["xpath=//td[2]", "xpath:position"], - ["xpath=//td[contains(.,'512A')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "3e4245e8-91a3-4b0b-92ed-3f87a2ca38b8", - "comment": "", - "command": "selectFrame", - "target": "relative=parent", - "targets": [ - ["relative=parent"] - ], - "value": "" - }, { - "id": "a6580a8d-c4f8-410d-af90-3a13ebc4f2fc", - "comment": "", - "command": "click", - "target": "id=f_payment_reference", - "targets": [ - ["id=f_payment_reference", "id"], - ["name=payment_reference", "name"], - ["css=#f_payment_reference", "css:finder"], - ["xpath=//input[@id='f_payment_reference']", "xpath:attributes"], - ["xpath=//fieldset[9]/dl/dd/input", "xpath:position"] - ], - "value": "" - }, { - "id": "cefaa588-0fa9-4ef7-9b58-d98831a3cebb", - "comment": "", - "command": "type", - "target": "id=f_payment_reference", - "targets": [ - ["id=f_payment_reference", "id"], - ["name=payment_reference", "name"], - ["css=#f_payment_reference", "css:finder"], - ["xpath=//input[@id='f_payment_reference']", "xpath:attributes"], - ["xpath=//fieldset[9]/dl/dd/input", "xpath:position"] - ], - "value": "chèque 123456789" - }, { - "id": "cd055d93-1198-434d-8178-e36d8df8d155", - "comment": "", - "command": "click", - "target": "id=f_notes", - "targets": [ - ["id=f_notes", "id"], - ["name=notes", "name"], - ["css=#f_notes", "css:finder"], - ["xpath=//textarea[@id='f_notes']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "" - }, { - "id": "99225ce7-f7fd-45b0-82ea-7c611755b9ea", - "comment": "", - "command": "type", - "target": "id=f_notes", - "targets": [ - ["id=f_notes", "id"], - ["name=notes", "name"], - ["css=#f_notes", "css:finder"], - ["xpath=//textarea[@id='f_notes']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "rien d'important" - }, { - "id": "17bb6e6d-8dfb-45c3-b827-a629253ffaec", - "comment": "", - "command": "click", - "target": "id=f_id_project", - "targets": [ - ["id=f_id_project", "id"], - ["name=id_project", "name"], - ["css=#f_id_project", "css:finder"], - ["xpath=//select[@id='f_id_project']", "xpath:attributes"], - ["xpath=//dd/select", "xpath:position"] - ], - "value": "" - }, { - "id": "c4fc6258-d973-47c7-a33e-aae853770f18", - "comment": "", - "command": "select", - "target": "id=f_id_project", - "targets": [], - "value": "label=0005 — Collectes et dons reçus" - }, { - "id": "118559a6-c09b-480f-8380-61085119ae30", - "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": "ab90bd52-d933-4f26-8e99-1be7d5e3a9a2", - "comment": "Message de confirmation de la création", - "command": "assertText", - "target": "xpath=//p[@class=\"block confirm\"]", - "targets": [], - "value": "L'écriture a bien été créée. " - }, { - "id": "96e61d3f-5ac1-4d12-aa8a-c4c64d8ba994", - "comment": "Libellé", - "command": "assertText", - "target": "xpath=//section//h2", - "targets": [], - "value": "Recette test1" - }, { - "id": "795eaa4b-527b-43a2-987c-ef560640da77", - "comment": "Type d'écriture", - "command": "assertText", - "target": "xpath=//dd[2]", - "targets": [], - "value": "Recette" - }, { - "id": "7bda1bf0-ea54-434f-8da4-e1a9cb922c88", - "comment": "Numéro pièce comptable", - "command": "assertText", - "target": "xpath=//mark", - "targets": [], - "value": "PC00001" - }, { - "id": "fb3bce27-66a9-482c-8bfc-78297a332aa5", - "comment": "Référence de paiement", - "command": "click", - "target": "xpath=//dd[6]/mark", - "targets": [ - ["css=dd:nth-child(12) > mark", "css:finder"], - ["xpath=//dd[6]/mark", "xpath:position"], - ["xpath=//mark[contains(.,'chèque 123456789')]", "xpath:innerText"] - ], - "value": "chèque 123456789" - }, { - "id": "e507e864-a78c-48f8-b8d3-55a2428a94a6", - "comment": "Remarques", - "command": "click", - "target": "xpath=//dd[8]", - "targets": [ - ["css=dd:nth-child(16)", "css:finder"], - ["xpath=//dd[8]", "xpath:position"] - ], - "value": "rien d'important" - }, { - "id": "41bc99e6-1ac1-4d0a-9e12-a048f17b6bdf", - "comment": "date en toutes lettres puis en chiffres", - "command": "", - "target": "xpath=//dd[3]", - "targets": [], - "value": "" - }, { - "id": "0bf01ac9-39fd-495b-88a1-239fd26ba803", - "comment": "Montant", - "command": "assertText", - "target": "xpath=//span[@class=\"money\"]", - "targets": [], - "value": "123,45" - }, { - "id": "e3290f23-6c51-4314-85ff-38864b56f8d6", - "comment": "Type de recette", - "command": "assertText", - "target": "xpath=//div[@class=\"account\"][1]//span", - "targets": [], - "value": "754 — Ressources liées à la générosité du public" - }, { - "id": "e8879912-f7e9-4a81-997d-3152363fbe3c", - "comment": "Compte d'encaissement", - "command": "assertText", - "target": "xpath=//div[@class=\"account\"][2]//span", - "targets": [], - "value": "512A — Compte courant" - }] }, { "id": "b3fdeef5-2f6f-46e8-a9db-5995bbf94957", "name": "1-01 installation", @@ -950,832 +492,6 @@ "targets": [], "value": "jckix@free.fr" }] - }, { - "id": "d33d67f7-28a1-470b-a59a-d7329a6dc09d", - "name": "xx 01 démarrer compta", - "commands": [{ - "id": "a2b0eaef-fe0d-4797-a7dd-25f55abf431c", - "comment": "", - "command": "open", - "target": "http://testpaheko.local.bzh/admin/", - "targets": [], - "value": "" - }, { - "id": "81a0acde-d8be-45a3-91e8-e1fb0e62bb7a", - "comment": "", - "command": "setWindowSize", - "target": "1080x1020", - "targets": [], - "value": "" - }, { - "id": "5270fbf4-31dd-4c9a-9324-301a40b89640", - "comment": "Menu comptabilité", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/acc')]", - "targets": [ - ["css=li:nth-child(3) b", "css:finder"], - ["xpath=//li[3]/h3/a/b", "xpath:position"], - ["xpath=//b[contains(.,'Comptabilité')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "8e410189-2084-44ab-9a87-c344a43c000e", - "comment": "Choisir PC", - "command": "click", - "target": "id=f_change_chart", - "targets": [ - ["id=f_change_chart", "id"], - ["css=#f_change_chart", "css:finder"], - ["xpath=//button[@id='f_change_chart']", "xpath:attributes"], - ["xpath=//button", "xpath:position"], - ["xpath=//button[contains(.,'Choisir un autre plan comptable')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "dcb77bc4-bf4c-4e0f-a81f-5c562b64e4f7", - "comment": "", - "command": "click", - "target": "id=f_chart", - "targets": [ - ["id=f_chart", "id"], - ["name=chart", "name"], - ["css=#f_chart", "css:finder"], - ["xpath=//select[@id='f_chart']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "4c609b2c-a7b5-434e-be48-2f3bd261c3f0", - "comment": "PC 2020", - "command": "click", - "target": "xpath=//option[@value=\"fr_pca_2018\"]", - "targets": [ - ["css=option:nth-child(2)", "css:finder"], - ["xpath=//option[@value='fr_pca_2018']", "xpath:attributes"], - ["xpath=//select[@id='f_chart']/option[2]", "xpath:idRelative"], - ["xpath=//option[2]", "xpath:position"], - ["xpath=//option[contains(.,'Plan comptable associatif 2020 (Règlement ANC n°2018-06)')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "b6e68444-8aef-4f3a-818c-9a2d722dade2", - "comment": "", - "command": "type", - "target": "id=f_start_date", - "targets": [ - ["id=f_start_date", "id"], - ["name=start_date", "name"], - ["css=#f_start_date", "css:finder"], - ["xpath=//input[@id='f_start_date']", "xpath:attributes"], - ["xpath=//input", "xpath:position"] - ], - "value": "01/07/2023" - }, { - "id": "0e6a2dd3-7d7d-4945-aba5-54f9e8493cb7", - "comment": "", - "command": "type", - "target": "id=f_end_date", - "targets": [ - ["id=f_end_date", "id"], - ["name=end_date", "name"], - ["css=#f_end_date", "css:finder"], - ["xpath=//input[@id='f_end_date']", "xpath:attributes"], - ["xpath=//dd[2]/input", "xpath:position"] - ], - "value": "30/06/2024" - }, { - "id": "52430c7d-ca8e-4f58-b52d-a4d2e72a4fcd", - "comment": "", - "command": "click", - "target": "name=step", - "targets": [ - ["name=step", "name"], - ["css=.main", "css:finder"], - ["xpath=//button[@name='step']", "xpath:attributes"], - ["xpath=//p/button", "xpath:position"], - ["xpath=//button[contains(.,'Étape suivante')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "ba36bec7-61bd-4d1c-ac3c-2b72d0936504", - "comment": "", - "command": "type", - "target": "id=f_accountsbalance", - "targets": [ - ["id=f_accountsbalance", "id"], - ["name=accounts[balance][]", "name"], - ["css=#f_accountsbalance", "css:finder"], - ["xpath=//input[@id='f_accountsbalance']", "xpath:attributes"], - ["xpath=//nobr/input", "xpath:position"] - ], - "value": "1234.56" - }, { - "id": "ca4cfa78-ff97-4f3e-a785-9672305dafef", - "comment": "", - "command": "click", - "target": "id=f_accountsbalance", - "targets": [ - ["id=f_accountsbalance", "id"], - ["name=accounts[balance][]", "name"], - ["css=#f_accountsbalance", "css:finder"], - ["xpath=//input[@id='f_accountsbalance']", "xpath:attributes"], - ["xpath=//nobr/input", "xpath:position"] - ], - "value": "" - }, { - "id": "9e9dac78-99a3-4879-8c19-75b018622079", - "comment": "", - "command": "click", - "target": "css=td:nth-child(1)", - "targets": [ - ["css=td:nth-child(1)", "css:finder"], - ["xpath=//tfoot/tr/td", "xpath:position"] - ], - "value": "" - }, { - "id": "07517ee9-e7f2-49af-bb13-83b658138e02", - "comment": "", - "command": "click", - "target": "id=f_result", - "targets": [ - ["id=f_result", "id"], - ["name=result", "name"], - ["css=#f_result", "css:finder"], - ["xpath=//input[@id='f_result']", "xpath:attributes"], - ["xpath=//dd/nobr/input", "xpath:position"] - ], - "value": "" - }, { - "id": "9f331343-c219-4a57-93d9-5e963b678ce6", - "comment": "", - "command": "type", - "target": "id=f_result", - "targets": [ - ["id=f_result", "id"], - ["name=result", "name"], - ["css=#f_result", "css:finder"], - ["xpath=//input[@id='f_result']", "xpath:attributes"], - ["xpath=//dd/nobr/input", "xpath:position"] - ], - "value": "987.65" - }, { - "id": "971f1424-302c-429a-803c-7c8a16636606", - "comment": "", - "command": "click", - "target": "name=save", - "targets": [ - ["name=save", "name"], - ["css=.main", "css:finder"], - ["xpath=//button[@name='save']", "xpath:attributes"], - ["xpath=//button[2]", "xpath:position"], - ["xpath=//button[contains(.,'Enregistrer')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "1e1ab5c5-e6ef-4bb9-ac86-74c0967d7e64", - "comment": "Confirmation création 1er exercice", - "command": "assertElementPresent", - "target": "xpath=//div[contains(@class, 'confirm')]", - "targets": [], - "value": "" - }, { - "id": "90c5bbf0-0098-4391-bf5d-928b1bfebcfa", - "comment": "nombre d'écritures", - "command": "assertElementPresent", - "target": "xpath=//table[@class=\"list\"]//tr[1]/td[1][contains(text(), \"2 écritures\")]", - "targets": [], - "value": "" - }, { - "id": "553786b8-c659-4e4b-85d9-fcedf655f3cb", - "comment": "PC 2020", - "command": "assertElementPresent", - "target": "xpath=//table[@class=\"list\"]//tr[1]/td[1]/a[contains(text(), \"Plan comptable associatif 2020 \")]", - "targets": [], - "value": "" - }, { - "id": "835d38ff-3ee4-41b2-b5f1-eae8468a7c7e", - "comment": "Date début exercice", - "command": "assertElementPresent", - "target": "xpath=//table[@class=\"list\"]//tr[2]/td[1][contains(text(), \"01/07/2023\")]", - "targets": [], - "value": "" - }, { - "id": "2ca65e0a-3bc5-490d-925f-8ea4cabf02ed", - "comment": "Date fin exercice", - "command": "assertElementPresent", - "target": "xpath=//table[@class=\"list\"]//tr[2]/td[1][contains(text(), \"30/06/2024\")]", - "targets": [], - "value": "" - }, { - "id": "7bdcd91f-6c97-40b0-a3cd-a6ba76c52eb1", - "comment": "Suivi des écritures", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/acc/accounts/simple.php')]", - "targets": [], - "value": "" - }, { - "id": "b1c59841-dc87-496e-8b1e-e83ee00b4de6", - "comment": "Solde d'ouverture", - "command": "assertText", - "target": "xpath=//th[contains(text(), \"Solde d'ouverture du compte\")]/ancestor::tr/td[@class=\"money\"]/span", - "targets": [], - "value": "1 234,56" - }, { - "id": "a14bcadd-4a33-4d73-8e63-97f49c316847", - "comment": "Report solde", - "command": "assertText", - "target": "xpath=//th[contains(text(), \"Report du résultat\")]/ancestor::tr/td[@class=\"money\"]/span", - "targets": [], - "value": "987,65" - }] - }, { - "id": "5a23a860-bc10-46d8-9f98-177430d4e04a", - "name": "zz forEach", - "commands": [{ - "id": "3318aa15-f121-455e-ae74-48b29b962a98", - "comment": "", - "command": "executeScript", - "target": "return [\"apples\", \"bananas\", \"oranges\"]", - "targets": [], - "value": "lesfruits" - }, { - "id": "2e51a45d-279d-46d9-a785-511cf4fdfc87", - "comment": "", - "command": "executeScript", - "target": "return ${lesfruits}.concat(\"kiwi\")", - "targets": [], - "value": "lesfruits" - }, { - "id": "3bff9bd0-1277-4571-8fa3-930a10a2014f", - "comment": "", - "command": "forEach", - "target": "lesfruits", - "targets": [], - "value": "elem" - }, { - "id": "8c86557b-dbee-4a7c-befa-e7333efe707d", - "comment": "", - "command": "echo", - "target": "${elem}", - "targets": [], - "value": "" - }, { - "id": "a5753ade-9e60-42a5-9db9-5e6f218d6955", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "8422a64d-a929-4046-a2ea-127560fcfda3", - "comment": "", - "command": "forEach", - "target": "lesfruits", - "targets": [], - "value": "elem" - }, { - "id": "758c316c-033b-403d-a8b7-801b62d28ad0", - "comment": "", - "command": "echo", - "target": "${elem}", - "targets": [], - "value": "" - }, { - "id": "1d95e558-61fa-4818-ae51-8de0d7b6034f", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "2cd723fd-5c3b-4573-9f2d-581b0189a93a", - "comment": "", - "command": "executeScript", - "target": " return [{nom:\"Angela\",age:\"55\"},{nom:\"Linda\",age:\"50\"}]", - "targets": [], - "value": " MyArray" - }, { - "id": "47ec3303-ffc7-4de2-9cd8-19f53ab1ec8c", - "comment": "", - "command": "forEach", - "target": " MyArray", - "targets": [], - "value": " it" - }, { - "id": "595770f5-5710-4241-b11a-4c1f18080d91", - "comment": "", - "command": "echo", - "target": "nom = ${it.nom}, age = ${it.age}", - "targets": [], - "value": "" - }, { - "id": "630bc138-835a-48ec-b176-83cc9d73e24f", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }] - }, { - "id": "7760e4cc-0406-4a07-85aa-96a62e5140a1", - "name": "zz créer membre avec objet", - "commands": [{ - "id": "9ae96632-9e60-417e-afac-5daebc61e2ba", - "comment": "", - "command": "open", - "target": "http://testpaheko.local.bzh/admin/", - "targets": [], - "value": "" - }, { - "id": "796e7045-3ea9-4f71-ba99-b4f02d0879f2", - "comment": "Vérifier si déjà connecté", - "command": "storeXpathCount", - "target": "xpath=//button[@name='login']", - "targets": [], - "value": "connecte" - }, { - "id": "49ab5dfa-0d00-4535-9f47-e4f0ff9feecd", - "comment": "", - "command": "if", - "target": "${connecte} > 0", - "targets": [], - "value": "" - }, { - "id": "22de4c24-4997-4cf6-977f-e917066f6720", - "comment": "identifiant", - "command": "type", - "target": "id=f_id", - "targets": [], - "value": "jckix@free.fr" - }, { - "id": "9ec5c1c4-543e-477a-b1ac-a02554cf08cf", - "comment": "mot de passe", - "command": "type", - "target": "id=f_password", - "targets": [], - "value": "interpeller noircir colis allumer" - }, { - "id": "0bde71dd-68eb-4060-8790-5c6c45e82958", - "comment": "Connexion", - "command": "click", - "target": "name=login", - "targets": [], - "value": "" - }, { - "id": "e500c640-2f39-4daa-84f4-ff5b73a7b109", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "8bd7373e-2ee2-4d69-80ea-6c6918637969", - "comment": "", - "command": "setWindowSize", - "target": "1080x1020", - "targets": [], - "value": "" - }, { - "id": "637e341c-206e-4b27-baaa-3b375e31402d", - "comment": "", - "command": "executeScript", - "target": "return [{cat:\"Membres actifs\",nom:\"Membre 2\",courriel:\"membre2@ici.fr\",pays:\"France\",adresse:\"2 rue des arbres\",cp:\"22222\",ville:\"Dreux\",tel:\"2222222222\",lettre:false,date:\"02/02/2022\"}, {cat:\"Anciens membres\",nom:\"Membre 3\",courriel:\"membre3@ici.fr\",pays:\"Cuba\",adresse:\"3 rue des arbres\",cp:\"33333\",ville:\"Troyes\",tel:\"3333333333\",lettre:true,date:\"03/03/2023\"}]", - "targets": [], - "value": "nouveaux_membres" - }, { - "id": "28416457-2dca-40e1-861e-f91ee6ec0c35", - "comment": "", - "command": "forEach", - "target": "nouveaux_membres", - "targets": [], - "value": "membre" - }, { - "id": "270abd94-4839-49e1-9acd-f21c334cb819", - "comment": "Membres/Ajouter", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/users/new.php')]", - "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": "6ed96765-f747-4725-abbb-a9acbd428701", - "comment": "Catégorie de membre", - "command": "click", - "target": "id=f_id_category", - "targets": [ - ["id=f_id_category", "id"], - ["name=id_category", "name"], - ["css=#f_id_category", "css:finder"], - ["xpath=//select[@id='f_id_category']", "xpath:attributes"], - ["xpath=//select", "xpath:position"] - ], - "value": "" - }, { - "id": "3c2009f4-0e27-4d98-81a7-d65b7027c2c1", - "comment": "Membres actifs", - "command": "click", - "target": "xpath=//select[@id=\"f_id_category\"]/option[contains(text(), \"${membre.cat}\")]", - "targets": [ - ["css=#f_id_category > option:nth-child(3)", "css:finder"], - ["xpath=//option[@value='1']", "xpath:attributes"], - ["xpath=//select[@id='f_id_category']/option[3]", "xpath:idRelative"], - ["xpath=//option[3]", "xpath:position"], - ["xpath=//option[contains(.,'Membres actifs')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "2f67cd07-4d8c-49a7-bf83-9cb505eee1d7", - "comment": "Mémoriser numéro de membre", - "command": "storeValue", - "target": "id=f_numero", - "targets": [], - "value": "numero" - }, { - "id": "d3a94597-57ce-40d1-b87f-6bbe546f78e0", - "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": "${membre.nom}" - }, { - "id": "f8ab5f14-dce3-4d8e-8742-15d4dfab7857", - "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": "${membre.courriel}" - }, { - "id": "b5550445-7e0b-4d7a-8373-0b0d5981d474", - "comment": "", - "command": "click", - "target": "id=f_pays", - "targets": [ - ["id=f_pays", "id"], - ["name=pays", "name"], - ["css=#f_pays", "css:finder"], - ["xpath=//select[@id='f_pays']", "xpath:attributes"], - ["xpath=//dd[6]/select", "xpath:position"] - ], - "value": "" - }, { - "id": "ab80d92e-8ca0-43d3-bec4-cd4993af142c", - "comment": "", - "command": "click", - "target": "xpath=//select[@id=\"f_pays\"]/option[contains(text(), \"${membre.pays}\")]", - "targets": [ - ["css=option:nth-child(69)", "css:finder"], - ["xpath=//option[@value='FR']", "xpath:attributes"], - ["xpath=//select[@id='f_pays']/option[69]", "xpath:idRelative"], - ["xpath=//option[69]", "xpath:position"], - ["xpath=//option[contains(.,'France')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "1a176392-0f78-4108-8bba-1f5c12bbfbaf", - "comment": "", - "command": "type", - "target": "id=f_adresse", - "targets": [ - ["id=f_adresse", "id"], - ["name=adresse", "name"], - ["css=#f_adresse", "css:finder"], - ["xpath=//textarea[@id='f_adresse']", "xpath:attributes"], - ["xpath=//textarea", "xpath:position"] - ], - "value": "${membre.adresse}" - }, { - "id": "f36604c2-fb06-4764-b6a8-713e27b7bcaf", - "comment": "", - "command": "type", - "target": "id=f_code_postal", - "targets": [ - ["id=f_code_postal", "id"], - ["name=code_postal", "name"], - ["css=#f_code_postal", "css:finder"], - ["xpath=//input[@id='f_code_postal']", "xpath:attributes"], - ["xpath=//dd[9]/input", "xpath:position"] - ], - "value": "${membre.cp}" - }, { - "id": "4841809c-cbfd-4a43-a723-ac824e8dbd59", - "comment": "", - "command": "type", - "target": "id=f_ville", - "targets": [ - ["id=f_ville", "id"], - ["name=ville", "name"], - ["css=#f_ville", "css:finder"], - ["xpath=//input[@id='f_ville']", "xpath:attributes"], - ["xpath=//dd[10]/input", "xpath:position"] - ], - "value": "${membre.ville}" - }, { - "id": "6295ffe0-806b-4936-aa28-7dd5b65ea891", - "comment": "", - "command": "type", - "target": "id=f_telephone", - "targets": [ - ["id=f_telephone", "id"], - ["name=telephone", "name"], - ["css=#f_telephone", "css:finder"], - ["xpath=//input[@id='f_telephone']", "xpath:attributes"], - ["xpath=//dd[11]/input", "xpath:position"] - ], - "value": "${membre.tel}" - }, { - "id": "b59b6a64-cb70-4f71-bf9e-10dc1b429376", - "comment": "", - "command": "if", - "target": "${membre.lettre}", - "targets": [], - "value": "" - }, { - "id": "f262f731-24ae-44e5-baf7-a4a30b439669", - "comment": "", - "command": "click", - "target": "id=f_lettre_infos_1", - "targets": [], - "value": "" - }, { - "id": "9e0c8942-a50b-4ea2-86f4-c0d4b128b475", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "eee7d99e-7755-4700-93a0-fac29e9def41", - "comment": "", - "command": "type", - "target": "id=f_date_inscription", - "targets": [ - ["id=f_date_inscription", "id"], - ["name=date_inscription", "name"], - ["css=#f_date_inscription", "css:finder"], - ["xpath=//input[@id='f_date_inscription']", "xpath:attributes"], - ["xpath=//dd[13]/input", "xpath:position"] - ], - "value": "${membre.date}" - }, { - "id": "17d8fa15-0c2b-4ce9-910f-8898b60a9ded", - "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": "4f019f96-f3b9-4f50-85a0-f373b2951675", - "comment": "", - "command": "", - "target": "", - "targets": [], - "value": "" - }, { - "id": "9a8423c6-4584-4cad-9d68-76696e870d50", - "comment": "Vérif numéro membre", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Numéro de membre')]/following-sibling::dd", - "targets": [], - "value": "${numero}" - }, { - "id": "e297bc71-5e05-4783-a72a-567214ed4c5d", - "comment": "Vérif nom", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Nom & prénom')]/following-sibling::dd", - "targets": [], - "value": "${membre.nom}" - }, { - "id": "bd6a2cd6-439c-4fcf-8604-334212d5f337", - "comment": "Vérif courriel", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Adresse E-Mail')]/following-sibling::dd/a", - "targets": [], - "value": "${membre.courriel}" - }, { - "id": "090e0694-2583-40e5-a212-99c2fcbc1936", - "comment": "Vérif pays", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Pays')]/following-sibling::dd", - "targets": [], - "value": "${membre.pays}" - }, { - "id": "8b25a689-f6a0-487d-aaad-b7a178fae59c", - "comment": "Vérif adresse", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Adresse postale')]/following-sibling::dd", - "targets": [], - "value": "${membre.adresse}" - }, { - "id": "47b574a0-c407-47df-b477-ca8884488140", - "comment": "Vérif CP", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Code postal')]/following-sibling::dd", - "targets": [], - "value": "${membre.cp}" - }, { - "id": "9a9c0162-429d-40f1-90c4-043896edc7b9", - "comment": "Vérif ville", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Ville')]/following-sibling::dd", - "targets": [], - "value": "${membre.ville}" - }, { - "id": "d701bde6-512b-4232-84ac-e58788951f31", - "comment": "Vérif téléphone", - "command": "assertText", - "target": "xpath=//dt[contains(.,'Numéro de téléphone')]/following-sibling::dd/a", - "targets": [], - "value": "${membre.tel}" - }, { - "id": "740fc36e-b875-449f-9a02-b8cb4ba5b4df", - "comment": "", - "command": "if", - "target": "${membre.lettre}", - "targets": [], - "value": "" - }, { - "id": "be8f66e8-9b2f-4680-8628-5f9687c8ad49", - "comment": "inscription lettre : oui", - "command": "assertText", - "target": "xpath=//dt[contains(text(), 'lettre')]/following-sibling::dd", - "targets": [], - "value": "Oui" - }, { - "id": "9f785ea8-f2ef-4d84-91ce-00526e8a8a45", - "comment": "", - "command": "else", - "target": "", - "targets": [], - "value": "" - }, { - "id": "faf7bbc4-3236-4fa4-a23d-5a40534b0507", - "comment": "inscription lettre : non", - "command": "assertText", - "target": "xpath=//dt[contains(text(), 'lettre')]/following-sibling::dd", - "targets": [], - "value": "Non" - }, { - "id": "5f45a447-72ed-4357-93b7-fec22ad42b51", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "68cfba7c-a406-42d0-8950-f724b4e61d1a", - "comment": "Vérif date inscription", - "command": "assertText", - "target": "xpath=//dt[contains(.,\"Date d'inscription\")]/following-sibling::dd", - "targets": [], - "value": "${membre.date}" - }, { - "id": "8e0f5dba-777b-413c-bc44-e0abee21cc2a", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }] - }, { - "id": "fd7a4ceb-9488-492b-8c6c-790258956c77", - "name": "zz times", - "commands": [{ - "id": "247a3df9-a29d-4af7-b577-9864bbae16c7", - "comment": "", - "command": "open", - "target": "http://testpaheko.local.bzh/admin", - "targets": [], - "value": "" - }, { - "id": "6e94e99e-4f3b-4390-9884-42578b965f75", - "comment": "Vérifier si déjà connecté", - "command": "storeXpathCount", - "target": "xpath=//button[@name='login']", - "targets": [], - "value": "connecte" - }, { - "id": "280aba6f-045f-4cbd-9e7e-ee049c88d802", - "comment": "", - "command": "if", - "target": "${connecte} > 0", - "targets": [], - "value": "" - }, { - "id": "7fa9b7d2-5efd-40d7-8b8f-5dd9ab2b2d95", - "comment": "identifiant", - "command": "type", - "target": "id=f_id", - "targets": [], - "value": "jckix@free.fr" - }, { - "id": "6f2735d6-e975-44e9-9708-83f2a2e18c18", - "comment": "mot de passe", - "command": "type", - "target": "id=f_password", - "targets": [], - "value": "interpeller noircir colis allumer" - }, { - "id": "1b597673-2be8-4d45-9316-d22a462efde2", - "comment": "Connexion", - "command": "click", - "target": "name=login", - "targets": [], - "value": "" - }, { - "id": "6f5b023b-5380-4338-b700-7890b1f7c58c", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "6c56ae48-1a03-41d7-bb0d-5a4b892432db", - "comment": "", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/users')]", - "targets": [], - "value": "" - }, { - "id": "3b28e5e3-7043-4966-b2f0-da769fc8b41c", - "comment": "", - "command": "storeXpathCount", - "target": "xpath=//table[@class=\"list\"]/tbody/tr/th//span", - "targets": [], - "value": "nb" - }, { - "id": "8560cbee-7821-4dd0-bdb6-160711fe50e0", - "comment": "", - "command": "echo", - "target": "${nb}", - "targets": [], - "value": "" - }, { - "id": "dc6eb719-3153-4c1f-973b-0ab117a28073", - "comment": "", - "command": "executeScript", - "target": "return 1", - "targets": [], - "value": "i" - }, { - "id": "7c1c50dc-8653-42b9-9ade-a9ab58526d13", - "comment": "", - "command": "while", - "target": "${i} <= ${nb}", - "targets": [], - "value": "" - }, { - "id": "be17dca4-bbdb-4021-af76-3f76dcff50b5", - "comment": "", - "command": "storeText", - "target": "xpath=//table[@class=\"list\"]/tbody/tr[${i}]/th//span", - "targets": [], - "value": "elem" - }, { - "id": "46574204-c241-41de-8018-a7e71fea66d9", - "comment": "", - "command": "echo", - "target": "${elem}", - "targets": [], - "value": "" - }, { - "id": "5c22cb4c-0336-4e96-afb2-fc85d368449a", - "comment": "", - "command": "executeScript", - "target": "return ${i} + 1", - "targets": [], - "value": "i" - }, { - "id": "cf66b28a-82e1-49ca-ab9e-c397bf1a1fc0", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }] }, { "id": "73154344-9dc7-43b7-beba-85d3f16cfe93", "name": "3-zz lister membres (aucun intérêt)", @@ -1913,52 +629,6 @@ "targets": [], "value": "" }] - }, { - "id": "898d7888-4934-41a8-87bd-ca835189f143", - "name": "zz vérif date", - "commands": [{ - "id": "bfaf1074-5858-40bc-9c4c-191f8c0e614c", - "comment": "", - "command": "store", - "target": "14/05/2024", - "targets": [], - "value": "ds" - }, { - "id": "e9844aa5-9613-4e58-b46a-85ae2080c9b5", - "comment": "", - "command": "echo", - "target": "${ds}", - "targets": [], - "value": "" - }, { - "id": "4c4e5413-a2d1-4381-b0ea-a19f97969b28", - "comment": "", - "command": "executeScript", - "target": "return ${ds}.split('/')", - "targets": [], - "value": "ts" - }, { - "id": "3aac3a16-4b6f-4bfa-a54a-cac47ae8e947", - "comment": "", - "command": "executeScript", - "target": "return ${ts}[1] + '-' + ${ts}[0] +'-' + ${ts}[2]", - "targets": [], - "value": "dd" - }, { - "id": "a0e86c3e-e4f8-4a0b-929c-65cade8223d2", - "comment": "", - "command": "executeScript", - "target": "return ! isNaN(Date.parse(${dd}))", - "targets": [], - "value": "ok" - }, { - "id": "a2acfdc8-b1fe-4e26-a267-58b63fa2aaf7", - "comment": "renvoie faux si date non valide", - "command": "echo", - "target": "${ok}", - "targets": [], - "value": "" - }] }, { "id": "c36d64ef-b5db-4c15-90aa-204431553d05", "name": "2-03 connexion échec mdp", @@ -2991,24 +1661,6 @@ "targets": [], "value": "${date}" }] - }, { - "id": "95f14ce1-1f97-4fc0-97d0-14fa6d0c999d", - "name": "zz chaine", - "commands": [{ - "id": "109bee2a-7f09-4048-90b4-19f065f1fa41", - "comment": "", - "command": "executeScript", - "target": "const chaine = (length) => { let chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; let str = ''; for (let i = 0; i < length; i++) { str += chars.charAt(Math.floor(Math.random() * chars.length)); } return str; }; return chaine(30)", - "targets": [], - "value": "chaine" - }, { - "id": "7ef39d6e-24fe-4292-91bb-4de2832d6136", - "comment": "", - "command": "echo", - "target": "${chaine}", - "targets": [], - "value": "" - }] }, { "id": "a10913d7-dd6d-4c13-9bda-6293705343f8", "name": "3-02 créer membre Cuba", @@ -8047,7 +6699,7 @@ "value": "" }, { "id": "791c5ccd-c132-4ad8-bf74-5c3e14613d9b", - "comment": "", + "comment": "fin de page ?", "command": "if", "target": "${num} > ${nb_membres_page}", "targets": [], @@ -8660,224 +7312,6 @@ "targets": [], "value": "dp" }] - }, { - "id": "bcbb872f-d4fc-4702-b518-5cd1a8bdb3f5", - "name": "zz catégories", - "commands": [{ - "id": "fa8789bf-470f-4498-b3fe-6f978a5472c7", - "comment": "", - "command": "open", - "target": "http://testpaheko.local.bzh/admin/", - "targets": [], - "value": "" - }, { - "id": "f8bfb545-3b49-49b0-a31a-390fb7b33691", - "comment": "Vérifier si déjà connecté", - "command": "storeXpathCount", - "target": "xpath=//button[@name='login']", - "targets": [], - "value": "connecte" - }, { - "id": "6129ccad-5589-4ab0-870e-e423f3998b48", - "comment": "", - "command": "if", - "target": "${connecte} > 0", - "targets": [], - "value": "" - }, { - "id": "9f0dac3a-794c-457d-a8ae-c539195c2802", - "comment": "identifiant", - "command": "type", - "target": "id=f_id", - "targets": [], - "value": "jckix@free.fr" - }, { - "id": "0d6cdb84-d098-426c-9c46-e43ce6fb9f93", - "comment": "mot de passe", - "command": "type", - "target": "id=f_password", - "targets": [], - "value": "interpeller noircir colis allumer" - }, { - "id": "c6f968ea-b4a7-4b89-b221-84376e54c70b", - "comment": "Connexion", - "command": "click", - "target": "name=login", - "targets": [], - "value": "" - }, { - "id": "2fa96082-af26-4480-b1e1-51e229167d67", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "d9e867d3-a463-4e64-9e43-d945cf68d91a", - "comment": "", - "command": "setWindowSize", - "target": "1000x1019", - "targets": [], - "value": "" - }, { - "id": "66d74a62-d622-4ec0-a4cb-7c7fd506b407", - "comment": "", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/users')]", - "targets": [ - ["css=li:nth-child(2) b", "css:finder"], - ["xpath=//li[2]/h3/a/b", "xpath:position"], - ["xpath=//b[contains(.,'Membres')]", "xpath:innerText"] - ], - "value": "" - }, { - "id": "4a79191e-c4c8-4a92-b797-7d7722e1d736", - "comment": "", - "command": "click", - "target": "xpath=//a[contains(@href, '/admin/users/new.php')]", - "targets": [ - ["linkText=Ajouter", "linkText"], - ["css=.current 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": "4b641991-eedb-4176-a37c-4d0a85e5045f", - "comment": "", - "command": "executeScript", - "target": "return []", - "targets": [], - "value": "categories_alpha" - }, { - "id": "c0450afd-3299-485e-9eb3-b2ab85daf1f3", - "comment": "", - "command": "executeScript", - "target": "return []", - "targets": [], - "value": "numeros_alpha" - }, { - "id": "98e08f06-67b8-4f1c-8239-6a54d0234c95", - "comment": "", - "command": "storeXpathCount", - "target": "xpath=//select[@id=\"f_id_category\"]/option", - "targets": [], - "value": "nb_categories" - }, { - "id": "d2d05a94-f4ee-4de3-ac47-214cf2e41523", - "comment": "", - "command": "executeScript", - "target": "return 1", - "targets": [], - "value": "i" - }, { - "id": "b4271895-cd39-4736-98df-68305fb123e9", - "comment": "", - "command": "while", - "target": "${i} <= ${nb_categories}", - "targets": [], - "value": "" - }, { - "id": "6ab6904a-8b83-4148-bcc9-33eb807aa5c4", - "comment": "", - "command": "storeText", - "target": "xpath=//select[@id=\"f_id_category\"]/option[${i}]", - "targets": [], - "value": "cat" - }, { - "id": "a6a239ef-4432-4b90-b6da-ef5b46592333", - "comment": "", - "command": "executeScript", - "target": "return ${categories_alpha}.concat(${cat})", - "targets": [], - "value": "categories_alpha" - }, { - "id": "a69be34d-71c0-436e-9d54-ff18fbef103c", - "comment": "", - "command": "storeAttribute", - "target": "xpath=//select[@id=\"f_id_category\"]/option[${i}]@value", - "targets": [], - "value": "num_cat" - }, { - "id": "751aae9c-fcc4-44c7-a049-884963981c29", - "comment": "", - "command": "executeScript", - "target": "return ${numeros_alpha}.concat(${num_cat})", - "targets": [], - "value": "numeros_alpha" - }, { - "id": "335345c1-50ec-49c3-9a31-f8dbd38bed78", - "comment": "", - "command": "echo", - "target": "${num_cat} : ${cat}", - "targets": [], - "value": "" - }, { - "id": "9d6293a8-63bc-48b7-8808-2aac0f347a34", - "comment": "", - "command": "executeScript", - "target": "return ${i} + 1", - "targets": [], - "value": "i" - }, { - "id": "e2283ec0-00fd-4c07-987d-ec96032df8fa", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "00db03e5-1e51-4a28-bfaf-06e1eac26a43", - "comment": "Trier les catégories par numéro", - "command": "executeScript", - "target": "let tab = []; for (let i = 0; i < ${numeros_alpha}.length; ++i) { let o = Object(); o.num=${numeros_alpha}[i]; o.cat=${categories_alpha}[i]; tab.push(o);} ; tab.sort((a, b) => { return a.num - b.num; }); let categs = []; tab.forEach((e) => { categs.push(e.cat); }); return categs;", - "targets": [], - "value": "categories_num" - }, { - "id": "a7fd532c-fb17-4042-b101-8ea51aaba965", - "comment": "", - "command": "executeScript", - "target": "return 0", - "targets": [], - "value": "i" - }, { - "id": "3e85589e-6011-4f7b-9046-79a0163caec9", - "comment": "", - "command": "while", - "target": "${i} < ${nb_categories}", - "targets": [], - "value": "" - }, { - "id": "5e909f07-e8f9-4199-9a82-51048300f5b2", - "comment": "", - "command": "executeScript", - "target": "return ${categories_num}.at(${i})", - "targets": [], - "value": "categorie" - }, { - "id": "9db7adab-7a4e-403e-bd3b-4837e28aab34", - "comment": "", - "command": "executeScript", - "target": "return ${i} + 1", - "targets": [], - "value": "i" - }, { - "id": "61d7a3d8-4e33-427c-9289-fffffc2bfb1c", - "comment": "", - "command": "echo", - "target": "${i} : ${categorie}", - "targets": [], - "value": "" - }, { - "id": "385ca0c6-9f1e-47b8-93d0-ddf8c81fb06c", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }] }, { "id": "573e0c0d-763b-4403-9b0a-4685604cabdb", "name": "4-02 lister membres sauf catégories cachées", @@ -10009,20 +8443,6 @@ "parallel": false, "timeout": 300, "tests": ["efad291c-7700-4c1d-a0c7-393264364aa1", "9ce868ad-3dac-4107-af91-50101a81fec0", "a10913d7-dd6d-4c13-9bda-6293705343f8", "542187b1-45cd-4f09-bad6-b1220fbfc754", "efb8a434-ee82-48e0-a770-d4a668e28eec", "71fe09f0-51bb-4d2f-8c66-91ec5e235105", "895513b5-888a-4ea2-8036-5a97569cd6df", "20360774-e683-425b-a9b9-350dc0fb6ef3", "91ad3d23-dd66-4084-beeb-ea89ec4bfabc", "c05cb267-660d-46ab-8fe9-a7e042aa9c8f", "a6af2537-7860-43b2-92b6-1a93bb173a6c", "155a53f2-766f-4748-b11f-722b520df2eb", "4369d68b-3e2c-470e-b2b1-5a0825c35aa0", "077fea95-219b-4ab2-a10d-800ec7f39fb1"] - }, { - "id": "76296e16-66cd-4d62-b008-776e204271fe", - "name": "xx Attente", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["d33d67f7-28a1-470b-a59a-d7329a6dc09d", "89d56a6e-79b3-40e4-984e-0f7a92f2a83b"] - }, { - "id": "b5ce327c-a788-4e0c-98c5-af0ba1994c90", - "name": "zz essais", - "persistSession": false, - "parallel": false, - "timeout": 300, - "tests": ["5a23a860-bc10-46d8-9f98-177430d4e04a", "fd7a4ceb-9488-492b-8c6c-790258956c77", "898d7888-4934-41a8-87bd-ca835189f143", "89d56a6e-79b3-40e4-984e-0f7a92f2a83b", "7760e4cc-0406-4a07-85aa-96a62e5140a1", "95f14ce1-1f97-4fc0-97d0-14fa6d0c999d"] }, { "id": "d35b71cd-b332-4210-ad59-1a0742386aac", "name": "2 Connexion",