mirror of https://github.com/apache/archiva.git
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:
parent
ef8f63a5ac
commit
8d7216a00e
|
@ -29,6 +29,20 @@ import org.testng.annotations.Test;
|
||||||
public class BrowseTest
|
public class BrowseTest
|
||||||
extends AbstractBrowseTest
|
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()
|
public void testBrowseArtifact()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue