update label that changed in Redback

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2012-01-20 13:20:57 +00:00
parent 38b64bd49d
commit 30b708470a
1 changed files with 19 additions and 17 deletions

View File

@ -27,6 +27,8 @@ public class UserRolesTest
extends AbstractArchivaTest extends AbstractArchivaTest
{ {
private static final String EDIT_ROLES = "Edit Roles";
public void testBasicAddDeleteUser() public void testBasicAddDeleteUser()
{ {
username = getProperty( "GUEST_USERNAME" ); username = getProperty( "GUEST_USERNAME" );
@ -46,7 +48,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkUserRoleWithValue( fullname ); checkUserRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -67,7 +69,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkUserRoleWithValue( fullname ); checkUserRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -88,7 +90,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkUserRoleWithValue( fullname ); checkUserRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -109,7 +111,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkUserRoleWithValue( fullname ); checkUserRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -130,7 +132,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkUserRoleWithValue( fullname ); checkUserRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -151,7 +153,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkUserRoleWithValue( fullname ); checkUserRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -172,7 +174,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkResourceRoleWithValue( fullname ); checkResourceRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );
@ -206,7 +208,7 @@ public class UserRolesTest
createUser( username, fullname, getUserEmail(), getUserRolePassword(), true ); createUser( username, fullname, getUserEmail(), getUserRolePassword(), true );
clickLinkWithText( username ); clickLinkWithText( username );
clickLinkWithText( "Edit Roles" ); clickLinkWithText( EDIT_ROLES );
checkResourceRoleWithValue( fullname ); checkResourceRoleWithValue( fullname );
clickButtonWithValue( "Submit" ); clickButtonWithValue( "Submit" );