Documentation
Integrations

Slack Integration

Connect AegisRunner to Slack for real-time test notifications and team collaboration.

Slack Integration

Connect AegisRunner to Slack to receive real-time notifications about test runs, crawl completions, and failures directly in your team's Slack workspace.

What You'll Get

āœ…
Test Results
Instant notifications when tests pass or fail
šŸ”
Crawl Updates
Know when crawls complete with page counts
āš ļø
Failure Alerts
Immediate alerts for failed tests
šŸ“Š
Summary Reports
Daily/weekly testing summaries

Setting Up Slack Integration

1
Create a Slack Webhook

Go to your Slack workspace settings and create an Incoming Webhook:

  1. Visit api.slack.com/apps
  2. Click Create New App → From scratch
  3. Name it "AegisRunner" and select your workspace
  4. Go to Incoming Webhooks and enable them
  5. Click Add New Webhook to Workspace
  6. Select the channel for notifications
  7. Copy the Webhook URL
2
Add Webhook to AegisRunner

In AegisRunner:

  1. Go to Settings → Integrations
  2. Find the Slack section
  3. Paste your Webhook URL
  4. Click Save
3
Configure Notifications

Choose which events trigger Slack messages:

  • All test completions
  • Only failures
  • Scheduled run completions
  • Crawl completions
4
Test the Connection

Click Send Test Message to verify the integration works.

Notification Types

Test Run Completed

When a test run finishes, you'll receive a message like:

āœ… Test Run Passed
Suite: Homepage Tests
Browser: Chromium
Results: 12 passed, 0 failed, 1 skipped
Duration: 45s
View Details →

Test Run Failed

āŒ Test Run Failed
Suite: Checkout Flow Tests
Browser: Firefox
Results: 8 passed, 3 failed, 0 skipped
Duration: 1m 23s
Failed Tests:
  • Payment form validation
  • Order confirmation display
  • Receipt email check
View Details →

Crawl Completed

šŸ” Crawl Completed
Project: Main Website
Pages Found: 47
Forms Detected: 12
Duration: 2m 15s
View Results →

Channel Configuration

You can set up multiple Slack channels for different notification types:

Channel Recommended Notifications
#testing-alerts All test failures (immediate attention needed)
#testing-general All test completions (for visibility)
#dev-team Daily/weekly summaries

Notification Settings

Customize what triggers Slack notifications:

Setting Description Default
On Test Pass Notify when all tests pass Off
On Test Fail Notify when any test fails On
On Crawl Complete Notify when crawls finish Off
On Schedule Complete Notify when scheduled runs finish On (failures only)
Include Details Include failed test names in message On
Daily Summary Send daily testing summary Off

Message Customization

Customize how messages appear:

  • Mention on Failure - @mention a user or @channel on failures
  • Custom Prefix - Add a prefix to messages (e.g., "[PROD]")
  • Include Screenshots - Attach failure screenshots (when available)

Troubleshooting

Messages not appearing in Slack
  • Verify the webhook URL is correct
  • Check that the Slack app is still installed in your workspace
  • Ensure the channel still exists
  • Test the webhook with "Send Test Message"
  • Check if the webhook has been revoked
Too many notifications
  • Configure notifications for failures only
  • Disable notifications for scheduled runs if they're frequent
  • Use a dedicated channel to avoid noise in main channels
  • Enable daily summaries instead of individual notifications
Webhook URL expired
  • Slack webhook URLs don't expire, but they can be revoked
  • Create a new webhook in your Slack app settings
  • Update the URL in AegisRunner settings

Best Practices

Slack Integration Tips:
  • Use failures-only notifications to reduce alert fatigue
  • Create a dedicated #testing-alerts channel
  • Set up @channel mentions for critical production test failures
  • Enable daily summaries for team visibility
  • Use different webhooks for different projects/environments
  • Include failed test names to quickly identify issues

Related Documentation

Need help?

Can't find what you're looking for? Our support team is here to help.