Assert that the form has (or does not have) a section, by its heading.
Examples
Then the form should have the section "Classification"
Then the form should have the section "Date information"
And the form should not have the section "Advanced options"
Then the form should have the section "Personal info"
And the form should have the section "Permissions"
Pattern
Then(/^the form should( not)* have the section "([^"]*)"$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.