|
@@ -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){
|
|
|
}
|
|
|
}
|