|
@@ -17,6 +17,7 @@ class BaseCest
|
|
# ____________________ Base _____________________
|
|
# ____________________ Base _____________________
|
|
/*
|
|
/*
|
|
# Codigos de Autenticación
|
|
# Codigos de Autenticación
|
|
|
|
+
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/authcode/create');
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/authcode/create');
|
|
$I->fillField('Usuario', 'iksop'."\n");
|
|
$I->fillField('Usuario', 'iksop'."\n");
|
|
$I->fillField('Token', '002');
|
|
$I->fillField('Token', '002');
|
|
@@ -58,10 +59,7 @@ class BaseCest
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/workflow/workflow/create');
|
|
$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('Descripción', 'FernandoTest');
|
|
-
|
|
|
|
-# _____________ No funciona select __________________
|
|
|
|
-# $I->selectOption('Tipo de Workflow', 'workflow');
|
|
|
|
-
|
|
|
|
|
|
+ $I->fillField('Tipo de Workflow', 'workflow'."\n");
|
|
$I->fillField('Supports', 'ClientBundle\Entity\Client'."\n");
|
|
$I->fillField('Supports', 'ClientBundle\Entity\Client'."\n");
|
|
$I->click('button.btn.btn-success');
|
|
$I->click('button.btn.btn-success');
|
|
$I->wait('1');
|
|
$I->wait('1');
|
|
@@ -79,7 +77,6 @@ class BaseCest
|
|
$I->click('button.btn.btn-success');
|
|
$I->click('button.btn.btn-success');
|
|
|
|
|
|
# Alertas
|
|
# Alertas
|
|
-# __________ ERROR EN SELECT TIPO _____________________
|
|
|
|
|
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/alert/alert/create');
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/alert/alert/create');
|
|
$I->fillField('Título','TestFernando');
|
|
$I->fillField('Título','TestFernando');
|
|
@@ -98,14 +95,14 @@ class BaseCest
|
|
$I->click('button.btn.btn-success');
|
|
$I->click('button.btn.btn-success');
|
|
|
|
|
|
# Crear Usuarios
|
|
# Crear Usuarios
|
|
-# _________________ No encuentra checkbox _____________________
|
|
|
|
|
|
+
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/user/create');
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/user/create');
|
|
$I->fillField('Nombre de Usuario', 'TestFernando');
|
|
$I->fillField('Nombre de Usuario', 'TestFernando');
|
|
$I->fillField('E-Mail', 'TestFernando@test');
|
|
$I->fillField('E-Mail', 'TestFernando@test');
|
|
$I->fillField('Contraseña', 'TestFernando');
|
|
$I->fillField('Contraseña', 'TestFernando');
|
|
$I->fillField('Nombre', 'TestFernando');
|
|
$I->fillField('Nombre', 'TestFernando');
|
|
$I->fillField('Apellido', 'TestFernando');
|
|
$I->fillField('Apellido', 'TestFernando');
|
|
-# Roles
|
|
|
|
|
|
+ # Roles
|
|
$I->click("(//*[@class='iCheck-helper'])[2]");
|
|
$I->click("(//*[@class='iCheck-helper'])[2]");
|
|
$I->click("(//*[@class='iCheck-helper'])[3]");
|
|
$I->click("(//*[@class='iCheck-helper'])[3]");
|
|
$I->click("(//*[@class='iCheck-helper'])[5]");
|
|
$I->click("(//*[@class='iCheck-helper'])[5]");
|
|
@@ -277,7 +274,7 @@ $I->amOnUrl('http://mapas.fd3.flowdat.com/admin/map/objecttype/create');
|
|
$I->fillField('Ip','199.29.43.9');
|
|
$I->fillField('Ip','199.29.43.9');
|
|
$I->click('Crear y regresar al listado');
|
|
$I->click('Crear y regresar al listado');
|
|
$I->wait('5');
|
|
$I->wait('5');
|
|
-
|
|
|
|
|
|
+*/
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|