How can I get notifications for a failed test while using Slack?

I want to get only the notification for failed test using Slack. Can you help me fix this?

Hi Junior,

You can set the notification for failed or passed test using the following setting in slack integration:

https://im.ge/i/rk4yDC