Configuring Slack reports

Using NeetoPlaydash, you can get the test results directly in your Slack workspace after run completion. To connect a project with your Slack workspace:

  1. Choose the project for which you want to send Slack notifications.

    Screenshot 2024-09-04 at 6.45.47 PM.png
    Project dashboard

  2. Go to the Configure section of the project.

    Screenshot 2024-09-04 at 6.52.54 PM.png
    Project | Configure Section

  3. Click on the Slack Connect button.

    Screenshot 2024-09-04 at 7.06.36 PM.png
    Configure Section | Slack Connect button

  4. Click on the Connect Slack button. This will open the Slack configuration wizard.

    Screenshot 2024-09-04 at 7.48.11 PM.png
    Slack configuration | Connect Slack button
  5. Login to Slack: Click on the Login to Slack button

    Screenshot 2024-09-04 at 7.53.16 PM.png
    Slack configuration | Login to Slack Button
  6. You will be taken to the Slack authorization page. On this page, choose the Slack workspace you want to connect to in the top-right corner and allow the permissions required for the Slack app.

    Screenshot 2024-09-04 at 7.57.39 PM.png
    Slack Authorization page
  7. Choose channel: You will now be taken back to the NeetoPlaydash Slack configuration. In this step, you can choose the channel you want to get the notifications in your Slack workspace and click on the Continue button.

    Screenshot 2024-09-04 at 8.07.01 PM.png
    Slack configuration | Channel Selection step
  8. Add trigger events: The step is an optional one. In this step, you can configure the events that trigger the Slack messages. These events include the branch name pattern and the tag pattern. Notifications will only be triggered for runs matching the configured patterns. The inputs support both plain string and regular expressions for additional flexibility.

    This means that a branch pattern prod will match the branch names:

    • prod

    • production

    • new-prod

    • prod1

    You can provide a pattern for the git branch name as well as for the tags for the Playwright runs.

    Screenshot 2024-09-04 at 11.56.42 PM.png
    Slack configuration | Trigger events step

    You can also test the patterns you provided against some known values of branch names and tags by clicking on the Test your Pattern buttons on the respective fields.

    Screenshot 2024-09-05 at 12.03.13 AM.png
    Pattern test with a non-matching branch name

    Screenshot 2024-09-05 at 12.02.50 AM.png
    Pattern test with a matching branch name

    Once the patterns have been entered click on the Continue button to move to the next step.

  9. Configure template: Add the template for the Slack message you would like to see on the page. A set of predefined dynamic variables is available for you to customize the Slack message according to your needs. A live preview of how the final Slack message would look will be seen on the right-hand side of the page. Once you're satisfied with how the message looks, click on the continue button to move to the next step.

    Screenshot 2024-09-05 at 12.45.38 AM.png
    Slack configuration | Configure template
  10. Your Slack configuration has been completed successfully. You can click on the done button to exit the configuration wizard. Now a Slack notification will be sent after each run completion according to your configurations.

    Screenshot 2024-09-05 at 12.49.35 AM.png
    Slack configuration | Finish configuration

Can't find what you're looking for?