test(nexxa): recorridos de nexxa-web versionados para gemma nexxa ui:probar (P335/F16)
Tests ADN / test (push) Canceled after 0s
Tests ADN / test (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: GEMMA <noreply@gemma.dtic>
This commit is contained in:
co-authored by
Claude Opus 5.5
GEMMA
parent
351ad40220
commit
4df538283f
@@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"nombre": "Pools: editar con casillas, guardar y mover entre mente y red",
|
||||||
|
"acciones": [
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": "button[data-section=pools]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar_selector",
|
||||||
|
"selector": ".pool-card"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"codigo": "document.querySelector('.pool-card[data-individuo=gemma-prueba] .pool-col[data-rol=mente]').querySelector('[data-action=pool-editar]').click(); return 'editor'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"codigo": "var c=document.querySelector('.pool-card[data-individuo=gemma-prueba] .pool-col[data-rol=mente]'); ['gemini/g-01','gemini/g-02','deepseek/d-01'].forEach(function(v){c.querySelector('input[value=\"'+v+'\"]').checked=true}); c.querySelector('[data-action=pool-guardar]').click(); return 'guardado'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 1.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"codigo": "document.querySelector('.pool-card[data-individuo=gemma-prueba] .pool-col[data-rol=mente]').querySelector('.pool-key[data-identificador=d-01] [data-action=pool-mover]').click(); return 'movida'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 1.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "^mente: g-01,g-02 \\| red: d-01$",
|
||||||
|
"codigo": "return Array.from(document.querySelectorAll('.pool-card[data-individuo=gemma-prueba] .pool-col')).map(function(c){return c.dataset.rol+': '+Array.from(c.querySelectorAll('.pool-key')).map(function(k){return k.dataset.identificador}).join(',')}).join(' | ')"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"nombre": "APIs con chips de pools, alta con pool, Individuos con resumen y Dashboard",
|
||||||
|
"acciones": [
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": "button[data-section=apis]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "^[1-9]\\d* chips; [1-9]\\d* opciones$",
|
||||||
|
"codigo": "return document.querySelectorAll('#groups .pool-chip').length + ' chips; ' + document.getElementById('f-pool').options.length + ' opciones'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": "button[data-section=nodos]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "gemma-prueba: .*Mente 2/2 disponibles.*Red 1/1",
|
||||||
|
"codigo": "return Array.from(document.querySelectorAll('.consumidor-card[data-individuo]')).map(function(c){return c.dataset.individuo+': '+c.querySelector('.meta').textContent}).join(' || ')"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": "button[data-section=dashboard]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "^0$",
|
||||||
|
"codigo": "return document.getElementById('stat-mente-agotada').textContent"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"nombre": "Renombrar una key desde APIs: el pool la sigue",
|
||||||
|
"acciones": [
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": "button[data-section=apis]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar_selector",
|
||||||
|
"selector": ".key-card[data-identificador=d-01] [data-action=edit]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": ".key-card[data-identificador=d-01] [data-action=edit]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar_selector",
|
||||||
|
"selector": ".ep-identificador"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"codigo": "document.querySelector('.ep-identificador').value='deepseek-uno'; document.querySelector('[data-action=save-edit]').click(); return 'guardado'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 1.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "gemma-prueba · red",
|
||||||
|
"codigo": "var k=document.querySelector('.key-card[data-identificador=deepseek-uno]'); return k ? Array.from(k.querySelectorAll('.pool-chip')).map(function(c){return c.textContent}).join(',') : 'no aparece'"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"nombre": "Producción, solo lectura: versión, pools, resumen de individuos y editor (sin guardar)",
|
||||||
|
"produccion": true,
|
||||||
|
"acciones": [
|
||||||
|
{
|
||||||
|
"tipo": "esperar",
|
||||||
|
"segundos": 1.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "^v\\d+\\.\\d+\\.\\d+$",
|
||||||
|
"codigo": "return document.getElementById('version-tag').textContent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "click",
|
||||||
|
"selector": "button[data-section=pools]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "esperar_selector",
|
||||||
|
"selector": ".pool-card"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "^[1-9]\\d* individuos, [1-9]\\d* keys$",
|
||||||
|
"codigo": "return document.querySelectorAll('.pool-card').length + ' individuos, ' + document.querySelectorAll('.pool-key').length + ' keys'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipo": "js",
|
||||||
|
"retorna": true,
|
||||||
|
"espera": "^editor [1-9]",
|
||||||
|
"codigo": "var c=document.querySelector('.pool-card .pool-col[data-rol=mente]'); c.querySelector('[data-action=pool-editar]').click(); var n=document.querySelectorAll('.pool-editor input').length; document.querySelector('[data-action=pool-cancelar]').click(); return 'editor ' + n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user