Webhook Guide
Deliver Dinho failure alerts to Discord, Slack, or any HTTP endpoint.
Discord
- Create a Discord webhook in your server settings
- In Dinho, go to Dashboard → Notifications → Add channel, select type Discord, and paste your webhook URL
Dinho will send a native Discord embed with the test name, error, and a link to the dashboard.
Slack
- Create a Slack incoming webhook app
- In Dinho, go to Dashboard → Notifications → Add channel, select type Slack, and paste your webhook URL
Dinho sends a Slack Block Kit message with the failure details.
Generic Webhook
Any HTTPS URL works. Dinho sends a POST request with this JSON body:
{
"event": "test.failed",
"testName": "Login flow",
"baseUrl": "https://myapp.com",
"failedStep": "click('[type=submit]')",
"errorMessage": "TimeoutError: waiting for locator",
"screenshotUrl": "https://...",
"suggestedFixPrompt": "Test 'Login flow' failed...",
"dashboardUrl": "https://dinho.qa/dashboard/tests/..."
}
Retry Policy
Dinho retries failed webhook deliveries 3 times with exponential backoff: 2s → 4s → 8s.
Delivery status is shown in the Notifications page of your dashboard.