Set a field of the form to a value. The field is named by its label, by the placeholder of its input or by its technical name, and filled the way a user would for its kind: typed for a text, a number or a date, chosen for a selection, a radio group or a priority, picked from the proposals for a many2one, added for a tags field (several tags separated by commas), "yes" or "no" for a checkbox. An empty value clears a text or a many2one.
Examples
When I set the "Customer" field to "Azure Interior"
When we set the "Expiration" field to "12/31/2030"
And I set the "Product Type" field to "Service"
When I set the "e.g. Product Pricing" field to "Office chairs for the new site"
And we set the "Tags" field to "Product, Services"
Pattern
When(/^(I |we )*set the "([^"]*)" field to "([^"]*)"$/, …)
Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.