mirror of https://github.com/apache/archiva.git
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:
parent
38b64bd49d
commit
30b708470a
|
@ -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" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue