Open a tab of the details sidebar by its words (Sharing, Activity, Versions); the step waits for its content.
Examples
When I open the "Activity" tab of the details
When I open the "Sharing" tab of the details
When I open the "Versions" tab of the details
When we open the "Activity" tab of the details
And I open the "Sharing" tab of the details
Pattern
When(/^(?:I|we) open the "([^"]*)" tab of the details$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.