Skip to content

Commit 9dbd8bc

Browse files
committed
Looks like I fixed GitHub Issue #26
1 parent ed38dd2 commit 9dbd8bc

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/org/labkey/test/tests/core/security/TroubleshooterRoleTest.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,19 @@ public void testAdminConsoleVisibility()
101101
verifySitePermissionSetting(true);
102102
}
103103

104-
/**
105-
* Issue 47508: auditLog table visibility is inconsistent
106-
* Assert broken behavior to prompt a test update once issue is fixed.
107-
*/
104+
// Verify fix for Issue 47508 / GitHub Issue #26: auditLog table visibility is inconsistent
108105
@Test
109106
public void testAllAuditTableVisibility()
110107
{
111108
impersonate(TROUBLESHOOTER_USER);
112109
ShowAdminPage showAdminPage = goToAdminConsole().goToSettingsSection();
113110

114-
log("Verify the export file is non empty");
111+
log("Verify \"Group and role\" audit event table is viewable");
115112
ShowAuditLogPage auditLogPage = showAdminPage.clickAuditLog();
116113
auditLogPage.selectView("Group and role events");
117-
assertTextPresent("You do not have permission to see this data.");
114+
assertTextNotPresent("You do not have permission to see this data.");
115+
DataRegionTable logTable = auditLogPage.getLogTable();
116+
assertTrue(logTable.getDataRowCount() > 0);
118117
}
119118

120119
protected void verifySitePermissionSetting(boolean canSave)

0 commit comments

Comments
 (0)