|
@@ -17,7 +17,7 @@ try{
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add_Cablemodem/0_login');
|
|
|
}
|
|
|
-/*
|
|
|
+
|
|
|
# ____________________ Base _____________________
|
|
|
|
|
|
# Nodo
|
|
@@ -86,8 +86,10 @@ try{
|
|
|
try{
|
|
|
$I->amOnUrl('http://cablemodem.fd3.flowdat.com/admin/cablemodem/cmts/create');
|
|
|
$I->fillField('Nombre', 'TestFernando'."\n");
|
|
|
- $I->fillField('Host','cmts1.cabletv.com'."\n");
|
|
|
- $I->fillField('SNMP Comunity','ferNando2'."\n");
|
|
|
+ $I->click('Configuración');
|
|
|
+$I->wait('5');
|
|
|
+ $I->fillField('Host','cmts1.cabletv.com');
|
|
|
+ $I->fillField('SNMP Community','ferNando2');
|
|
|
$I->fillField('SNMP Version','2'."\n");
|
|
|
$I->click('Crear y regresar al listado');
|
|
|
$I->wait('5');
|
|
@@ -95,20 +97,20 @@ try{
|
|
|
}catch(\Exception $e){
|
|
|
$I->makeScreenshot('Add_Cablemodem/6_CMTS');
|
|
|
}
|
|
|
-*/
|
|
|
+
|
|
|
# Cablemodem
|
|
|
try{
|
|
|
$I->amOnUrl('http://cablemodem.fd3.flowdat.com/admin/cablemodem/cablemodem/create');
|
|
|
-# $I->fillField('Cliente', 'TestFernando'."\n");
|
|
|
$I->fillField('clientId_search', 'TestFernando');
|
|
|
+$I->click("//*[@title='Close Toolbar']");
|
|
|
$I->pressKey("//*[@class='form-control ui-autocomplete-input']", WebDriverKeys::DOWN);
|
|
|
$I->wait('3');
|
|
|
$I->click("//*[@class='ui-corner-all']");
|
|
|
$I->wait('3');
|
|
|
- $I->fillField('Mac','F0:E1:D2:C3:B4:A5'."\n");
|
|
|
+ $I->fillField('Mac','foe1d2c3b4a5'."\n");
|
|
|
$I->fillField('Código activación','ferNando2'."\n");
|
|
|
$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_Cablemodem/7_Cablemodem');
|