When I press "Delete file" in the dialog

Press a button of the open dialog by its words: "Delete file", "Delete project", "Cancel", "Send invitation", "Export", or a board of the export's list.

Examples

When I press "Delete file" in the dialog
When we press "Delete project" in the dialog
And I press "Cancel" in the dialog
When I press "Send invitation" in the dialog
When I press "Hero" in the dialog

Pattern

When(/^(?:I|we) press "([^"]*)" in the dialog$/, …)

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