Then the page heading should be "Field note 12"

Assert the heading of the page (the h1.page-title of the "Page title" block) equals (or does not equal) a text.

Examples

Then the page heading should be "Field note 12"
Then the page heading should be "Access denied"
And the page heading should not be "Page not found"
Then the page heading should be "Layouts"
And the page heading should be "Create Post"

Pattern

Then(/^the page heading should( not)* be "([^"]*)"$/, …)

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