|
@@ -61,12 +61,12 @@ class BaseCest
|
|
|
# Workflow
|
|
|
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/workflow/workflow/create');
|
|
|
- $I->fillField('Nombre','FernandoTest');
|
|
|
+ $I->fillField('Nombre','fernandotest');
|
|
|
$I->fillField('Descripción', 'FernandoTest');
|
|
|
$I->fillField('Tipo de Workflow', 'workflow'."\n");
|
|
|
$I->fillField('Supports', 'ClientBundle\Entity\Client'."\n");
|
|
|
$I->click('button.btn.btn-success');
|
|
|
- $I->wait('5');
|
|
|
+ $I->wait('8');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
|
|
|
# Action
|
|
@@ -106,7 +106,7 @@ class BaseCest
|
|
|
$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');
|
|
@@ -162,7 +162,7 @@ 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->wait('8');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
|
|
|
# ____________ FTTH _________________
|
|
@@ -183,11 +183,12 @@ $I->wait('3');
|
|
|
$I->selectOption('NAP','4');
|
|
|
$I->selectOption('Modelo','1');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
- $I->wait('5');
|
|
|
+ $I->wait('18');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
|
|
|
#$I->click("(//*[@class='icheckbox_square-blue'])[1]");
|
|
|
|
|
|
+
|
|
|
# OLT
|
|
|
# _____________ Crea la OLT NO HABILITADA ___________________
|
|
|
$I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/olt/create');
|
|
@@ -257,7 +258,7 @@ $I->wait('3');
|
|
|
# Action Workflow
|
|
|
|
|
|
$I->amOnUrl('http://ftth.fd3.flowdat.com/admin/workflow/action/create');
|
|
|
- $I->fillField('Nombre','TestFernando');
|
|
|
+ $I->fillField('Nombre','testfernando');
|
|
|
$I->fillField('Evento','enter'."\n");
|
|
|
$I->fillField('Workflow','TestFernando');
|
|
|
$I->fillField('Referencia', 'TestFernando');
|
|
@@ -296,26 +297,26 @@ $I->amOnUrl('http://mapas.fd3.flowdat.com/admin/map/objecttype/create');
|
|
|
# ________________ STATS ________________________
|
|
|
# Servidor Dispositivos
|
|
|
|
|
|
- $I->amOnUrl('http://stats.fd3.flowdat.com/admin/stats/deviceserver/create');
|
|
|
- $I->fillField('Nombre','TestFernando');
|
|
|
- $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');
|
|
|
+# $I->amOnUrl('http://stats.fd3.flowdat.com/admin/stats/deviceserver/create');
|
|
|
+# $I->fillField('Nombre','TestFernando');
|
|
|
+# $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');
|
|
|
- $I->fillField('Tipo Dispositivo',"\n"."\n");
|
|
|
- $I->fillField('Ip','199.29.43.9');
|
|
|
- $I->click('Crear y regresar al listado');
|
|
|
- $I->wait('5');
|
|
|
- $I->see('ha sido creado con éxito');
|
|
|
-*/
|
|
|
+
|
|
|
+# $I->amOnUrl('http://stats.fd3.flowdat.com/admin/stats/device/create');
|
|
|
+# $I->fillField('Servidor','TestFernando'."\n");
|
|
|
+# $I->fillField('Id Dispositivo','3');
|
|
|
+# $I->fillField('Tipo Dispositivo',"\n"."\n");
|
|
|
+# $I->fillField('Ip','199.29.43.9');
|
|
|
+# $I->click('Crear y regresar al listado');
|
|
|
+# $I->wait('5');
|
|
|
+# $I->see('ha sido creado con éxito');
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|