Then the layout should have the "Sidebar" region

Assert the layout in the editor has (or does not have) a region, by its label.

Examples

Then the layout should have the "Sidebar" region
Then the layout should have the "Header" region
And the layout should not have the "Sidebar" region
Then the layout should have the "Footer" region
And the layout should not have the "Drawer" region

Pattern

Then(/^the layout should( not)* have the "([^"]*)" region$/, …)

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