Skip to content

Added Slack Integration with new content and screenshots - #3667

Open
karansharmasauce wants to merge 5 commits into
mainfrom
docs/slack-integration
Open

karansharmasauce wants to merge 5 commits into
mainfrom
docs/slack-integration

Conversation

@karansharmasauce

Copy link
Copy Markdown
Collaborator

Description

Added a new Slack Integration documentation page covering setup and configuration. Includes newly written content along with supporting screenshots to walk users through the integration flow step by step.

Motivation and Context

The Slack Integration had no documentation, leaving users without guidance on how to connect and configure it. This adds a dedicated page so users can set it up without needing to contact support, and the screenshots make each step easier to follow.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation fix (typos, incorrect content, missing content, etc.)

@github-actions

Copy link
Copy Markdown

Deploy preview ready for 3667!
https://docs.dev.saucelabs.net/pr-preview/pr-3667

Comment thread docs/basics/integrations/slack.md Outdated
After connecting a Slack workspace, you can add Slack channels where Sauce Labs will send test result notifications. You can add multiple channels to the same workspace and use them as destinations when configuring alert rules.

:::note
Only channels available to the Sauce Labs Slack integration appear in the channel list.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd write here "Only public channels...", as we can't fetch private ones.

Comment thread docs/basics/integrations/slack.md Outdated
@@ -0,0 +1,250 @@
---
id: slack
title: Slack

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add (Beta) here and sidebar

Comment thread docs/basics/integrations/slack.md Outdated

You can add multiple channels to the same connected Slack workspace. Repeat the channel setup to add additional channels to the same Slack workspace. Each channel is added separately and can be used as a destination for alert rules.

```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is needed. Users will set channels as they wish and most probably already have some existing ones

* Send a specific test result to Slack manually when investigating a failure.

## Prerequisites

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to add here the steps for installing the Sauce Labs Slack integration form the marketplace, as the saucebot needs to be invited into the channels that the user wishes to connect.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add something like this here:

From the Slack Marketplace, search for a Sauce Labs integration and install it. Add the saucebot as a member into the public channel where you want to receive alerts and continue the setup inside Sauce Labs platform.

Comment thread docs/basics/integrations/slack.md Outdated

<img src={useBaseUrl('/img/integrations/slack/slack-10.png')} alt="Slack Integration"/>

**Step 2:** Select **Remove Channel** next to the channel. The channel is removed from the list of connected channels and is no longer available as a destination for Slack alerts.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, you can remove the saucebot from the channel to stop receiving alerts for it.

Comment thread docs/basics/integrations/slack.md Outdated
Removing a channel does not disconnect the Slack workspace. Other channels connected to the same workspace remain configured.
:::

## Quick Alert Setup

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will change a bit as per design, I'd wait for the engineering to update and then update the flow description and images here https://www.figma.com/design/jsMAZj2fh0wf69ELk8ydgg/Slack-integration-Design-Feedback?node-id=371-8641&t=vpBWOlqzTNIFWTbf-1

Comment thread docs/basics/integrations/slack.md Outdated

**Step 2:** Select the **Actions** menu in the upper-right corner of the page, then select **Send to Slack**.

<img src={useBaseUrl('/img/integrations/slack/slack-22.png')} alt="Slack Integration"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The visual here will also change a bit to show the Share button for slack (and later Jira) https://www.figma.com/design/jsMAZj2fh0wf69ELk8ydgg/Slack-integration-Design-Feedback?node-id=371-7436&t=vpBWOlqzTNIFWTbf-1

Comment thread docs/basics/integrations/slack.md Outdated
| Ref. | Field | Description |
| ----- | ----- | ----- |
| **1** | **Alert Name** | Enter a descriptive name to identify the alert rule when managing your alerts. |
| **2** | **Event Types** | Select the test results that should trigger the alert. For each available automation type, choose **Don't alert** to disable notifications, **Failed tests only** to receive notifications for failed tests, or **All tests** to receive notifications for all test results. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no Don't alert option really.

Comment thread docs/basics/integrations/slack.md Outdated
| **3** | **Destinations** | Select one or more Slack channels where matching notifications should be sent. Only channels already added to your Slack integration are available. |
| **4** | **Tags** | Optionally select one or more existing tags to limit the alert to test results that match the selected tags. |

<img src={useBaseUrl('/img/integrations/slack/slack-27.png')} alt="Slack Integration"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to update to include the Owner etc

Comment thread docs/basics/integrations/slack.md Outdated

<img src={useBaseUrl('/img/integrations/slack/slack-27.png')} alt="Slack Integration"/>

:::note

@marstupa marstupa Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove or heavily rephrase this, as all things can be considered optional really.
Tags are matched if test results contain them, it's just another filtering option same as owner or test status

Comment thread docs/basics/integrations/slack.md Outdated

Disconnect a Slack workspace when you no longer want Sauce Labs to send notifications to that workspace. Disconnecting a workspace removes its connection from Sauce Labs and prevents the integration from sending alerts to its Slack channels.

On the Slack configuration page, locate the workspace you want to disconnect and select **Disconnect**.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also remove slackbot integration from your Slack workspace.

@marstupa marstupa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some change requests, but overall great start.
I think it's safe to leave it aside for a couple days until we get the update confirmation from engineering and and start the marketplace publishing process.

@github-actions

Copy link
Copy Markdown

Deploy preview ready for 3667!
https://docs.dev.saucelabs.net/pr-preview/pr-3667

@github-actions

Copy link
Copy Markdown

Deploy preview ready for 3667!
https://docs.dev.saucelabs.net/pr-preview/pr-3667

@github-actions

Copy link
Copy Markdown

Deploy preview ready for 3667!
https://docs.dev.saucelabs.net/pr-preview/pr-3667

Comment thread docs/basics/integrations/slack.md Outdated

<img src={useBaseUrl('/img/integrations/slack/slack-26.png')} alt="Disconnect option in the workspace More options menu"/>

The workspace is disconnected from Sauce Labs, and the Slackbot integration is also disconnected from your Slack workspace. Other Slack workspaces connected to your Sauce Labs organization remain unaffected.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saucebot instead of slackbot, right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we pls replace this screenshot with the production version? This one has the wrong UI as it includes other integrations which are work in progress.

@github-actions

Copy link
Copy Markdown

Deploy preview ready for 3667!
https://docs.dev.saucelabs.net/pr-preview/pr-3667

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants