|
@@ -15,13 +15,14 @@ try{
|
|
|
$I->see('Nombre de usuario');
|
|
|
$I->fillField('_username', 'admin');
|
|
|
$I->fillField('_password', 'admin');
|
|
|
+$I->click("//*[@title='Close Toolbar']");
|
|
|
$I->click('_submit');
|
|
|
$I->wait('3');
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/0_login');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+/*
|
|
|
# ____________________ Base _____________________
|
|
|
|
|
|
# Codigos de Autenticación
|
|
@@ -77,6 +78,7 @@ try{
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/4_refreshtoken');
|
|
|
}
|
|
|
+*/
|
|
|
# Workflow
|
|
|
|
|
|
try{
|
|
@@ -187,6 +189,7 @@ try{
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/11_tenancy');
|
|
|
}
|
|
|
+
|
|
|
# Clientes
|
|
|
|
|
|
try{
|
|
@@ -197,12 +200,21 @@ try{
|
|
|
$I->fillField('Comentario', 'TestFernando');
|
|
|
$I->fillField('Email', 'fernando@interlink.com.ar');
|
|
|
$I->fillField('Teléfono', '034070304');
|
|
|
+
|
|
|
+$I->click('Mapa');
|
|
|
+$I->wait('3');
|
|
|
+ $I->fillField("//*[@id='searchtext9']",'Mariano Moreno 535, Rosario'."\n"."\n");
|
|
|
+$I->click("//*[@id='searchtext9']");
|
|
|
+ $I->pressKey("//*[@id='searchtext9']", WebDriverKeys::ENTER);
|
|
|
+$I->wait('3');
|
|
|
+
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
- $I->wait('5');
|
|
|
+ $I->wait('8');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/12_client');
|
|
|
}
|
|
|
+
|
|
|
# Dispositivos
|
|
|
|
|
|
try{
|
|
@@ -217,13 +229,13 @@ try{
|
|
|
}
|
|
|
# ____________ FTTH _________________
|
|
|
|
|
|
-
|
|
|
# Modelo OLT
|
|
|
|
|
|
try{
|
|
|
$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/oltmodel/create');
|
|
|
$I->fillField('Nombre','TestFernando');
|
|
|
$I->fillField('Propiedades','TestFernando');
|
|
|
+$I->click("//*[@title='Close Toolbar']");
|
|
|
#$I->fillField('Extra Data','TestFernando');
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
$I->wait('5');
|
|
@@ -263,8 +275,6 @@ try{
|
|
|
$I->makeScreenshot('Add/16_profile');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
# OLT
|
|
|
# _____________ Crea la OLT NO HABILITADA ___________________
|
|
|
|
|
@@ -278,29 +288,44 @@ try{
|
|
|
$I->fillField('Ip','195.12.1.6');
|
|
|
$I->fillField('SSH USER','TestFernando');
|
|
|
$I->fillField('SSH PASS','TestFernando');
|
|
|
+
|
|
|
+$I->click('Mapa');
|
|
|
+$I->wait('3');
|
|
|
+ $I->fillField("//*[@id='searchtext9']",'Mariano Moreno 900, Rosario'."\n"."\n");
|
|
|
+$I->click("//*[@id='searchtext9']");
|
|
|
+ $I->pressKey("//*[@id='searchtext9']", WebDriverKeys::ENTER);
|
|
|
+$I->wait('3');
|
|
|
+
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
- $I->wait('5');
|
|
|
+ $I->wait('10');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/17_olt');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
# NAP
|
|
|
|
|
|
try{
|
|
|
$I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/nap/create');
|
|
|
$I->fillField('Nombre','TestFernando');
|
|
|
# $I->fillField('Padre','Centro'."\n");
|
|
|
+ $I->fillField('OLT', 'TestFernando'."\n");
|
|
|
+ $I->fillField('Slot', '5');
|
|
|
+ $I->fillField('Link', '5');
|
|
|
|
|
|
- $I->click('Crear y regresar al listado');
|
|
|
- $I->wait('5');
|
|
|
+$I->click('Mapa');
|
|
|
+$I->wait('3');
|
|
|
+ $I->fillField("//*[@id='searchtext9']",'Mariano Moreno 500, Rosario'."\n"."\n");
|
|
|
+$I->click("//*[@id='searchtext9']");
|
|
|
+ $I->pressKey("//*[@id='searchtext9']", WebDriverKeys::ENTER);
|
|
|
+$I->wait('3');
|
|
|
+
|
|
|
+$I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('8');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/18_nap');
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
|
|
|
# ONU
|
|
|
# ___________________ No me deja crear la ONU para mi cliente TestFernando _______________
|
|
@@ -313,30 +338,73 @@ try{
|
|
|
$I->wait('3');
|
|
|
$I->click("//*[@class='ui-corner-all']");
|
|
|
$I->wait('3');
|
|
|
+#$I->click("//*[@title='Close Toolbar']");
|
|
|
$I->fillField('Número Serie Pon','fhtt041a89pe');
|
|
|
$I->fillField('Perfil','Base'."\n");
|
|
|
$I->fillField('NAP','TestFernando'."\n");
|
|
|
$I->fillField('Modelo','TestFernando'."\n");
|
|
|
$I->wait('3');
|
|
|
+
|
|
|
$I->click('Avanzado');
|
|
|
-$I->wait('5');
|
|
|
- $I->fillField('Número Serie', '234234232');
|
|
|
+$I->wait('8');
|
|
|
+# $I->fillField('Número Serie', '2342342');
|
|
|
$I->fillField('Mac', 'fd34sd24fgr4');
|
|
|
$I->fillField('OLT', 'TestFernando'."\n");
|
|
|
|
|
|
-# $I->click("(//*[@class='select2-arrow'])[5]");
|
|
|
-#$I->wait('3');
|
|
|
-# $I->click("(//*[@class='select2-result-label'])[1]");
|
|
|
+$I->click('Mapa');
|
|
|
+$I->wait('3');
|
|
|
+ $I->fillField("//*[@id='searchtext9']",'Mariano Moreno 535, Rosario'."\n"."\n");
|
|
|
+$I->click("//*[@id='searchtext9']");
|
|
|
+ $I->pressKey("//*[@id='searchtext9']", WebDriverKeys::ENTER);
|
|
|
+$I->wait('3');
|
|
|
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
$I->wait('18');
|
|
|
$I->see('ha sido creado con éxito');
|
|
|
|
|
|
-#$I->click("(//*[@class='icheckbox_square-blue'])[1]");
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add/19_onu');
|
|
|
}
|
|
|
|
|
|
+# ONU 2
|
|
|
+# ___________________ No me deja crear la ONU para mi cliente TestFernando _______________
|
|
|
+# Clave duplicada
|
|
|
+
|
|
|
+try{
|
|
|
+ $I->amOnUrl('http://ftth.'.$cliente.'.flowdat.com/admin/ftth/onu/create');
|
|
|
+ $I->fillField('clientId_search', 'TestFernando');
|
|
|
+ $I->pressKey("//*[@class='form-control ui-autocomplete-input']", WebDriverKeys::DOWN);
|
|
|
+ $I->wait('3');
|
|
|
+ $I->click("//*[@class='ui-corner-all']");
|
|
|
+ $I->wait('3');
|
|
|
+#$I->click("//*[@title='Close Toolbar']");
|
|
|
+ $I->fillField('Número Serie Pon','fhtt041a89pf');
|
|
|
+ $I->fillField('Perfil','Base'."\n");
|
|
|
+ $I->fillField('NAP','TestFernando'."\n");
|
|
|
+ $I->fillField('Modelo','TestFernando'."\n");
|
|
|
+$I->wait('3');
|
|
|
+
|
|
|
+ $I->click('Avanzado');
|
|
|
+$I->wait('8');
|
|
|
+# $I->fillField('Número Serie', '2342342');
|
|
|
+ $I->fillField('Mac', 'fd34sd24fgf2');
|
|
|
+ $I->fillField('OLT', 'TestFernando'."\n");
|
|
|
+
|
|
|
+$I->click('Mapa');
|
|
|
+$I->wait('3');
|
|
|
+ $I->fillField("//*[@id='searchtext9']",'Mariano Moreno 525, Rosario'."\n"."\n");
|
|
|
+$I->click("//*[@id='searchtext9']");
|
|
|
+ $I->pressKey("//*[@id='searchtext9']", WebDriverKeys::ENTER);
|
|
|
+$I->wait('3');
|
|
|
+
|
|
|
+ $I->click('Crear y regresar al listado');
|
|
|
+ $I->wait('18');
|
|
|
+ $I->see('ha sido creado con éxito');
|
|
|
+
|
|
|
+}catch(\Exception $e){
|
|
|
+ $I->makeScreenshot('Add/19_onu2');
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
# Workflow
|
|
|
|