Assert the actions the options of a project or the menu of a file offer, or that one is not offered; the menu is closed again after.
Examples
Then the options of the project "Website redesign" should offer "Rename"
Then the options of the project "Drafts" should not offer "Delete"
And the options of the file "Homepage" should offer "Duplicate"
Then the options of the file "Homepage" should not offer "Delete"
Then the options of the file "Style guide" should offer "Unpublish Library"
Pattern
Then(/^the options of the (project|file) "([^"]*)" should( not)? offer "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.