Go back from the view mode to the dashboard of the file's team with the logo at the top left.
Examples
When I go back to the dashboard from the view mode
When we go back to the dashboard from the view mode
And I go back to the dashboard from the view mode
Then I go back to the dashboard from the view mode
When I go back to the dashboard from the view mode
Pattern
When(/^(?:I|we) go back to the dashboard from the view mode$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.