mirror of
https://github.com/apache/archiva.git
synced 2025-02-07 02:29:23 +00:00
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 @@
|
||||
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()
|
||||
{
|
||||
@ -151,4 +165,4 @@ private void assertGroupsPage( String groupId )
|
||||
assertPage( "Apache Archiva \\ Browse Repository" );
|
||||
assertTextPresent( "Artifacts" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user