Using NeetoPlaydash, you can get the test results directly in your Slack workspace after run completion. To connect a project with your Slack workspace:
-
Choose the project for which you want to send Slack notifications.
-
Go to the Configure section of the project.
-
Click on the Slack Connect button.
-
Click on the Connect Slack button. This will open the Slack configuration wizard.
-
Login to Slack: Click on the Login to Slack button
-
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.
-
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.
-
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 patternprod
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.
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.
Once the patterns have been entered click on the Continue button to move to the next step.
-
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.
-
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.