Assert what the open menu offers, or that it does not offer an item (a viewer's menus hold fewer; the team's drafts cannot be renamed or deleted).
Examples
Then the menu should offer "Rename"
Then the menu should not offer "Delete"
And the menu should offer "Add as Shared Library"
Then the menu should offer "Delete 2 files"
Then the menu should offer "Personal Projects"
Pattern
Then(/^the menu should( not)? offer "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.