浏览代码

variable screen

Fernando Alonso 7 年之前
父节点
当前提交
722d7f3c5c

+ 1 - 1
behat/testScreenshotGalvez/tests/acceptance/screen/variables.php

@@ -1,3 +1,3 @@
 <?php
-$_GET['CLIENTE'] = 'fd3';
+$_GET['CLIENTE'] = 'galvez';
 

+ 15 - 3
behat/testScreenshotGalvez/tests/acceptance/src/8ScreenSourceCest.php

@@ -26,38 +26,48 @@ $directorio = '02_base/';
 shell_exec('mkdir -p ./tests/screenSRC/' . $cliente . "/" . $directorio);
 
 #screen dash
+try{
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'2dash');
 		$I->scrollTo(['css' => 'h3.box-title'], 0, 0);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'2dash1');
 		$I->scrollTo(['css' => 'h3.box-title'], 0, 600);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'2dash2');
+}catch(\Exception $e){
+}	
 
 #Screen lista Codigo Auth
+try{
 		$I->amOnUrl('http://base.' . $cliente . '.flowdat.com/admin/base/oauthserver/authcode/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'3codauth');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'3codauth1');
+}catch(\Exception $e){
+}	
 
 #Screen lista Cliente Auth
 		$I->amOnUrl('http://base.' . $cliente . '.flowdat.com/admin/base/oauthserver/oauthclient/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'4cliauth');
 
 #Screen lista Tokens Acceso
+try{
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/admin/base/oauthserver/accesstoken/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'5tokenacceso');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'5tokenacceso1');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'5tokenacceso2');
-
+}catch(\Exception $e){
+}	
 #Screen lista Tokens de Refresco
+try{
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/admin/base/oauthserver/refreshtoken/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'6tokenref');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'6tokenref1');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'6tokenref2');
-
+}catch(\Exception $e){
+}	
 #Screen lista Workflows
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/admin/workflow/workflow/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'7workflow');
@@ -71,11 +81,13 @@ $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'8acciones');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'9alertas');
 
 #Screen lista Tipos de Alertas
+try{
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/admin/alert/alerttype/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'10tipoalertas');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'10tipoalertas1');
-
+}catch(\Exception $e){
+}	
 #Screen lista Usuarios
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/admin/user/list');
 $I->makeScreenshot("../../screenSRC/".$cliente."/".$directorio.'11usuarios');

+ 1 - 1
behat/testScreenshotGalvez/tests/acceptance/src/variables.php

@@ -1,3 +1,3 @@
 <?php
-$_GET['CLIENTE'] = 'fd3';
+$_GET['CLIENTE'] = 'galvez';