Then the XML sitemap should be served

Assert the XML sitemap is served at /wp-sitemap.xml, the index core generates, and optionally that it lists a kind of sitemap or a URL part.

Examples

Then the XML sitemap should be served
And the XML sitemap should be served
Then the XML sitemap should list "wp-sitemap-posts-post-1.xml"
And the XML sitemap should list "wp-sitemap-posts-page-1.xml"
Then the XML sitemap should list "wp-sitemap-users-1.xml"

Pattern

Then(/^the XML sitemap should (?:be served|list "([^"]*)")$/, …)

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