Skip to main content

Option to send "Passed" alerts only once

We have tests that run every 5 minutes and sends Slack notifications. I would like an option to send "Passed" alerts only once, not every time the test passes (and then once again after failure). This is a common feature in similar services.

This way we can easily see if a test started working again after failure and failures won't be drowned out by all the "Passed" notifications in Slack.


“How to identify "state change" for the suite when random tests could fail? “

We’re only interested in state changes for individual tests and not the suite itself.

“When should the notification be sent? What ​kind of message do you expect?”

SuiteA (1)

[09:00] Test1 Passed

[09:00] Test2 Passed

[09:00] Test3 Passed

SuiteA (2)

[09:15] Test1 Failed [state change] – Email Alert Sent (Test 1 Failed) “Test1 in SuiteA transitioned at 09:15 from SUCCESS → FAILED.”

[09:15] Test2 Passed

[09:15] Test3 Passed

SuiteA (3)

[09:30] Test1 Failed

[09:30] Test2 Failed [state change] – Email Alert Sent (Test 2 Failed) “Test2 in SuiteA transitioned at 09:30 from SUCCESS → FAILED.”

[09:30] Test3 Passed

SuiteA (4)

[09:45] Test1 Passed [state change] – Email Alert Sent (Test 1 Successful) “Test1 in SuiteA transitioned at 09:45 from FAILED → SUCCESS.

[09:45] Test2 Failed

[09:45] Test3 Passed

SuiteA (5)

[10:00] Test1 Passed

​[10:00] Test2​Passed [state change] – Email Alert Sent (Test 2 Successful) “Test2 in SuiteA transitioned at 10:00 from FAILED → SUCCESS.”

​[10:00] Test3 Passed

If you did want to track suite state and test state, you could always do something like this:

SuiteA (1)

[09:00] Test1 Passed

[09:00] Test2 Passed

[09:00] Test3 Passed

SuiteA (2)

[09:15] Test1 Failed [state change] – Email Alert Sent (Test 1 Failed) “Test1 in SuiteA transitioned at 09:15 from SUCCESS → FAILED.”

[09:15] Test2 Passed

[09:15] Test3 Passed

– Email Alert Sent (SuiteA Failures) “One or more tests in SuiteA failed.”

SuiteA (3)

[09:30] Test1 Failed

[09:30] Test2 Failed [state change] – Email Alert Sent (Test 2 Failed) “Test2 in SuiteA transitioned at 09:30 from SUCCESS → FAILED.”

[09:30] Test3 Passed

SuiteA (4)

[09:45] Test1 Passed [state change] – Email Alert Sent (Test 1 Successful) “Test1 in SuiteA transitioned at 09:45 from FAILED → SUCCESS.

[09:45] Test2 Failed

[09:45] Test3 Passed

SuiteA (5)

[10:00] Test1 Passed

​[10:00] Test2​Passed [state change] – Email Alert Sent (Test 2 Successful) “Test2 in SuiteA transitioned at 10:00 from FAILED → SUCCESS.”

​[10:00] Test3 Passed

– Email Alert Sent (SuiteA Success) “All tests in SuiteA were successful. (3/3)”

Status: Completed10 comments

Log in to comment and vote

Comments10

  • Paweł Bylina changed status to Completed
    Team•

    Aug 19, 2025

    Pinned

    This feature has arrived!

    • Robert Hedman

      •

      Aug 19, 2025

      Great! Thank you!

      • Paweł Bylina

        Team•

        Aug 20, 2025

        You’re welcome!

    • Jonathan Speight

      •

      Aug 19, 2025

      Thanks, Pawel. You implemented this well within the timeframe you gave, which gives us confidence that BugBug is truly invested in delivering great service.

      • Paweł Bylina

        Team•

        Aug 20, 2025

        Awesome ;) Happy to hear that!

  • Paweł Bylina changed status to In Progress
    Team•

    Jul 8, 2025

    Pinned

    We started working on this

  • Tegomass

    •

    May 28, 2024

    A must-have!

  • Robert Hedman

    •

    Nov 5, 2024

    @Paweł Bylina Are there any plan to implement this feature? It would REALLY help when monitoring services to have the option to send the “passed” alert sent only once after the service comes back up again.

    • Paweł Bylina

      Team•

      Nov 6, 2024

      Unfortunately we don't have an ETA for this at the moment. As you can see the amount of upvotes is low ;-(

      • Robert Hedman

        •

        Nov 7, 2024

        Still a good feature though, and one that other similar services have. ;)