diff options
author | Olivier Lamy <olamy@apache.org> | 2012-02-29 19:46:04 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-02-29 19:46:04 +0000 |
commit | 547e68a6e8f84bf762baa61e1adae8a793ddc875 (patch) | |
tree | 726423247d2ceaf900753e20285d44006704d0ed /archiva-modules/archiva-web | |
parent | e257441e6ebe12b94d59c39404d8501392e6ad0c (diff) | |
download | archiva-547e68a6e8f84bf762baa61e1adae8a793ddc875.tar.gz archiva-547e68a6e8f84bf762baa61e1adae8a793ddc875.zip |
fix selenium test due to i18n change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295238 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-test-js/src/test/testng/org/apache/archiva/web/test/parent/AbstractArchivaTest.java | 9 |
1 files changed, 4 insertions, 5 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 dd5dab4c3..fa7590025 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 @@ -235,8 +235,8 @@ public abstract class AbstractArchivaTest clickLinkWithLocator( "user-create-form-register-button", true ); - assertTextPresent( "user created:"+userName ); - assertElementPresent( "users-grid-user-id-"+userName ); + assertTextPresent( "User " + userName + " created." ); + assertElementPresent( "users-grid-user-id-" + userName ); if ( valid ) { @@ -264,12 +264,11 @@ public abstract class AbstractArchivaTest clickLinkWithLocator( "users-grid-delete-" + userName ); clickLinkWithLocator( "dialog-confirm-modal-ok" ); - - assertTextPresent( "user " + userName + " deleted" ); + assertTextPresent( "User " + userName + " deleted." ); clickLinkWithLocator( "alert-message-success-close-a" ); - assertElementNotPresent( "users-grid-user-id-"+userName ); + assertElementNotPresent( "users-grid-user-id-" + userName ); assertTextNotPresent( fullName ); |