When I save the form

Save the form with one of its three buttons: "Save" (back to the list), "Save and add another" (a new add form) or "Save and continue editing" (the same form again). The step waits for the next page; a form the admin refuses comes back with its errors (check them with the error steps).

Examples

When I save the form
When I save the form and add another
When I save the form and continue editing
And we save the form
And we save the form and continue editing

Pattern

When(/^(I |we )*save the form( and add another| and continue editing)?$/, …)

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