When I right-click the selected file "Homepage"

Open the menu of the files that are selected: a right click on the first of them.

Examples

When I right-click the selected file "Homepage"
When we right-click the selected file "Pricing page"
And I right-click the selected file "Homepage"
When I right-click the selected file "Webship test file"
When I right-click the selected file "Sketches"

Pattern

When(/^(?:I|we) right-click the selected file "([^"]*)"$/, …)

Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.