summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp-test-js
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp-test-js')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java b/archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java
index f7e51cb4f..dd5dab4c3 100644
--- a/archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java
+++ b/archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java
@@ -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 );