Move \n to Enter key

fixes issue #58
This commit is contained in:
javier gomez 2015-06-09 13:47:58 +02:00 committed by puneet0191
parent f9a0aec0d0
commit 4b488d6944
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ class AdministratorWeblinksCest
$I->checkForPhpNoticesOrWarnings();
$I->amGoingTo('Search the just saved weblink');
$I->fillField(['id' => 'filter_search'], $this->title . "\n");
$I->fillField(['id' => 'filter_search'],$this->title);
$I->pressKey(['id' => 'filter_search'],WebDriverKeys::ENTER);
$I->waitForText('Web Links Manager: Web Links','5',['css' => 'h1']);
$I->expectTo('see weblinks page');
$I->checkForPhpNoticesOrWarnings();