Then the "Customer" field should be "Azure Interior"

Assert the value a field of the form shows: the text of an input, the chosen entry of a selection, a radio group or a many2one, the tags of a tags field separated by commas, "yes" or "no" for a checkbox. With "be" the value must be exactly the text; with "show" it only has to include it.

Examples

Then the "Customer" field should be "Azure Interior"
And the "Product Type" field should be "Service"
Then the "Tags" field should show "Product"
And the "Customer" field should not be "Deco Addict"
Then the "Email" field should not show "example.org"

Pattern

Then(/^the "([^"]*)" field should( not)* (be|show) "([^"]*)"$/, …)

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