The app announces a message to screen readers (a polite or an assertive announcement, or a live region of its tree): a part of it, without regard to case and spaces. Announcements are recorded as they come, so a message announced after the last action and gone already counts; one from before that action does not.
Examples
Then the app should announce "Added to favorites."
Then the app should announce "Removed from favorites."
And the app should announce "Saved"
Then the app should announce "Item 5 added"
Then the app should announce "added to favorites"
Pattern
Then(/^the app should announce "([^"]*)"$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.