diff options
author | Maria Odea B. Ching <oching@apache.org> | 2009-12-15 18:08:47 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2009-12-15 18:08:47 +0000 |
commit | 782d9e2cfa7c8a52a455d45e66c4e3be7d82081f (patch) | |
tree | 38876ce1b8874456055b05455a972a943377a3cc | |
parent | 7250b799d092891556f8e1fb42f4d8223ce25d3b (diff) | |
download | archiva-782d9e2cfa7c8a52a455d45e66c4e3be7d82081f.tar.gz archiva-782d9e2cfa7c8a52a455d45e66c4e3be7d82081f.zip |
[MRM-1296] Audit Log Report
o update selenium tests to reflect changes in UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890923 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AuditLogsReportTest.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AuditLogsReportTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AuditLogsReportTest.java index 2857cf7cf..45e14cda9 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AuditLogsReportTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AuditLogsReportTest.java @@ -50,6 +50,7 @@ public class AuditLogsReportTest { goToAuditLogReports(); assertAuditLogsReportPage(); + assertTextPresent( "Latest Events" ); } @Test(dependsOnMethods = { "testWithCorrectUsernamePassword" } ) @@ -61,7 +62,8 @@ public class AuditLogsReportTest setFieldValue( "groupId", "non.existing" ); submit(); - assertPage( "Apache Archiva \\ Audit Log Report" ); + assertPage( "Apache Archiva \\ Audit Log Report" ); + assertTextPresent( "Results" ); assertTextPresent( "No audit logs found." ); } @@ -76,6 +78,7 @@ public class AuditLogsReportTest submit(); assertAuditLogsReportPage(); + assertTextPresent( "Results" ); assertTextNotPresent( "No audit logs found." ); assertTextPresent( "test:test:1.0" ); assertTextPresent( "Uploaded File" ); @@ -94,6 +97,7 @@ public class AuditLogsReportTest submit(); assertAuditLogsReportPage(); + assertTextPresent( "Results" ); assertTextNotPresent( "No audit logs found." ); assertTextPresent( "test:test:1.0" ); assertTextPresent( "Uploaded File" ); @@ -111,6 +115,7 @@ public class AuditLogsReportTest submit(); assertAuditLogsReportPage(); + assertTextPresent( "Results" ); assertTextNotPresent( "No audit logs found." ); assertTextPresent( "test:test:1.0" ); assertTextPresent( "Uploaded File" ); |