Slack
Send cypress tests results straight to your Slack channels
Currents integration with Slack allows posting test results of your Cypress tests directly into Slack channels.
Cypress Tests Results in Slack Channel

How to enable Slack integration for Cypress tests?

In order to enable Slack integration and share cypress tests results to Slack channels, follow those steps:
  • Navigate to "Manager Project" section for the selected project
  • Click "Add Integration", select "Slack"
  • Enter the details of your Slack Integration and click "Save"
Enabling Cypress Slack integration
Provide the following details to finalize Slack integration, click "Save" to finish:
  • Slack Webhook URL - Incoming Webhook URL, e.g. https://hooks.slack.com/services/XXX/YYY/ZZZ. Read more about Slack Incoming Webhooks.
  • Failed Runs Only - enabling the toggle would only send results for failed runs.
  • Events (Optional) - specify events that will trigger the integration and send the results. Leaving this field blank activates all the events.
  • Branch Name Filter (Optional) - if specified, only send notifications for runs with branch names matching the pattern. Use glob patterns to specify the filter and test your filtering rules using the playground. Please note, you must provide branch name within the Run Details to activate filtering.

What events trigger notifications for Slack // Currents integration?

The following events trigger notifications for Slack integration.

Run Start

Triggered when a new run starts. If a run contains multiple groups, the notification will be triggered for each group.
Example of Slack notification for Cypress Run Start event

Run Finish

Triggered when a run finishes its execution. If a run contains multiple groups, the notification will be triggered for each group.
Example of Slack notification for Cypress Run Finished

Run Timeout

Triggered when a time out detected for a run. The message will contain the last know results for the run or run group.
Example of Slack notification for Cypress Run Finished with Timeout event

Run Canceled

Triggered when a run gets cancelled. If a run contains multiple groups, the notification will be triggered for each group. The message will contain the last know results for the run or run group.
Example of Slack notification for Cypress Run Canceled event

How to disable Slack integration?

To disable Slack integration, simply delete the integration from the list of integrations.

FAQ

Can I have multiple Slack integration for the same project?

Yes, you can have multiple Slack integrations for the same project.

What do notifications status colours mean?

Green - passed tests
Red - failed + skipped tests
Grey - ignored tests
Purple - flaky tests
Copy link
On this page
How to enable Slack integration for Cypress tests?
What events trigger notifications for Slack // Currents integration?
How to disable Slack integration?
FAQ