|
@@ -11,13 +11,13 @@ class ScreenBaseCest
|
|
|
$I->amOnPage('/');
|
|
|
$I->see('Nombre de usuario');
|
|
|
$I->fillField('_username', 'admin');
|
|
|
- $I->fillField('_password', 'adminpass');
|
|
|
+ $I->fillField('_password', 'admin');
|
|
|
$I->click('_submit');
|
|
|
$I->wait('5');
|
|
|
|
|
|
$directorio = '02_base/';
|
|
|
shell_exec('mkdir -p ./tests/_output/debug/' . $head . "/" . $directorio);
|
|
|
-
|
|
|
+try{
|
|
|
#screen dash
|
|
|
$I->makeScreenshot($head."/".$directorio.'2dash');
|
|
|
$I->scrollTo(['css' => 'h3.box-title'], 0, 0);
|
|
@@ -25,59 +25,64 @@ $I->makeScreenshot($head."/".$directorio.'2dash1');
|
|
|
$I->scrollTo(['css' => 'h3.box-title'], 0, 600);
|
|
|
$I->makeScreenshot($head."/".$directorio.'2dash2');
|
|
|
|
|
|
-#Screen lista Codigo Auth
|
|
|
- $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/authcode/list');
|
|
|
-$I->makeScreenshot($head."/".$directorio.'3codauth');
|
|
|
- $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
|
|
|
-$I->makeScreenshot($head."/".$directorio.'3codauth1');
|
|
|
-
|
|
|
-#Screen lista Cliente Auth
|
|
|
- $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/oauthclient/list');
|
|
|
-$I->makeScreenshot($head."/".$directorio.'4cliauth');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+}
|
|
|
|
|
|
-#Screen lista Tokens Acceso
|
|
|
- $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/accesstoken/list');
|
|
|
-$I->makeScreenshot($head."/".$directorio.'5tokenacceso');
|
|
|
- $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
|
|
|
-$I->makeScreenshot($head."/".$directorio.'5tokenacceso1');
|
|
|
- $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
|
|
|
-$I->makeScreenshot($head."/".$directorio.'5tokenacceso2');
|
|
|
-
|
|
|
-#Screen lista Tokens de Refresco
|
|
|
- $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/refreshtoken/list');
|
|
|
-$I->makeScreenshot($head."/".$directorio.'6tokenref');
|
|
|
- $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
|
|
|
-$I->makeScreenshot($head."/".$directorio.'6tokenref1');
|
|
|
- $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
|
|
|
-$I->makeScreenshot($head."/".$directorio.'6tokenref2');
|
|
|
|
|
|
#Screen lista Workflows
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/workflow/workflow/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'7workflow');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+}
|
|
|
|
|
|
#Screen lista Workflows Acciones
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/workflow/action/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'8acciones');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+}
|
|
|
|
|
|
#Screen lista Alertas
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/alert/alert/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'9alertas');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+}
|
|
|
|
|
|
#Screen lista Tipos de Alertas
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/alert/alerttype/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'10tipoalertas');
|
|
|
$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
|
|
|
$I->makeScreenshot($head."/".$directorio.'10tipoalertas1');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+}
|
|
|
|
|
|
#Screen lista Usuarios
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/user/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'11usuarios');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+
|
|
|
+}
|
|
|
|
|
|
#Screen lista Grupos
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/group/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'12grupos');
|
|
|
-
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+
|
|
|
+}
|
|
|
#Screen lista Clientes
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/client/client/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'13clientes');
|
|
|
$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
|
|
@@ -86,8 +91,12 @@ $I->makeScreenshot($head."/".$directorio.'13clientes1');
|
|
|
$I->makeScreenshot($head."/".$directorio.'13clientes2');
|
|
|
$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200);
|
|
|
$I->makeScreenshot($head."/".$directorio.'13clientes3');
|
|
|
-
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+
|
|
|
+}
|
|
|
#Screen lista Dispositivos
|
|
|
+try{
|
|
|
$I->amOnUrl('http://base.fd3.flowdat.com/admin/license/device/list');
|
|
|
$I->makeScreenshot($head."/".$directorio.'14dispositivos');
|
|
|
$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
|
|
@@ -98,6 +107,11 @@ $I->makeScreenshot($head."/".$directorio.'14dispositivos2');
|
|
|
$I->makeScreenshot($head."/".$directorio.'14dispositivos3');
|
|
|
$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1800);
|
|
|
$I->makeScreenshot($head."/".$directorio.'14dispositivos4');
|
|
|
+}
|
|
|
+catch(\Exception $e){
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|