When I leave without saving

Answer the question to leave a form with changes: leave it ("Leave anyway") or stay on it ("Stay on this page").

Examples

When I leave without saving
When I stay on the page
And I leave without saving
And I stay on the page
When I leave without saving

Pattern

When(/^I (leave without saving|stay on the page)$/, …)

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