Comment on page
Slack
Send Playwright and Cypress tests results to Slack
Currents integration with Slack allows posting test results of your Playwright or Cypress tests directly into Slack channels.

Cypress Tests Results in Slack Channel
In order to enable Slack integration and share Playwright 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. Please note, you must provide the branch name within the Run Details to activate filtering.
- Tags Filter (Optional) - if specified, only send notifications for tagged runs, with at least one tag matching the filter
Please note: We use glob patterns to evaluate the filters. Test your filtering rules using the playground.
- Example filter to exclude
tagA
andtagB
: !(tagA|tagB)
- Example filter to include only tags starting with
production
:production*
The following events trigger notifications for Slack integration.
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
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
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
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
To disable Slack integration, simply delete the integration from the list of integrations.
Yes, you can have multiple Slack integrations for the same project.
Green - passed tests
Red - failed + skipped tests
Grey - ignored tests
Purple - flaky tests
Last modified 16d ago