Destroy the share link of the file: "Destroy link" in the share dialog, then "Destroy link" again where it asks.
Examples
When I destroy the share link
When we destroy the share link
And I destroy the share link
Then I destroy the share link
When I destroy the share link
Pattern
When(/^(?:I|we) destroy the share link$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.