Fernando Alonso пре 7 година
родитељ
комит
1d7a2a6e92
1 измењених фајлова са 10 додато и 5 уклоњено
  1. 10 5
      behat/abm_fd3/tests/acceptance/1_cablemodemCest.php

+ 10 - 5
behat/abm_fd3/tests/acceptance/1_cablemodemCest.php

@@ -17,9 +17,9 @@ try{
 	}catch(\Exception $e){
 		$I->makeScreenshot('Add_Cablemodem/0_login');
 	}
-
-# ____________________ Base _____________________
 /*
+# ____________________ Base _____________________
+
 # Nodo
 try{
 		$I->amOnUrl('http://cablemodem.fd3.flowdat.com/admin/cablemodem/node/create');
@@ -59,7 +59,7 @@ try{
 		$I->makeScreenshot('Add_Cablemodem/3_Perfil');
 	}
 		
-*/
+
 # Modelo Cablemodem
 try{
 		$I->amOnUrl('http://cablemodem.fd3.flowdat.com/admin/cablemodem/cablemodemmodel/create');
@@ -95,11 +95,16 @@ 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('Cliente', 'TestFernando'."\n");
+		$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->fillField('Mac','F0:E1:D2:C3:B4:A5'."\n");
 		$I->fillField('Código activación','ferNando2'."\n");		
 		$I->click('Crear y regresar al listado');