|
@@ -15,7 +15,7 @@ class BaseCest
|
|
|
$I->wait('3');
|
|
|
|
|
|
# ____________________ Base _____________________
|
|
|
-/*
|
|
|
+
|
|
|
# Codigos de Autenticación
|
|
|
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/authcode/create');
|
|
@@ -25,14 +25,16 @@ class BaseCest
|
|
|
$I->fillField('Expiración','4');
|
|
|
$I->fillField('Alcance','TestFernando');
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('1');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Clientes OAuth
|
|
|
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/oauthclient/create');
|
|
|
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('1');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Tokens de Acceso
|
|
|
|
|
@@ -42,7 +44,8 @@ class BaseCest
|
|
|
$I->fillField('Expiración','4');
|
|
|
$I->fillField('Alcance','TestFernando');
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('1');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Tokens de Refresco
|
|
|
|
|
@@ -52,7 +55,8 @@ class BaseCest
|
|
|
$I->fillField('Expiración','4');
|
|
|
$I->fillField('Alcance','TestFernando');
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('1');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Workflow
|
|
|
|
|
@@ -62,7 +66,8 @@ class BaseCest
|
|
|
$I->fillField('Tipo de Workflow', 'workflow'."\n");
|
|
|
$I->fillField('Supports', 'ClientBundle\Entity\Client'."\n");
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('1');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Action
|
|
|
|
|
@@ -75,6 +80,8 @@ class BaseCest
|
|
|
$I->fillField("//*[@class='ace_text-input']", 'template');
|
|
|
$I->wait('5');
|
|
|
$I->click('button.btn.btn-success');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Alertas
|
|
|
|
|
@@ -83,6 +90,8 @@ class BaseCest
|
|
|
$I->fillField('Cuerpo','TestFernando');
|
|
|
$I->click('span.control-label__text');
|
|
|
$I->click('button.btn.btn-success');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Tipo de Alertas
|
|
|
|
|
@@ -93,9 +102,11 @@ class BaseCest
|
|
|
$I->click("(//*[@class='iCheck-helper'])[1]");
|
|
|
$I->click("(//*[@class='iCheck-helper'])[2]");
|
|
|
$I->click('button.btn.btn-success');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Crear Usuarios
|
|
|
-
|
|
|
+# Ya existe
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/user/create');
|
|
|
$I->fillField('Nombre de Usuario', 'TestFernando');
|
|
|
$I->fillField('E-Mail', 'TestFernando@test');
|
|
@@ -110,6 +121,8 @@ class BaseCest
|
|
|
$I->fillField('Acción inicial',"\n"."\n");
|
|
|
$I->fillField('Tenencias', 'Tenencia Base'."\n");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Grupos
|
|
|
|
|
@@ -118,7 +131,8 @@ class BaseCest
|
|
|
$I->click("(//*[@class='icheckbox_square-blue'])[1]"); # selecciona el checkbox 1
|
|
|
$I->fillField('Usuarios', 'TestFernando'."\n");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
-
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Tenencias
|
|
|
# ________________________ NO BORRA LA TENENCIA DESPUÉS ________________________
|
|
@@ -126,6 +140,8 @@ class BaseCest
|
|
|
$I->fillField('Tenencia','TestFernando');
|
|
|
$I->click("(//*[@class='icheckbox_square-blue'])[1]");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Clientes
|
|
|
|
|
@@ -137,6 +153,8 @@ class BaseCest
|
|
|
$I->fillField('Email', 'fernando@interlink.com.ar');
|
|
|
$I->fillField('Teléfono', '034070304');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Dispositivos
|
|
|
|
|
@@ -144,11 +162,14 @@ class BaseCest
|
|
|
$I->fillField('Id Dispositivo', '342234');
|
|
|
$I->fillField('Ip', '193.12.29.4');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# ____________ FTTH _________________
|
|
|
|
|
|
# ONU
|
|
|
# ___________________ No me deja crear la ONU para mi cliente TestFernando _______________
|
|
|
+# Clave duplicada
|
|
|
|
|
|
$I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/onu/create');
|
|
|
$I->click('span.select2-selection__arrow');
|
|
@@ -163,20 +184,23 @@ $I->wait('3');
|
|
|
$I->selectOption('Modelo','1');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
$I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
- #$I->click("(//*[@class='icheckbox_square-blue'])[1]");
|
|
|
+#$I->click("(//*[@class='icheckbox_square-blue'])[1]");
|
|
|
|
|
|
# OLT
|
|
|
# _____________ Crea la OLT NO HABILITADA ___________________
|
|
|
$I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/olt/create');
|
|
|
$I->fillField('Nombre', 'TestFernando');
|
|
|
- $I->fillField('Modelo',"\n"."\n");
|
|
|
- $I->click('Crear y regresar al listado');
|
|
|
+ $I->selectOption('Modelo','FiberHome-AN5516-01');
|
|
|
+ $I->click('Configuración');
|
|
|
$I->wait('1');
|
|
|
$I->fillField('Ip','195.12.1.6');
|
|
|
$I->fillField('SSH USER','TestFernando');
|
|
|
$I->fillField('SSH PASS','TestFernando');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Modelo OLT
|
|
|
|
|
@@ -185,6 +209,8 @@ $I->wait('3');
|
|
|
$I->fillField('Propiedades','TestFernando');
|
|
|
#$I->fillField('Extra Data','TestFernando');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Modelo ONU
|
|
|
|
|
@@ -196,6 +222,8 @@ $I->wait('3');
|
|
|
"telnet": "/tmp"
|
|
|
}');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Perfil
|
|
|
|
|
@@ -204,6 +232,8 @@ $I->wait('3');
|
|
|
$I->fillField('Upload','6');
|
|
|
$I->fillField('Download','10');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# NAP
|
|
|
|
|
@@ -211,14 +241,18 @@ $I->wait('3');
|
|
|
$I->fillField('Nombre','TestFernando');
|
|
|
$I->fillField('Padre','Centro'."\n");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Workflow
|
|
|
|
|
|
$I->amOnUrl('http://ftth.fd3.flowdat.com/admin/workflow/workflow/create');
|
|
|
- $I->fillField('Nombre','TestFernando');
|
|
|
+ $I->fillField('Nombre','testfernando');
|
|
|
$I->fillField('Descripción','TestFernando');
|
|
|
$I->fillField('Supports',"\n"."\n");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('8');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Action Workflow
|
|
|
|
|
@@ -230,6 +264,8 @@ $I->wait('3');
|
|
|
$I->fillField('Clase',"\n"."\n");
|
|
|
$I->fillField("//*[@class='ace_text-input']",'TestFernando');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Template
|
|
|
|
|
@@ -237,7 +273,9 @@ $I->wait('3');
|
|
|
$I->fillField('Nombre','TestFernando');
|
|
|
$I->fillField('Contenido','TestFernando');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
-
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
+/*
|
|
|
# ____________ Maps ______________
|
|
|
# Mapas
|
|
|
|
|
@@ -254,7 +292,7 @@ $I->amOnUrl('http://mapas.fd3.flowdat.com/admin/map/object/create');
|
|
|
# Tipos
|
|
|
|
|
|
$I->amOnUrl('http://mapas.fd3.flowdat.com/admin/map/objecttype/create');
|
|
|
-
|
|
|
+*/
|
|
|
# ________________ STATS ________________________
|
|
|
# Servidor Dispositivos
|
|
|
|
|
@@ -263,10 +301,12 @@ $I->amOnUrl('http://mapas.fd3.flowdat.com/admin/map/objecttype/create');
|
|
|
$I->fillField('Url','http://base.fd3.flowdat.com/api/devices.json');
|
|
|
$I->click("//*[@class='icheckbox_square-blue']");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Dispositivo
|
|
|
# ____________ Está roto el formulario ________________________
|
|
|
-
|
|
|
+/*
|
|
|
$I->amOnUrl('http://stats.fd3.flowdat.com/admin/stats/device/create');
|
|
|
$I->fillField('Servidor','TestFernando'."\n");
|
|
|
$I->fillField('Id Dispositivo','3');
|
|
@@ -274,6 +314,7 @@ $I->amOnUrl('http://mapas.fd3.flowdat.com/admin/map/objecttype/create');
|
|
|
$I->fillField('Ip','199.29.43.9');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
$I->wait('5');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
*/
|
|
|
}
|
|
|
|