Then I should see the "Confirm" button in the form

Assert the form offers, or does not offer, a button with the given text. The buttons of a form depend on the state of the record and on the groups of the user.

Examples

Then I should see the "Confirm" button in the form
And I should not see the "Create Invoice" button in the form
Then we should see the "Send by Email" button in the form
And I should not see the "Confirm" button of the form
Then we should not see the "Cancel" button of the form

Pattern

Then(/^(I |we )*should( not)* see the "([^"]*)" button (?:in|of) the form$/, …)

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