Slack
Send Playwright and Cypress tests results to Slack
Last updated
Send Playwright and Cypress tests results to Slack
Last updated
Currents integration with Slack allows posting test results of your Playwright or Cypress tests directly into Slack channels.
In order to enable Slack integration and share Playwright test results to Slack channels, follow the steps:
Navigate to "Manage Project" section for the selected project
Click "Add Integration", and select "Slack"
Enter the details of your Slack Integration and click "Save"
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, that 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. See examples for some popular filter patterns:
Include only tagA
or tagB
: (tagA|tagB)
Exclude tagA
andtagB
: !(tagA|tagB)
Include only tags starting with production
: production*
Include only tags starting with smoke-
or prod-
: (smoke-*|prod-*)
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.
Triggered when a run finishes its execution. If a run contains multiple groups, the notification will be triggered for each group.
Triggered when a time out detected for a run. The message will contain the last known results for the run or run group.
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.
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