Fernando Alonso 8 роки тому
батько
коміт
50953d7118

+ 2 - 2
behat/testScreenshotGalvez/tests/acceptance/1ScreenLogCest.php

@@ -15,8 +15,8 @@ $directorio = '01_login/';
 		$I->fillField('_username', 'admin');
 		$I->fillField('_password', 'adminpass');
 
-		shell_exec('mkdir -p ./tests/_output/debug/' . $head . '_' . $cliente ."/" . $directorio);
-		$I->makeScreenshot($head . '_' . $cliente . "/" . $directorio . '1log');
+		shell_exec('mkdir -p ./tests/_output/debug/' . $cliente . "/". $head ."/" . $directorio);
+		$I->makeScreenshot($cliente . "/" . $head . "/" . $directorio . '1log');
 
 		$I->click('_submit');
 		$I->wait('3');

+ 29 - 29
behat/testScreenshotGalvez/tests/acceptance/2ScreenBaseCest.php

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

+ 32 - 32
behat/testScreenshotGalvez/tests/acceptance/3ScreenFTTHCest.php

@@ -9,7 +9,7 @@ $cliente = "galvez";
 	$head = substr($head,0,-1);
 
 $directorio = '03_ftth/';
-shell_exec('mkdir -p ./tests/_output/debug/' . $head . "_" . $cliente . "/" . $directorio);
+shell_exec('mkdir -p ./tests/_output/debug/' . $cliente . "/" . $head . "/" . $directorio);
 
 #log in
 		$I->amOnPage('/');
@@ -22,112 +22,112 @@ shell_exec('mkdir -p ./tests/_output/debug/' . $head . "_" . $cliente . "/" . $d
 #Screen lista Dash FTTH
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/dashboard');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'15dashftth');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'15dashftth');
 		$I->scrollTo(['css' => 'h3.box-title'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'15dashftth1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'15dashftth1');
 }catch(\Exception $e){
 }	
 
 #Screen lista ONU
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/onu/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'16ONU');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'16ONU');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'16ONU1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'16ONU1');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'16ONU2');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'16ONU2');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'16ONU3');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'16ONU3');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1800);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'16ONU4');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'16ONU4');
 }catch(\Exception $e){
 }
 
 #Screen lista OLT
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/olt/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'17OLT');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'17OLT');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'17OLT1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'17OLT1');
 }catch(\Exception $e){
 }
 	
 #Screen lista Modelo OLT
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/oltmodel/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'18mOLT');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'18mOLT');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'18mOLT1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'18mOLT1');
 }catch(\Exception $e){
 }
 	
 #Screen lista Modelo ONU
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/onumodel/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'19mONU');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'19mONU');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'19mONU1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'19mONU1');
 }catch(\Exception $e){
 }
 	
 #Screen lista Perfiles
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/profile/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'20perfiles');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'20perfiles');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'20perfiles1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'20perfiles1');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'20perfiles2');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'20perfiles2');
 }catch(\Exception $e){
 }	
 
 #Screen lista NAP
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/nap/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP1');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP2');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP2');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP3');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP3');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1800);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP4');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP4');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 2400);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP5');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP5');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 3000);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP5');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP5');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 3600);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'21NAP6');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'21NAP6');
 }catch(\Exception $e){
 }	
 
 #Screen lista Workflow FTTH
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/workflow/workflow/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'22workflowftth');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'22workflowftth');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'22workflowftth1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'22workflowftth1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Acciones FTTH
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/workflow/action/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'23accionftth');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'23accionftth');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'23accionftth1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'23accionftth1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Template FTTH
 try{
 		$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/template/template/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'24templateftth');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'24templateftth');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'24templateftth1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'24templateftth1');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'24templateftth2');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'24templateftth2');
 }catch(\Exception $e){
 }	
 	}

+ 9 - 9
behat/testScreenshotGalvez/tests/acceptance/4ScreenMapCest.php

@@ -9,7 +9,7 @@ $cliente = "galvez";
 	$head = substr($head,0,-1);
 
 $directorio = '04_map/';
-shell_exec('mkdir -p ./tests/_output/debug/' . $head . "_" . $cliente . "/" . $directorio);
+shell_exec('mkdir -p ./tests/_output/debug/' . $cliente . "/" . $head . "/" . $directorio);
 
 #log in
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/login');
@@ -22,37 +22,37 @@ shell_exec('mkdir -p ./tests/_output/debug/' . $head . "_" . $cliente . "/" . $d
 #Screen lista Dash Maps
 try{
 		$I->amOnUrl('http://mapas.'.$cliente.'.flowdat.com/admin/dashboard');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'25dashmap');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'25dashmap');
 		$I->scrollTo(['css' => 'h3.box-title'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'25dashmap1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'25dashmap1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Listado Mapas
 try{
 		$I->amOnUrl('http://mapas.'.$cliente.'.flowdat.com/admin/map/map/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'26listmap');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'26listmap');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'26listmap1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'26listmap1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Listado Vectores
 try{
 		$I->amOnUrl('http://mapas.'.$cliente.'.flowdat.com/admin/map/vector/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'28listvec');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'28listvec');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'28listvec1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'28listvec1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Listado Objetos
 		$I->amOnUrl('http://mapas.'.$cliente.'.flowdat.com/admin/map/object/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'29listobj');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'29listobj');
 
 #Screen lista Tpos de Objetos
 		$I->amOnUrl('http://mapas.'.$cliente.'.flowdat.com/admin/map/objecttype/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'30listcon');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'30listcon');
 
 	}
 

+ 7 - 7
behat/testScreenshotGalvez/tests/acceptance/5ScreenStatsCest.php

@@ -9,7 +9,7 @@ $cliente = "galvez";
 	$head = substr($head,0,-1);
 
 $directorio = '05_stats/';
-shell_exec('mkdir -p ./tests/_output/debug/' . $head . "_" . $cliente ."/" . $directorio);
+shell_exec('mkdir -p ./tests/_output/debug/' . $cliente . "/" . $head . "/" . $directorio);
 
 #log in
 		$I->amOnUrl('http://base.'.$cliente.'.flowdat.com/login');
@@ -22,27 +22,27 @@ shell_exec('mkdir -p ./tests/_output/debug/' . $head . "_" . $cliente ."/" . $di
 #Screen lista Dash Stats
 try{
 		$I->amOnUrl('http://stats.'.$cliente.'.flowdat.com/admin/dashboard');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'31dashstats');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'31dashstats');
 		$I->scrollTo(['css' => 'h3.box-title'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'31dashstats1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'31dashstats1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Listado Servidor Dispositivos
 try{
 		$I->amOnUrl('http://stats.'.$cliente.'.flowdat.com/admin/stats/deviceserver/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'32listdstats');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'32listdstats');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'32listdstats1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'32listdstats1');
 }catch(\Exception $e){
 }	
 
 #Screen lista Listado Dispositivos 
 try{
 		$I->amOnUrl('http://stats.'.$cliente.'.flowdat.com/admin/stats/device/list');
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'33liststats');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'33liststats');
 		$I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0);
-$I->makeScreenshot($head.'_'.$cliente."/".$directorio.'33liststats1');
+$I->makeScreenshot($cliente."/".$head."/".$directorio.'33liststats1');
 }catch(\Exception $e){
 }	
 

+ 6 - 6
behat/testScreenshotGalvez/tests/acceptance/6minioUpdateCest.php

@@ -26,7 +26,7 @@ $s3 = new Aws\S3\S3Client([
 	for ($i = 0; $i < $cantdir; $i++)
 	{
 		$dir = $directorioA[$i];
-		$directorio = opendir("./tests/_output/debug/" . $head . "_" . $cliente . "/" . $dir);
+		$directorio = opendir("./tests/_output/debug/". $cliente. "/" . $head ."/" . $dir);
 		while ($archivo = readdir($directorio))
 		{
 			if (is_dir($archivo))
@@ -36,14 +36,14 @@ $s3 = new Aws\S3\S3Client([
 			{
 				$result = $s3->putObject(array(
 			    'Bucket'     => 'testbucket',
-			    'Key'        => $head. "_" . $cliente .'/'.$dir . $archivo,
-			    'SourceFile' => './tests/_output/debug/'. $head . "_" . $cliente . "/" . $dir . $archivo    
+			    'Key'        => $cliente . "/" . $head. '/'.$dir . $archivo,
+			    'SourceFile' => './tests/_output/debug/'.$cliente . "/" . $head . "/" . $dir . $archivo    
 				));
 
 // We can poll the object until it is accessible
 				$s3->waitUntil('ObjectExists', array(
 			    'Bucket' => 'testbucket',
-			    'Key'    => $head. "_" . $cliente .'/'.$dir . $archivo
+			    'Key'    => $cliente . "/" . $head. '/'.$dir . $archivo
 				));
 			}
 		}
@@ -69,10 +69,10 @@ $s3 = new Aws\S3\S3Client([
 		for ($i = 0; $i < $cantdir; $i++)
 		{
 			$dir = $directorioA[$i];
-			shell_exec('mkdir -p ./tests/to_compare/' . $head . "_" . $cliente ."/" . $dir);
+			shell_exec('mkdir -p ./tests/to_compare/'. $cliente . "/" . $head ."/" . $dir);
 		}
 
-		$iterator = $s3->getIterator('ListObjects', array('Bucket'=> "testbucket",'Prefix'=> ($head."_".$cliente)));
+		$iterator = $s3->getIterator('ListObjects', array('Bucket'=> "testbucket",'Prefix'=> ($cliente."/".$head)));
 		foreach ($iterator as $object) 
 		{
 //		    echo $object['Key']; 

+ 8 - 8
behat/testScreenshotGalvez/tests/acceptance/7compareCest.php

@@ -18,8 +18,8 @@ $fecha = date("Y-n-j");
 		for ($i = 0; $i < $cantdir; $i++)
 		{
 			$directorio = $directorioA[$i];
-			shell_exec('mkdir -p ./tests/comp/' . $fecha . "_" . $hora . "_" . $head . "_" . $cliente . "/" . $directorio);
-			$dir = opendir("tests/_output/debug/" . $head . "_" . $cliente . "/" . $directorio);
+			shell_exec('mkdir -p ./tests/comp/'. $cliente . "/" . $fecha . "_" . $hora . "_" . $head ."/" . $directorio);
+			$dir = opendir("tests/_output/debug/" . $cliente . "/" . $head . "/" . $directorio);
 			while ($archivo = readdir($dir))
 			{
 				if (is_dir($archivo))
@@ -27,7 +27,7 @@ $fecha = date("Y-n-j");
 				}
 				else
 				{
-					shell_exec('compare tests/_output/debug/'.$head. "_" . $cliente . "/". $directorio . $archivo . ' tests/to_compare/'.$head1. "_" . $cliente ."/". $directorio . $archivo . ' tests/comp/' . $fecha . "_" . $hora . "_" . $head . "_" . $cliente . "/" . $directorio .'comp'. $archivo . "\n");
+					shell_exec('compare tests/_output/debug/'. $cliente . "/" . $head . "/". $directorio . $archivo . ' tests/to_compare/'. $cliente . "/" . $head1. "/". $directorio . $archivo . ' tests/comp/'. $cliente . "/" . $fecha . "_" . $hora . "_" . $head . "/" . $directorio .'comp'. $archivo . "\n");
 				}
 			}
 		}
@@ -60,7 +60,7 @@ shell_exec('curl -H "Content-Type: application/json" -X POST -d "{\"color\": \"p
 	for ($i = 0; $i < $cantdir; $i++)
 	{
 		$dir = $directorioA[$i];
-		$directorio = opendir("./tests/comp/". $fecha . "_" . $hora . "_" . $head . "_" . $cliente . "/" . $dir);
+		$directorio = opendir("./tests/comp/" . $cliente . "/" . $fecha . "_" . $hora . "_" . $head . "/" . $dir);
 		while ($archivo = readdir($directorio))
 		{
 			if (is_dir($archivo))
@@ -70,16 +70,16 @@ shell_exec('curl -H "Content-Type: application/json" -X POST -d "{\"color\": \"p
 			{
 				$result = $s3->putObject(array(
 			    'Bucket'     => 'comparaciones',
-			    'Key'        => $fecha . "_" . $hora . "_" . $head . '/' . $dir . $archivo,
-			    'SourceFile' => './tests/comp/' . $fecha . "_" . $hora . "_" . $head . "_" . $cliente ."/" . $dir . $archivo    
+			    'Key'        => $clliente . "/" . $fecha . "_" . $hora . "_" . $head . '/' . $dir . $archivo,
+			    'SourceFile' => './tests/comp/'.$cliente . "/" . $fecha . "_" . $hora . "_" . $head ."/" . $dir . $archivo    
 				));
 
 // We can poll the object until it is accessible
 				$s3->waitUntil('ObjectExists', array(
 			    'Bucket' => 'comparaciones',
-			    'Key'    => $fecha . "_" . $hora . "_" . $head . "_" . $cliente . '/' . $dir . $archivo
+			    'Key'    => $cliente . "/" .$fecha . "_" . $hora . "_" . $head . '/' . $dir . $archivo
 				));
-			shell_exec('curl -H "Content-Type: multipart/related; boundary=boundary123456" -F "file=@tests/comp/' . $fecha . '_' . $hora . '_' . $head . "_" . $cliente .'/' . $dir . $archivo.'" -X POST https://api.hipchat.com/v2/room/'.$ROOM_ID.'/share/file?auth_token='.$AUTH_TOKEN);
+			shell_exec('curl -H "Content-Type: multipart/related; boundary=boundary123456" -F "file=@tests/comp/'.$cliente."/" . $fecha . '_' . $hora . '_' . $head .'/' . $dir . $archivo.'" -X POST https://api.hipchat.com/v2/room/'.$ROOM_ID.'/share/file?auth_token='.$AUTH_TOKEN);
 			}
 		}
 			echo "Directorio de comparación '" . $dir . "' actualizado. Fecha: " . $fecha . "_" . $hora . " Commit: " . $head . " Cliente: " . $cliente ."\n" ;