Some checks are pending
Go Benchmark / Performance Regression Check (push) Waiting to run
Cerberus Integration / Cerberus Security Stack Integration (push) Waiting to run
Upload Coverage to Codecov / Backend Codecov Upload (push) Waiting to run
Upload Coverage to Codecov / Frontend Codecov Upload (push) Waiting to run
CodeQL - Analyze / CodeQL analysis (go) (push) Waiting to run
CodeQL - Analyze / CodeQL analysis (javascript-typescript) (push) Waiting to run
CrowdSec Integration / CrowdSec Bouncer Integration (push) Waiting to run
Docker Build, Publish & Test / build-and-push (push) Waiting to run
Docker Build, Publish & Test / Security Scan PR Image (push) Blocked by required conditions
Quality Checks / Auth Route Protection Contract (push) Waiting to run
Quality Checks / Codecov Trigger/Comment Parity Guard (push) Waiting to run
Quality Checks / Backend (Go) (push) Waiting to run
Quality Checks / Frontend (React) (push) Waiting to run
Rate Limit integration / Rate Limiting Integration (push) Waiting to run
Security Scan (PR) / Trivy Binary Scan (push) Waiting to run
Supply Chain Verification (PR) / Verify Supply Chain (push) Waiting to run
WAF integration / Coraza WAF Integration (push) Waiting to run
3.0 KiB
Executable File
3.0 KiB
Executable File
title, labels, priority, milestone, assignees
| title | labels | priority | milestone | assignees | ||||
|---|---|---|---|---|---|---|---|---|
| Manual Testing: Slack Notification Provider |
|
medium | v0.2.0-beta.2 |
Manual Testing: Slack Notification Provider
Description
Manual test plan for the Slack notification provider feature. Covers scenarios that automated E2E tests cannot fully validate, such as real Slack workspace delivery, message formatting, and edge cases around webhook lifecycle.
Pre-requisites
- A Slack workspace with at least one channel
- An Incoming Webhook URL created via Slack App configuration (https://api.slack.com/messaging/webhooks)
- Access to the Charon instance
Test Cases
Provider CRUD
- Create: Add a Slack provider with a valid webhook URL and optional channel name (
#alerts) - Edit: Change the channel display name — verify webhook URL is preserved (not cleared)
- Test: Click "Send Test Notification" — verify message appears in Slack channel
- Delete: Remove the Slack provider — verify it no longer appears in the list
- Re-create: Add a new Slack provider after deletion — verify clean state
Security
- Webhook URL is NOT visible in the provider list UI (only
has_token: trueindicator) - Webhook URL is NOT returned in GET
/api/v1/notifications/providersresponse body - Editing an existing provider does NOT expose the webhook URL in any form field
- Browser DevTools Network tab shows no webhook URL in any API response
Message Delivery
- Default template sends a readable notification to Slack
- Custom JSON template with
textfield renders correctly - Custom JSON template with
blocksrenders Block Kit layout - Notifications triggered by proxy host changes arrive in Slack
- Notifications triggered by certificate events arrive in Slack
- Notifications triggered by uptime events arrive in Slack (if enabled)
Error Handling
- Invalid webhook URL (not matching
hooks.slack.com/services/pattern) shows validation error - Expired/revoked webhook URL returns
no_serviceclassification error - Disabled feature flag (
feature.notifications.service.slack.enabled=false) prevents Slack dispatch
Edge Cases
- Creating provider with empty URL field succeeds (URL is optional channel display name)
- Very long channel name in URL field is handled gracefully
- Multiple Slack providers with different webhooks can coexist
- Switching provider type from Slack to Discord clears the token field appropriately
- Switching provider type from Discord to Slack shows the webhook URL input field
Cross-Browser
- Provider CRUD works in Chrome/Chromium
- Provider CRUD works in Firefox
- Provider CRUD works in Safari/WebKit
Acceptance Criteria
- All security test cases pass — webhook URL never exposed
- End-to-end message delivery confirmed in a real Slack workspace
- No console errors during any provider operations
- Feature flag correctly gates Slack functionality