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.

Enabling Slack integration
In order to enable Slack integration and share Playwright test results to Slack channels, follow the steps:
Navigate to Manage Project > Integrations
Add Slack integration and provide the details:
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, that you must provide the branch name within the Run Details to activate filtering.
Click Save to preserve the changes

Grouping Slack messages
Enabling the Single Notification for All Groups toggle ensures that only one notification is sent per run, regardless of how many groups it includes.

Note: You may still receive multiple notifications if one group finishes before the others were discovered. For example, if one group completes before the other groups are scheduled or detected, a notification may be sent early.
Filtering Slack notifications based on Tags
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.

Run Finish
Triggered when a run finishes its execution. If a run contains multiple groups, the notification will be triggered for each group.

Run Timeout
Triggered when a time out detected for a run. The message will contain the last known results for the run or run group.

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 known results for the run or run group.

Disabling Slack integration
To disable Slack integration, simply delete the integration from the list of integrations.
FAQ
Can I have multiple Slack integrations for the same project?
Yes, you can have multiple Slack integrations for the same project.
What do notification status colours mean?
Green - passed tests
Red - failed + skipped tests
Grey - ignored tests
Purple - flaky tests
Last updated
Was this helpful?