The admin asks before leaving a form with changes ("Leave without saving").
Examples
Then the admin should ask to leave without saving
And the admin should ask to leave without saving
Then the admin should ask to leave without saving
And the admin should ask to leave without saving
Then the admin should ask to leave without saving
Pattern
Then(/^the admin should ask to leave without saving$/, …)
Part of @webship-js/payload-steps (github.com/webship/payload-steps), a step pack for Webship-js 2.0.x.