Skip to content

Commit

Permalink
test: add pixel tests for the journal filter panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Jul 31, 2024
1 parent 5e1784e commit 17d8d05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions test/verify/check-system-journal
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ ExecStart=/bin/sh -c 'sleep 5; for s in $(seq 10); do echo SLOW; sleep 0.1; done
b.go("#/?tag=test-stream&priority=notice")
wait_journal_empty()

# Verify the filter panel
b.assert_pixels("#journal", "journal-filters-panel", skip_layouts=["mobile"])

# Test inline help
b.click("#journal-grep button[aria-label='Open advanced search']")
b.wait_val("#journal-cmd-copy input", "journalctl --no-tail --since=-24hours --priority=notice --reverse -- SYSLOG_IDENTIFIER=test-stream")
Expand Down

0 comments on commit 17d8d05

Please sign in to comment.