Then I should see the site title

Assert the site title is rendered, optionally matching its text. Covers .site-title (classic themes) and .wp-block-site-title (block themes).

Examples

Then I should see the site title
And we should see the site title "Sample Site"
Then should see the site title
Then I should not see the site title
But we should not see the site title "Sample Site"

Pattern

Then(/^(I |we )*should( not)* see the site title(?: "([^"]*)?")?$/, …)

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