ErikReider/SwayNotificationCenter

Add tests...

开放

#145 创建于 2022年7月11日

 (0 条评论) (1 个反应) (0 位负责人)Vala (98 个派生)auto 404
High Priorityhelp wantedtest

仓库指标

星标
 (2,535 个星标)
PR 合并指标
 (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

贡献者指南