[tests] fix issue counting hits in tests

This commit is contained in:
javier gomez 2016-02-08 20:12:39 +01:00
parent 6de0dcdb7a
commit 789f5ca534
1 changed files with 4 additions and 1 deletions

View File

@ -115,7 +115,10 @@ class FrontendWeblinksCest
// Click on the link, go back, and check that hits is 1
$I->click(['link' => $title]);
$I->moveBack();
$I->amOnPage('index.php?option=com_weblinks');
$I->waitForText('Uncategorised','30', ['css' => 'h3']);
$I->comment('I open the uncategorised Weblink Category');
$I->click(['link' => 'Uncategorised']);
$I->expectTo('see that hits is 1');
$I->see('Hits: 1', ['class' => 'list-hits']);
}