4-07 simplification test : suppression tri initial inutile

This commit is contained in:
Jean-Christophe Engel 2024-06-10 14:52:37 +02:00
parent e128a0737a
commit 1e7e597d27

View File

@ -11305,83 +11305,6 @@
"target": "xpath=//a[contains(., \"Toutes, même cachées\")]",
"targets": [],
"value": ""
}, {
"id": "c0f8cf0d-0f91-4470-82a0-f2a00b366cb9",
"comment": "Trier par numéro",
"command": "click",
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
"targets": [],
"value": ""
}, {
"id": "197af6ce-db7a-4fb4-9a2b-d4747734b753",
"comment": "inverser le tri s'il est en ordre décroissant",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "66976ee6-4078-4d7c-96ff-ce6522d7b427",
"comment": "au moins 2 membres",
"command": "if",
"target": "${nb_total_membres} >= 2",
"targets": [],
"value": ""
}, {
"id": "908958a3-208e-4825-ada0-579488046bbb",
"comment": "premier numéro",
"command": "storeText",
"target": "xpath=//table[@class=\"list\"]/tbody/tr[1]/td[@class=\"num\"]//span",
"targets": [],
"value": "numaff1"
}, {
"id": "68cbe008-7987-420a-ab12-8623de1b67db",
"comment": "",
"command": "executeScript",
"target": "return Number(${numaff1})",
"targets": [],
"value": "numero1"
}, {
"id": "25818f8d-d1bb-4e3a-b930-b2ce60e2fce0",
"comment": "deuxième numéro",
"command": "storeText",
"target": "xpath=//table[@class=\"list\"]/tbody/tr[2]/td[@class=\"num\"]//span",
"targets": [],
"value": "numaff2"
}, {
"id": "c86e2971-4c34-49b1-a135-b4042150463c",
"comment": "",
"command": "executeScript",
"target": "return Number(${numaff2})",
"targets": [],
"value": "numero2"
}, {
"id": "63c32646-6ff9-4318-b1be-ccf639c2fa70",
"comment": "",
"command": "if",
"target": "${numero1} > ${numero2}",
"targets": [],
"value": ""
}, {
"id": "f0ebbbaf-a870-47f3-a2c2-656572c72223",
"comment": "Inverser le sens de tri",
"command": "click",
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
"targets": [],
"value": ""
}, {
"id": "931ede9f-54ca-42dc-b9b0-d4a2f7ef5fb8",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "297c0501-acdf-44a6-b46c-110a5fc10707",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "7c2dee7e-f26a-4a24-9c70-8f0d53b88746",
"comment": "Nombre de membres sur la page",