4-05 simplification test : suppression tri initial inutile

This commit is contained in:
Jean-Christophe Engel 2024-06-10 14:45:13 +02:00
parent 4e0d5e8231
commit 5a9a31e0bf

View File

@ -9819,83 +9819,6 @@
"target": "xpath=//a[contains(., \"Toutes, même cachées\")]",
"targets": [],
"value": ""
}, {
"id": "e4a97095-3dc9-4d69-a470-dceb0de22fe1",
"comment": "Trier par numéro",
"command": "click",
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
"targets": [],
"value": ""
}, {
"id": "9166037f-42d8-40aa-8cce-a35e7a566693",
"comment": "inverser le tri s'il est en ordre décroissant",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "94769e84-6327-4c09-9a5e-1196bd38458d",
"comment": "au moins 2 membres",
"command": "if",
"target": "${nb_total_membres} >= 2",
"targets": [],
"value": ""
}, {
"id": "48208288-ce7d-4665-b470-c40c232969fb",
"comment": "premier numéro",
"command": "storeText",
"target": "xpath=//table[@class=\"list\"]/tbody/tr[1]/td[@class=\"num\"]//span",
"targets": [],
"value": "numaff1"
}, {
"id": "549d5916-23b2-40bb-af82-2284b29ca657",
"comment": "",
"command": "executeScript",
"target": "return Number(${numaff1})",
"targets": [],
"value": "numero1"
}, {
"id": "f09c10be-46c5-4f3c-98b6-30a941fa010d",
"comment": "deuxième numéro",
"command": "storeText",
"target": "xpath=//table[@class=\"list\"]/tbody/tr[2]/td[@class=\"num\"]//span",
"targets": [],
"value": "numaff2"
}, {
"id": "6f00f051-4e36-42d0-9618-bb83756b96fe",
"comment": "",
"command": "executeScript",
"target": "return Number(${numaff2})",
"targets": [],
"value": "numero2"
}, {
"id": "2ff7a686-8684-49ab-b929-02b9515ebb2a",
"comment": "",
"command": "if",
"target": "${numero1} > ${numero2}",
"targets": [],
"value": ""
}, {
"id": "9798e839-02de-42d4-ab41-d4cc37bc2845",
"comment": "Inverser le sens de tri",
"command": "click",
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
"targets": [],
"value": ""
}, {
"id": "582c468d-daf6-41fe-9b8d-2d8b1d08af5d",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "405305c4-1992-415a-8990-6a5312480c05",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "744c5628-5288-4013-b3ec-4280056d2566",
"comment": "Nombre de membres sur la page",