Give an account of the registry a notification, as test data: the server's notice from an administrator (its subject and, with "saying", its message), sent through the server's API as the data administrator. The account reads it in its notifications menu; it is removed after the scenario.
Examples
Given "user" has the notification "Quarterly review is due"
Given "user" has the notification "Quarterly review is due" saying "Please send your figures by Friday."
Given "editor" has the notification "Budget meeting moved"
And "user" has the notification "Server maintenance tonight"
Given "administrator" has the notification "Backup finished" saying "All files were saved."
Pattern
Given(/^"([^"]*)" has the notification "([^"]*)"(?: saying "([^"]*)")?$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.