Microsoft Teams Integration | Cypress Documentation
What you'll learn​
- How to enable the Cypress integration for Microsoft Teams
- How to configure Microsoft Teams notifications for your Cypress Cloud organization and projects
- How to manage Microsoft Teams notifications at the organization and project level
Microsoft Teams integration is currently in beta
The Microsoft Teams integration allows you to see your Cypress test results directly in your Microsoft Teams channels.
Enable the Microsoft Teams integration​
In order to enable the Cypress integration for Microsoft Teams, you must be an admin or owner of both your Cypress Cloud organization and your Microsoft Teams workspace.
Per-organization configuration (all projects)​
-
Go to Cypress Cloud Organizations page or open the organization switcher.
-
Select the organization you wish to integrate with Microsoft Teams.
-
Visit the selected organization's Integrations page via the side navigation.
-
Click the Enable button in the Microsoft Teams section.
-
You'll naviagte to a window that manages webhooks as a way for Cypress Cloud to communicate with Microsoft Teams. First, you must configure an Incoming Webhook to a Teams channel.
In Microsoft Teams:
-
Open the channel in which you want to add the webhook and select ••• from the upper-right corner.
-
Select Connectors from the dropdown menu.
-
Search for Incoming Webhook and select Configure. Provide a name, and upload an image for your webhook if necessary.
-
Copy and save the unique webhook URL present in the dialog. The URL maps to the channel and you can use it to send information to Teams.
-
Select Done.
The webhook is now available in the Teams channel. For more information, see Microsoft Teams - Create Incoming Webhooks.
-
-
Then, add the Teams webhook to your Cypress Cloud Organization.
In Cypress Cloud:
-
Paste in the Teams webhook URL, choosing the types of notifications your team should receive.
Once you've configured and added your webhooks, the installation is complete! Cypress Cloud will post run results for all projects in your organization to the specified Microsoft Teams channel.
-
Remove a webhook​
You can have Cypress Cloud stop posting notifications to a channel. You cannot delete the global notification channels from a project.
- Navigate to the Integrations page for the project with the installed integration.
- Scroll down to the Microsoft Teams section.
- Under Actions, select Delete for each webhook you want deleted.
Per-project configuration​
If your organization has multiple teams working on separate projects, you can tailor the Microsoft Teams notifications of each project to match your teams' needs. You can have Cypress Cloud post run results for a specific project.
-
Select your organization in the organization switcher.
-
Select the project you wish to integrate with Microsoft Teams.
-
Go to the project's settings page.
-
Scroll down and click Add Teams webhook in the Microsoft Teams section.
-
You'll naviagte to a window that manages webhooks as a way for Cypress Cloud to communicate with Microsoft Teams. First, you must configure an Incoming Webhook to a Teams channel.
In Microsoft Teams:
-
Open the channel in which you want to add the webhook and select ••• from the upper-right corner.
-
Select Connectors from the dropdown menu.
-
Search for Incoming Webhook and select Configure. Provide a name, and upload an image for your webhook if necessary.
-
Copy and save the unique webhook URL present in the dialog. The URL maps to the channel and you can use it to send information to Teams.
-
Select Done.
The webhook is now available in the Teams channel. For more information, see Microsoft Teams - Create Incoming Webhooks.
-
-
Then, add the Teams webhook to your Cypress Cloud Project.
In Cypress Cloud:
-
Paste in the Teams webhook URL, choosing the types of notifications your team should receive.
Once you've configured and added your webhooks, the installation is complete! Cypress Cloud will post run results for this project to the specified Microsoft Teams channel.
-