The tab of the details sidebar on screen shows a text (the words given, as a part of its content): an activity, a share, a version.
Examples
Then the details tab should show "You created meeting-notes.md"
Then the details tab should show "Editor"
Then the details tab should show "Current version"
And the details tab should show "You renamed"
Then the details tab should show "Share link"
Pattern
Then(/^the details tab should show "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.