Press a button in the footer of the open modal by its text (an extra action, such as "Ship & notify customer"), and wait for the answer.
Examples
When I press "Ship & notify customer" in the modal footer
When I press "Send" in the modal footer
And we press "Submit" in the modal footer
When I press "Cancel" in the modal footer
When I press "Delete" in the modal footer
Pattern
When(/^(I |we )*press "([^"]*)" in the modal footer$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.