Submit a form with one of its buttons, by the button's name, and wait for what it brings: the action's answer inside the page and, when it succeeded, the page's data asked for again; or the page a posted form loads (taken over by the app when it can be). A button the app handles in the page without sending anything (a key of a game) ends when the page has come to rest.
Examples
When I submit the form with the "enter" button
When I submit the form with the "restart" button
And I submit the form with the "Save" button
When we submit the form with the "Log in" button
When I submit the form with the "a" button
Pattern
When(/^(?:I |we )?submit the form with the "([^"]*)" button$/, …)
Part of @webship-js/svelte-steps (github.com/webship/svelte-steps), a step pack for Webship-js 2.0.x.