mirror of https://github.com/apache/archiva.git
cleanup test as link with id not here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
48e840bcb4
commit
1eeba6ab68
|
@ -26,14 +26,11 @@ public abstract class AbstractSearchTest
|
|||
public void goToSearchPage()
|
||||
{
|
||||
goToHomePage();
|
||||
//if ( !"Apache Archiva \\ Quick Search".equals( getTitle() ) )
|
||||
if ( isElementPresent( "quickSearchBox" ) )
|
||||
if (!isElementPresent( "quickSearchBox" ) )
|
||||
{
|
||||
//clickLinkWithText( "Search" );
|
||||
clickLinkWithLocator( "menuSearchLink" );
|
||||
getSelenium().open( "/index.action");
|
||||
getSelenium().waitForPageToLoad( maxWaitTimeInMs );
|
||||
assertElementPresent( "quickSearchSubmit" );
|
||||
//assertPage( "Apache Archiva \\ Quick Search" );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue