ErikReider/SwayNotificationCenter

Add tests...

開放

#145 建立於 2022年7月11日

 (0 則留言) (1 個反應) (0 位負責人)Vala (98 個分叉)auto 404
High Priorityhelp wantedtest

倉庫指標

星標
 (2,535 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

This would really speed up development due to a reduction in manually testing everything before pushing a new feature :)

Tests that I can think of. Post a comment if I missed one.

  • All swaync-client args
  • All subscription actions output a correct swaync-client subscription value
  • Blank windows being shown and not opened on the focused monitor
  • Notification actions
  • DND with different notification urgencies
  • Scripts
  • Keyboard shortcuts (if this even is possible...)
  • Styling if this even is possible (maybe screenshots with manual approval???☹️)
  • Verify notifications moving from NotificationWindow to the Control Center when cc is opened
  • Notification icon priority (provided -> app icon -> desktop entry icon -> default icon)
  • Notification icon visibility depending on config setting
  • Body markdown
  • Body image
  • CC margin and positioning
  • Notification timeouts
  • Notification visibility
  • Config and CSS expand paths (start with "~/", "/" or "./")
  • Config and CSS loading
  • Config values

貢獻者指南