You've already forked caddy-opnsense-blocker
Polish requests log mobile controls
This commit is contained in:
@@ -181,6 +181,12 @@ func TestHandlerServesOverviewAndManualActions(t *testing.T) {
|
||||
if !strings.Contains(queryLogBody, "Rows per page") {
|
||||
t.Fatalf("requests log page should expose pagination settings")
|
||||
}
|
||||
if !strings.Contains(queryLogBody, `<option value="25">25</option>`) {
|
||||
t.Fatalf("requests log page should expose the 25 rows per page option")
|
||||
}
|
||||
if !strings.Contains(queryLogBody, `id="column-source"`) || !strings.Contains(queryLogBody, `id="column-reason"`) {
|
||||
t.Fatalf("requests log page should expose column visibility controls")
|
||||
}
|
||||
if !strings.Contains(queryLogBody, "Request") {
|
||||
t.Fatalf("requests log page should render the request table")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user