Then I should see the header template part

Assert the page renders a template part of a block theme: the header or the footer. A template part renders as <header class="wp-block-template-part"> or <footer class="wp-block-template-part">.

Examples

Then I should see the header template part
And we should see the footer template part
Then I should not see the header template part
And I should not see the footer template part
But we should not see the header template part

Pattern

Then(/^(I |we )*should( not)* see the (header|footer) template part$/, …)

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