mirror of https://github.com/apache/archiva.git
[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
This commit is contained in:
parent
7250b799d0
commit
782d9e2cfa
|
@ -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" );
|
||||
|
|
Loading…
Reference in New Issue