Then the section "Date information" should be closed

Assert that a section of the form that folds is open or closed.

Examples

Then the section "Date information" should be closed
Then the section "Date information" should be open
And the section "Date information" should be closed
Then the section "Classification" should be open
And the section "Date information" should be open

Pattern

Then(/^the section "([^"]*)" should be (open|closed)$/, …)

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