Skip to content

Commit

Permalink
completar y corregir filtros:victimas,demografia,victimizaciones,cons…
Browse files Browse the repository at this point in the history
…olidado (#32)
  • Loading branch information
pmartinez5 authored Oct 6, 2020
1 parent 57403c7 commit f6f7076
Show file tree
Hide file tree
Showing 6 changed files with 1,286 additions and 0 deletions.
100 changes: 100 additions & 0 deletions test/sideex/sivel2-12-operador-filtro-reporte-validaciones1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>sivel2-12-operador-filtro-reporte-validaciones</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">filtro-validaciones-fecha-inicial</td></tr>
</thead>
<tbody>
<tr><td>clickAt</td><td>link=Casos<datalist><option>link=Casos</option><option>css=a.dropdown-toggle</option><option>//a[contains(text(),'Casos')]</option><option>//a[contains(@href, '#')]</option><option>//li/a</option></datalist></td><td>38,26</td>
</tr>
<tr><td>clickAt</td><td>link=Validar casos<datalist><option>link=Validar casos</option><option>//a[contains(text(),'Validar casos')]</option><option>//a[contains(@href, '/sivel2/validarcasos')]</option><option>//li[3]/a</option></datalist></td><td>83,12</td>
</tr>
<tr><td>runScript</td><td>var ya=0; var revisa=function () { const maxc=1000000; console.log(ya); c=0; while (ya == 0 &amp;&amp; c&lt;maxc &amp;&amp; ($('h1').length == 0 || $('h1').html().trim() != 'Editar Caso')) { if (c == 0) { console.log('Entro al ciclo') }; c += 1; }; if (c&lt;maxc) {ya=1;} }; revisa();<datalist><option>var ya=0; var revisa=function () { const maxc=1000000; console.log(ya); c=0; while (ya == 0 &amp;&amp; c&lt;maxc &amp;&amp; ($('h1').length == 0 || $('h1').html().trim() != 'Editar Caso')) { if (c == 0) { console.log('Entro al ciclo') }; c += 1; }; if (c&lt;maxc) {ya=1;} }; revisa();</option></datalist></td><td></td>
</tr>
<tr><td>runScript</td><td>revisa()<datalist><option>revisa()</option></datalist></td><td></td>
</tr>
<tr><td>runScript</td><td>revisa()<datalist><option>revisa()</option></datalist></td><td></td>
</tr>
<tr><td>clickAt</td><td>id=validarcaso_fechaini<datalist><option>id=validarcaso_fechaini</option><option>name=validarcaso[fechaini]</option><option>css=#validarcaso_fechaini</option><option>//input[@id='validarcaso_fechaini']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[2]/div/input</option><option>//div/input</option></datalist></td><td>80,18</td>
</tr>
<tr><td>clickAt</td><td>//div[2]/div/table/tbody/tr[5]/td<datalist><option>//div[2]/div/table/tbody/tr[5]/td</option></datalist></td><td>11,10</td>
</tr>
<tr><td>clickAt</td><td>//form[@id='new_validarcaso']/div/div[2]/div[2]<datalist><option>//form[@id='new_validarcaso']/div/div[2]/div[2]</option><option>//div[2]/div[2]</option></datalist></td><td>166,15</td>
</tr>
<tr><td>clickAt</td><td>css=div.offset-sm-0.col-sm-4<datalist><option>css=div.offset-sm-0.col-sm-4</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[2]</option><option>//div[2]/div/div[2]</option></datalist></td><td>12,20</td>
</tr>
<tr><td>clickAt</td><td>name=commit<datalist><option>name=commit</option><option>css=input[name="commit"]</option><option>//input[@name='commit']</option><option>//form[@id='new_validarcaso']/div/div[2]/div[2]/div/input</option><option>//div[2]/div/input</option></datalist></td><td>22,14</td>
</tr>
<tr><td>assertText</td><td>css=h1<datalist><option>css=h1</option><option>//h1</option></datalist></td><td>Reporte de Validaciones</td>
</tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">filtro-validaciones-fecha-final</td></tr>
</thead>
<tbody>
<tr><td>clickAt</td><td>link=Casos<datalist><option>link=Casos</option><option>css=a.dropdown-toggle</option><option>//a[contains(text(),'Casos')]</option><option>//a[contains(@href, '#')]</option><option>//li/a</option></datalist></td><td>41,23</td>
</tr>
<tr><td>clickAt</td><td>link=Validar casos<datalist><option>link=Validar casos</option><option>//a[contains(text(),'Validar casos')]</option><option>//a[contains(@href, '/sivel2/validarcasos')]</option><option>//li[3]/a</option></datalist></td><td>79,15</td>
</tr>
<tr><td>runScript</td><td>var ya=0; var revisa=function () { const maxc=1000000; console.log(ya); c=0; while (ya == 0 &amp;&amp; c&lt;maxc &amp;&amp; ($('h1').length == 0 || $('h1').html().trim() != 'Editar Caso')) { if (c == 0) { console.log('Entro al ciclo') }; c += 1; }; if (c&lt;maxc) {ya=1;} }; revisa();<datalist><option>var ya=0; var revisa=function () { const maxc=1000000; console.log(ya); c=0; while (ya == 0 &amp;&amp; c&lt;maxc &amp;&amp; ($('h1').length == 0 || $('h1').html().trim() != 'Editar Caso')) { if (c == 0) { console.log('Entro al ciclo') }; c += 1; }; if (c&lt;maxc) {ya=1;} }; revisa();</option></datalist></td><td></td>
</tr>
<tr><td>runScript</td><td>revisa()<datalist><option>revisa()</option></datalist></td><td></td>
</tr>
<tr><td>runScript</td><td>revisa()<datalist><option>revisa()</option></datalist></td><td></td>
</tr>
<tr><td>clickAt</td><td>id=validarcaso_fechafin<datalist><option>id=validarcaso_fechafin</option><option>name=validarcaso[fechafin]</option><option>css=#validarcaso_fechafin</option><option>//input[@id='validarcaso_fechafin']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[3]/div/input</option><option>//div[3]/div/input</option></datalist></td><td>83,32</td>
</tr>
<tr><td>clickAt</td><td>//div[2]/div/table/tbody/tr[6]/td[2]<datalist><option>//div[2]/div/table/tbody/tr[6]/td[2]</option></datalist></td><td>21,16</td>
</tr>
<tr><td>clickAt</td><td>name=commit<datalist><option>name=commit</option><option>css=input[name="commit"]</option><option>//input[@name='commit']</option><option>//form[@id='new_validarcaso']/div/div[2]/div[2]/div/input</option><option>//div[2]/div/input</option></datalist></td><td>39,18</td>
</tr>
<tr><td>assertText</td><td>css=h1<datalist><option>css=h1</option><option>//h1</option></datalist></td><td>Reporte de Validaciones</td>
</tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3"> filtro-validaciones-fecha-inicial-final</td></tr>
</thead>
<tbody>
<tr><td>clickAt</td><td>link=Casos<datalist><option>link=Casos</option><option>css=a.dropdown-toggle</option><option>//a[contains(text(),'Casos')]</option><option>//a[contains(@href, '#')]</option><option>//li/a</option></datalist></td><td>41,23</td>
</tr>
<tr><td>clickAt</td><td>link=Validar casos<datalist><option>link=Validar casos</option><option>//a[contains(text(),'Validar casos')]</option><option>//a[contains(@href, '/sivel2/validarcasos')]</option><option>//li[3]/a</option></datalist></td><td>83,12</td>
</tr>
<tr><td>runScript</td><td>var ya=0; var revisa=function () { const maxc=1000000; console.log(ya); c=0; while (ya == 0 &amp;&amp; c&lt;maxc &amp;&amp; ($('h1').length == 0 || $('h1').html().trim() != 'Editar Caso')) { if (c == 0) { console.log('Entro al ciclo') }; c += 1; }; if (c&lt;maxc) {ya=1;} }; revisa();<datalist><option>var ya=0; var revisa=function () { const maxc=1000000; console.log(ya); c=0; while (ya == 0 &amp;&amp; c&lt;maxc &amp;&amp; ($('h1').length == 0 || $('h1').html().trim() != 'Editar Caso')) { if (c == 0) { console.log('Entro al ciclo') }; c += 1; }; if (c&lt;maxc) {ya=1;} }; revisa();</option></datalist></td><td></td>
</tr>
<tr><td>runScript</td><td>revisa()<datalist><option>revisa()</option></datalist></td><td></td>
</tr>
<tr><td>runScript</td><td>revisa()<datalist><option>revisa()</option></datalist></td><td></td>
</tr>
<tr><td>clickAt</td><td>id=validarcaso_fechaini<datalist><option>id=validarcaso_fechaini</option><option>name=validarcaso[fechaini]</option><option>css=#validarcaso_fechaini</option><option>//input[@id='validarcaso_fechaini']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[2]/div/input</option><option>//div/input</option></datalist></td><td>32,25</td>
</tr>
<tr><td>type</td><td>id=validarcaso_fechaini<datalist><option>id=validarcaso_fechaini</option><option>name=validarcaso[fechaini]</option><option>css=#validarcaso_fechaini</option><option>//input[@id='validarcaso_fechaini']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[2]/div/input</option><option>//div/input</option></datalist></td><td>2020-02-01</td>
</tr>
<tr><td>clickAt</td><td>id=validarcaso_fechafin<datalist><option>id=validarcaso_fechafin</option><option>name=validarcaso[fechafin]</option><option>css=#validarcaso_fechafin</option><option>//input[@id='validarcaso_fechafin']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[3]/div/input</option><option>//div[3]/div/input</option></datalist></td><td>66,26</td>
</tr>
<tr><td>type</td><td>id=validarcaso_fechafin<datalist><option>id=validarcaso_fechafin</option><option>name=validarcaso[fechafin]</option><option>css=#validarcaso_fechafin</option><option>//input[@id='validarcaso_fechafin']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[3]/div/input</option><option>//div[3]/div/input</option></datalist></td><td>2020-03-30</td>
</tr>
<tr><td>clickAt</td><td>name=commit<datalist><option>name=commit</option><option>css=input[name="commit"]</option><option>//input[@name='commit']</option><option>//form[@id='new_validarcaso']/div/div[2]/div[2]/div/input</option><option>//div[2]/div/input</option></datalist></td><td>41,25</td>
</tr>
<tr><td>clickAt</td><td>id=validarcaso_fechaini<datalist><option>id=validarcaso_fechaini</option><option>name=validarcaso[fechaini]</option><option>css=#validarcaso_fechaini</option><option>//input[@id='validarcaso_fechaini']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[2]/div/input</option><option>//div/input</option></datalist></td><td>1,18</td>
</tr>
<tr><td>type</td><td>id=validarcaso_fechaini<datalist><option>id=validarcaso_fechaini</option><option>name=validarcaso[fechaini]</option><option>css=#validarcaso_fechaini</option><option>//input[@id='validarcaso_fechaini']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[2]/div/input</option><option>//div/input</option></datalist></td><td></td>
</tr>
<tr><td>clickAt</td><td>id=validarcaso_fechafin<datalist><option>id=validarcaso_fechafin</option><option>name=validarcaso[fechafin]</option><option>css=#validarcaso_fechafin</option><option>//input[@id='validarcaso_fechafin']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[3]/div/input</option><option>//div[3]/div/input</option></datalist></td><td>67,12</td>
</tr>
<tr><td>type</td><td>id=validarcaso_fechafin<datalist><option>id=validarcaso_fechafin</option><option>name=validarcaso[fechafin]</option><option>css=#validarcaso_fechafin</option><option>//input[@id='validarcaso_fechafin']</option><option>//form[@id='new_validarcaso']/div/div[2]/div/div[3]/div/input</option><option>//div[3]/div/input</option></datalist></td><td></td>
</tr>
<tr><td>clickAt</td><td>name=commit<datalist><option>name=commit</option><option>css=input[name="commit"]</option><option>//input[@name='commit']</option><option>//form[@id='new_validarcaso']/div/div[2]/div[2]/div/input</option><option>//div[2]/div/input</option></datalist></td><td>22,11</td>
</tr>
<tr><td>assertText</td><td>css=h1<datalist><option>css=h1</option><option>//div[@id='div_contenido']/div/h1</option><option>//h1</option></datalist></td><td>Reporte de Validaciones</td>
</tr>
</tbody></table>
</body>
</html>
Loading

0 comments on commit f6f7076

Please sign in to comment.