added selenium test to check the artifact page tabs

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947039 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jevica Arianne B. Zurbano 2010-05-21 15:29:49 +00:00
parent ef8f63a5ac
commit 8d7216a00e
1 changed files with 15 additions and 1 deletions

View File

@ -29,6 +29,20 @@ import org.testng.annotations.Test;
public class BrowseTest
extends AbstractBrowseTest
{
public void testBrowseArtifactPageTabs()
{
goToBrowsePage();
clickLinkWithText( getProperty( "ARTIFACT_GROUPID" ) + "/" );
clickLinkWithText( getProperty( "ARTIFACT_ARTIFACTID" ) + "/" );
clickLinkWithText( getProperty( "ARTIFACT_VERSION" ) + "/" );
assertTextPresent( "Info" );
assertTextPresent( "Dependencies" );
assertTextPresent( "Dependency Tree" );
assertTextPresent( "Used By" );
assertTextPresent( "Mailing Lists" );
assertTextPresent( "Metadata" );
}
public void testBrowseArtifact()
{