4-09 simplification test : suppression tri initial inutile
This commit is contained in:
parent
da25d62034
commit
11951af9c1
77
paheko.side
77
paheko.side
@ -13659,83 +13659,6 @@
|
||||
"target": "return 0",
|
||||
"targets": [],
|
||||
"value": "nb_parents"
|
||||
}, {
|
||||
"id": "90c21bbf-afb5-41c6-9c14-391f75d5c273",
|
||||
"comment": "Trier par numéro",
|
||||
"command": "click",
|
||||
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "8d4e25fc-23a5-444b-af85-75fb97772bd5",
|
||||
"comment": "inverser le tri s'il est en ordre décroissant",
|
||||
"command": "",
|
||||
"target": "",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "81e67816-0d73-45c8-aa53-da6af15ed388",
|
||||
"comment": "au moins 2 membres",
|
||||
"command": "if",
|
||||
"target": "${nb_total_membres} >= 2",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "c887b332-8260-4175-9ffa-fcc2a475dbe4",
|
||||
"comment": "premier numéro",
|
||||
"command": "storeText",
|
||||
"target": "xpath=//table[@class=\"list\"]/tbody/tr[1]/td[@class=\"num\"]//span",
|
||||
"targets": [],
|
||||
"value": "numaff1"
|
||||
}, {
|
||||
"id": "f31da559-039e-4588-b788-5f543746c0e6",
|
||||
"comment": "",
|
||||
"command": "executeScript",
|
||||
"target": "return Number(${numaff1})",
|
||||
"targets": [],
|
||||
"value": "numero1"
|
||||
}, {
|
||||
"id": "04c547fa-dfa9-4343-87a9-5e0dde102660",
|
||||
"comment": "deuxième numéro",
|
||||
"command": "storeText",
|
||||
"target": "xpath=//table[@class=\"list\"]/tbody/tr[2]/td[@class=\"num\"]//span",
|
||||
"targets": [],
|
||||
"value": "numaff2"
|
||||
}, {
|
||||
"id": "3ad13c27-9211-4d43-b101-c4fa32468195",
|
||||
"comment": "",
|
||||
"command": "executeScript",
|
||||
"target": "return Number(${numaff2})",
|
||||
"targets": [],
|
||||
"value": "numero2"
|
||||
}, {
|
||||
"id": "b7f0294e-244f-4c9b-bd1e-20b83a3910db",
|
||||
"comment": "",
|
||||
"command": "if",
|
||||
"target": "${numero1} > ${numero2}",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "3738f1e3-063b-411b-b23c-ceba0113b18a",
|
||||
"comment": "Inverser le sens de tri",
|
||||
"command": "click",
|
||||
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href, \"number\")]",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "6c91db7f-827d-4e02-a561-1c850e24a5b4",
|
||||
"comment": "",
|
||||
"command": "end",
|
||||
"target": "",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "39449d5c-dc38-47f2-9556-5326f74934ab",
|
||||
"comment": "",
|
||||
"command": "end",
|
||||
"target": "",
|
||||
"targets": [],
|
||||
"value": ""
|
||||
}, {
|
||||
"id": "0e0436e3-de81-40d2-bd21-2fe0ed884f9e",
|
||||
"comment": "Nombre de membres sur la page",
|
||||
|
Loading…
Reference in New Issue
Block a user