Try to replace the sleep by WaitUntil ...
Este commit está contenido en:
		
							padre
							
								
									70bf01617c
								
							
						
					
					
						commit
						900d110d15
					
				
					Se han modificado 1 ficheros con 7 adiciones y 1 borrados
				
			
		|  | @ -201,9 +201,15 @@ class Cops extends Sauce\Sausage\WebDriverTestCase | |||
|         // Click on the cog to show the search
 | ||||
|         $cog = $this->byId ("searchImage"); | ||||
|         $cog->click (); | ||||
|         sleep (1); | ||||
|         //sleep (1);
 | ||||
| 
 | ||||
|         // Focus the input and type
 | ||||
|         $this->waitUntil(function () { | ||||
|             if ($this->byName ("query")) { | ||||
|                 return true; | ||||
|             } | ||||
|             return null; | ||||
|         }, 1000); | ||||
|         $queryInput = $this->byName ("query"); | ||||
|         $queryInput->click (); | ||||
|         $queryInput->value ($src); | ||||
|  |  | |||
		Cargando…
	
	Añadir tabla
		Añadir enlace
		
	
		Referenciar en una nueva incidencia