The activity stream on screen lists an activity (the words given, as a part of its subject) — or does not.
Examples
Then the activity stream should show "You created meeting-notes.md"
Then the activity stream should show "with Editor"
Then the activity stream should not show "You deleted meeting-notes.md"
And the activity stream should show "You restored"
But the activity stream should not show "shared"
Pattern
Then(/^the activity stream should( not)? show "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.