A toast (an alert in a corner) says a text: the success ones leave by themselves after about 5 seconds, the error ones of down events stay until closed.
Examples
Then I should see the toast "Paused Successfully."
Then I should see the toast "Added Successfully."
And we should see the toast "Deleted Successfully."
Then I should see the toast "Resumed Successfully."
And I should see the toast "[Nowhere] [DOWN]"
Pattern
Then(/^(?:I|we) should see the toast "([^"]*)"$/, …)
Part of @webship-js/uptime-kuma-steps (github.com/webship/uptime-kuma-steps), a step pack for Webship-js 2.0.x.