Observe alerts posted by other parts of the application.
Clear all collected alerts.
Get all alerts that have been posted.
Wait for an alert matching the given predicate.
Function to test each alert
Maximum time to wait in milliseconds
Promise that resolves with the matching alert
Mock implementation of @backstage/frontend-plugin-api#AlertApi for testing alert behavior.
Example