From 4e0d5e82315866ff2650c49b3f621a5026cb6171 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 10 Jun 2024 14:41:28 +0200 Subject: [PATCH] 4-04 simplification test : suppression tri initial inutile --- paheko.side | 77 ----------------------------------------------------- 1 file changed, 77 deletions(-) diff --git a/paheko.side b/paheko.side index 8700167..11120b1 100644 --- a/paheko.side +++ b/paheko.side @@ -9083,83 +9083,6 @@ "target": "xpath=//a[contains(., \"Toutes, même cachées\")]", "targets": [], "value": "" - }, { - "id": "d3f76be5-24d2-44b9-a2f1-4df523f0518b", - "comment": "Trier par numéro", - "command": "click", - "target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]", - "targets": [], - "value": "" - }, { - "id": "05674758-e12d-470f-8f6e-9f64474be287", - "comment": "inverser le tri s'il est en ordre décroissant", - "command": "", - "target": "", - "targets": [], - "value": "" - }, { - "id": "c83e0b1f-2905-4d9b-801a-910a102b9a26", - "comment": "au moins 2 membres", - "command": "if", - "target": "${nb_total_membres} >= 2", - "targets": [], - "value": "" - }, { - "id": "0167c208-055e-465c-bb77-fd24fd6d3e15", - "comment": "premier numéro", - "command": "storeText", - "target": "xpath=//table[@class=\"list\"]/tbody/tr[1]/td[@class=\"num\"]//span", - "targets": [], - "value": "numaff1" - }, { - "id": "4c0734c8-ab66-48ff-9ec5-cdbbfa63188f", - "comment": "", - "command": "executeScript", - "target": "return Number(${numaff1})", - "targets": [], - "value": "numero1" - }, { - "id": "10873a35-d125-465f-947f-6bb3048626cf", - "comment": "deuxième numéro", - "command": "storeText", - "target": "xpath=//table[@class=\"list\"]/tbody/tr[2]/td[@class=\"num\"]//span", - "targets": [], - "value": "numaff2" - }, { - "id": "c554483c-0e35-4205-89eb-24b4c56b5345", - "comment": "", - "command": "executeScript", - "target": "return Number(${numaff2})", - "targets": [], - "value": "numero2" - }, { - "id": "700a53cb-a9bc-4cc0-ab25-e013f6d08ce2", - "comment": "", - "command": "if", - "target": "${numero1} > ${numero2}", - "targets": [], - "value": "" - }, { - "id": "b7edaa53-da41-48c1-b55e-e0914991ebad", - "comment": "Inverser le sens de tri", - "command": "click", - "target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]", - "targets": [], - "value": "" - }, { - "id": "d3618994-c650-4ee7-9eac-fcfc27c9b5c3", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" - }, { - "id": "4de276df-e05c-4860-8943-7087c7c3bb64", - "comment": "", - "command": "end", - "target": "", - "targets": [], - "value": "" }, { "id": "b6ca1c3c-a512-4fd2-8ab8-b5d9fc4ce4e5", "comment": "Nombre de membres sur la page",