When I save the record

Save the record on the form view with the save button of the control panel (.o_form_button_save) and wait for the server. The step fails when the form refuses to save, naming the fields Odoo marks as invalid.

Examples

When I save the record
When we save the record
And save the form
When I save the form
And we save the form

Pattern

When(/^(I |we )*save the (?:record|form)$/, …)

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