When I submit the dialog

Press the main button of the open dialog (Create, Update, Assign, Delete, Save, Start, Complete) and wait for the dialog to close. When it stays open the failure lists the errors the dialog shows.

Examples

When I submit the dialog
When we submit the dialog
And I submit the dialog
When I confirm the dialog
And we confirm the dialog

Pattern

When(/^(I |we )*(submit|confirm) the dialog$/, …)

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