Then the "Draft saved" notification should hide by itself

A notification hides by itself after its delay: the step waits for its hidden event and its fade, for at most its delay (data-bs-delay; by default 5 seconds on version 5, half a second on version 4) and a little more. It fails at once for a notification whose automatic hiding is off (data-bs-autohide="false").

Examples

Then the "Draft saved" notification should hide by itself
Then the "Reminder" notification should hide by itself
Then the "Settings saved" notification should hide by itself
And the "Draft saved" notification should hide by itself
But the "Reminder" notification should hide by itself

Pattern

Then(/^the "([^"]*)" notification should hide by itself$/, …)

Part of @webship-js/bootstrap-steps (github.com/webship/bootstrap-steps), a step pack for Webship-js 2.0.x.