Then the RSS feed should list "Version 2.0"

Assert the RSS or the Atom feed of the blog lists (or does not list) a post, by its title. The feed is the one the page links to (<link rel="alternate">), or the path given.

Examples

Then the RSS feed should list "Version 2.0"
And the Atom feed should list "What Comes Next"
Then the RSS feed at "/blog/rss.xml" should list "Welcome to Example Docs"
But the Atom feed at "/blog/atom.xml" should not list "Version 3.0"
And RSS feed should not list "Version 3.0"

Pattern

Then(/^(?:the )?(RSS|Atom) feed(?: at "([^"]*)")? should( not)* list "([^"]*)?"$/, …)

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