30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00

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

View File

@ -63,7 +63,8 @@ class AdministratorWeblinksCest
$I->checkForPhpNoticesOrWarnings(); $I->checkForPhpNoticesOrWarnings();
$I->amGoingTo('Search the just saved weblink'); $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->waitForText('Web Links Manager: Web Links','5',['css' => 'h1']);
$I->expectTo('see weblinks page'); $I->expectTo('see weblinks page');
$I->checkForPhpNoticesOrWarnings(); $I->checkForPhpNoticesOrWarnings();