4-06 simplification test : suppression tri initial inutile

This commit is contained in:
Jean-Christophe Engel 2024-06-10 14:48:51 +02:00
parent 5a9a31e0bf
commit e128a0737a

View File

@ -10555,83 +10555,6 @@
"target": "xpath=//a[contains(., \"Toutes, même cachées\")]",
"targets": [],
"value": ""
}, {
"id": "186c3035-e494-4003-8101-30684e294bb4",
"comment": "Trier par numéro",
"command": "click",
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
"targets": [],
"value": ""
}, {
"id": "3c8ca86a-f7ef-41a6-967f-6d8ea0890548",
"comment": "inverser le tri s'il est en ordre décroissant",
"command": "",
"target": "",
"targets": [],
"value": ""
}, {
"id": "f650c61b-f56c-4c9f-8fc2-a6316b4af7b6",
"comment": "au moins 2 membres",
"command": "if",
"target": "${nb_total_membres} >= 2",
"targets": [],
"value": ""
}, {
"id": "bedea263-c062-49ee-b251-0787245aac5d",
"comment": "premier numéro",
"command": "storeText",
"target": "xpath=//table[@class=\"list\"]/tbody/tr[1]/td[@class=\"num\"]//span",
"targets": [],
"value": "numaff1"
}, {
"id": "44798b65-a87b-4fc4-865b-f130dcd72c3a",
"comment": "",
"command": "executeScript",
"target": "return Number(${numaff1})",
"targets": [],
"value": "numero1"
}, {
"id": "ed793b90-4c1e-4f07-986c-b3a086953211",
"comment": "deuxième numéro",
"command": "storeText",
"target": "xpath=//table[@class=\"list\"]/tbody/tr[2]/td[@class=\"num\"]//span",
"targets": [],
"value": "numaff2"
}, {
"id": "2dc0a737-86cd-4baa-a83f-66bdaee69629",
"comment": "",
"command": "executeScript",
"target": "return Number(${numaff2})",
"targets": [],
"value": "numero2"
}, {
"id": "dca5228d-d920-49b8-b4c0-d50ab47448f8",
"comment": "",
"command": "if",
"target": "${numero1} > ${numero2}",
"targets": [],
"value": ""
}, {
"id": "fb5a29ef-9753-4ef2-96d6-eca7b8ece9e4",
"comment": "Inverser le sens de tri",
"command": "click",
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
"targets": [],
"value": ""
}, {
"id": "c0ceddaa-98f0-4a14-b4c5-69a720c34641",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "2011adec-f56a-4c68-b4fd-38a3d9db96d6",
"comment": "",
"command": "end",
"target": "",
"targets": [],
"value": ""
}, {
"id": "841cc2c2-f307-4ece-9826-ac74379ecab5",
"comment": "Nombre de membres sur la page",