Then the "The settings were saved." notification should hide by itself

A notification hides by itself after its delay: the step waits until it has faded out and left the page, for at most its delay (the timeout it was shown with; 5 seconds by default) and a little more. It fails at once for a notification that stays until it is closed (a timeout of 0).

Examples

Then the "The settings were saved." notification should hide by itself
Then the "The report could not be sent." notification should hide by itself
And the "The settings were saved." notification should hide by itself
Then the "The settings were" notification should hide by itself
But the "The report could not be sent." notification should hide by itself

Pattern

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

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