Then the "Sidebar" region should have 0 blocks

Assert how many blocks a region of the layout has in the editor.

Examples

Then the "Sidebar" region should have 0 blocks
Then the "Sidebar" region should have 1 block
And the "Header" region should have 3 blocks
Then the "Top" region should have 2 blocks
And the "Footer" region should have 1 block

Pattern

Then(/^the "([^"]*)" region should have (\d+) blocks?$/, …)

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