mirror of https://github.com/apache/archiva.git
use id for testing user deleted as now the confirmation message contains the user name :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240202 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17eb86b08f
commit
c115eeda2b
|
@ -34,7 +34,7 @@
|
|||
{{each(j, columnDefinition) columns}}
|
||||
<td>${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }</td>
|
||||
{{/each}}
|
||||
<td><a href="#" data-bind="click: function(){ editUserBox(row) }">Edit</a></td>
|
||||
<td id="users-grid-user-id-${row.username()}"><a href="#" data-bind="click: function(){ editUserBox(row) }">Edit</a></td>
|
||||
{{if row.username()=="admin" || row.username()=="guest"}}
|
||||
<td></td>
|
||||
{{else}}
|
||||
|
|
|
@ -236,6 +236,7 @@ public abstract class AbstractArchivaTest
|
|||
clickLinkWithLocator( "user-create-form-register-button", true );
|
||||
|
||||
assertTextPresent( "user created:"+userName );
|
||||
assertElementPresent( "users-grid-user-id-"+userName );
|
||||
|
||||
if ( valid )
|
||||
{
|
||||
|
@ -268,7 +269,7 @@ public abstract class AbstractArchivaTest
|
|||
|
||||
clickLinkWithLocator( "alert-message-success-close-a" );
|
||||
|
||||
assertTextNotPresent( userName );
|
||||
assertElementNotPresent( "users-grid-user-id-"+userName );
|
||||
assertTextNotPresent( fullName );
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue