Replace keys by setting value

This commit is contained in:
Sébastien Lucas 2014-04-11 08:48:57 +02:00
parent d2ab76b23f
commit 73e05fc96b

View file

@ -198,7 +198,7 @@ class Cops extends Sauce\Sausage\WebDriverTestCase
// Focus the input and type // Focus the input and type
$queryInput = $this->byName ("query"); $queryInput = $this->byName ("query");
$queryInput->click (); $queryInput->click ();
$this->keys($src); $queryInput->value ($src);
$queryInput->submit (); $queryInput->submit ();
$this->spinAssert("Home Title", $title_test, [ "SEARCH RESULT FOR *" . $out . "*" ]); $this->spinAssert("Home Title", $title_test, [ "SEARCH RESULT FOR *" . $out . "*" ]);