Assert the administration bar folds (or does not fold) a part of itself. The bar measures the window: when its items do not fit, the search, the account link and "Log out" fold behind "More tasks"; on a narrower window the administration menu folds behind "Menu". The steps of the bar open a folded part themselves; this step states which case a scenario covers.
Examples
Then the administration bar should fold its tasks
Then the administration bar should not fold its tasks
And the administration bar should fold its menu
Then the administration bar should not fold its menu
And the administration bar should fold the tasks
Pattern
Then(/^the administration bar should( not)* fold (?:its|the) (menu|tasks)$/, …)
Part of @webship-js/backdrop-cms-steps (github.com/webship/backdrop-cms-steps), a step pack for Webship-js 2.0.x.