diff options
author | Olivier Lamy <olamy@apache.org> | 2012-02-03 14:56:10 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-02-03 14:56:10 +0000 |
commit | c115eeda2bed85f9e21b0a7248ac61b057dad6ff (patch) | |
tree | 19ec34e4ba168611fa182bef0b59d6578ae1f1f9 /archiva-modules/archiva-web/archiva-webapp-test-js/src | |
parent | 17eb86b08fe52d6e347f516db05180812b843c29 (diff) | |
download | archiva-c115eeda2bed85f9e21b0a7248ac61b057dad6ff.tar.gz archiva-c115eeda2bed85f9e21b0a7248ac61b057dad6ff.zip |
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
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp-test-js/src')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java | 3 |
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 ); |