]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1296] Audit Log Report
authorMaria Odea B. Ching <oching@apache.org>
Tue, 15 Dec 2009 18:08:47 +0000 (18:08 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Tue, 15 Dec 2009 18:08:47 +0000 (18:08 +0000)
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

archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/AuditLogsReportTest.java

index 2857cf7cfb380b70875142d40da45fb0827d3dd3..45e14cda936fffc1eec51db48d77381c77cefe88 100644 (file)
@@ -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" );