Close a toast by its close button, and wait until it is gone.
Examples
When I close the toast "[Nowhere] [DOWN]"
When we close the toast "Paused Successfully."
And I close the toast "[Checkout push] [DOWN]"
When I close the toast "Added Successfully."
And we close the toast "Resumed Successfully."
Pattern
When(/^(?:I |we )?close the toast "([^"]*)"$/, …)
Part of @webship-js/uptime-kuma-steps (github.com/webship/uptime-kuma-steps), a step pack for Webship-js 2.0.x.