Dismiss a notification of the open menu (by its subject) with its "Dismiss" button; the step waits for the server (its DELETE) and for the notification to leave the menu.
Then I should have no notifications
Examples
When I dismiss the notification "Quarterly review is due"
When we dismiss the notification "Budget meeting moved"
And I dismiss the notification "Quarterly review is due"
When I dismiss the notification "Quarterly review is due"
When I dismiss the notification "Server maintenance tonight"
Pattern
When(/^(?:I|we) dismiss the notification "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.