When I choose "Export boards as PDF" in the main menu "File"

Choose an item of a submenu of the workspace's main menu: "Export boards as PDF" of "File", "Undo" of "Edit", "Hide comments" of "View".

Examples

When I choose "Export boards as PDF" in the main menu "File"
When I choose "Hide comments" in the main menu "View"
And I choose "Show comments" in the main menu "View"
When we choose "Redo" in the main menu "Edit"
When I choose "Add as Shared Library" in the main menu "File"

Pattern

When(/^(?:I|we) choose "([^"]*)" in the main menu "([^"]*)"$/, …)

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