Then the blog post should show the date "May 28"

Assert a blog post, on its page or in the list, shows (or does not show) the given date, in the format the site settings give it ("May 28" or "November 1, 2015").

Examples

Then the blog post should show the date "May 28"
And the blog post should show the date "November 1, 2015"
And the blog post should show the date "June 2"
But the blog post should not show the date "January 1"
Then the blog post should not show the date "2020"

Pattern

Then(/^(?:the )?blog post should( not)* show the date "([^"]*)"$/, …)

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