Then there should be no older posts

Assert the page of the blog has no link to older (or newer) posts: the last (or the first) page of a list, the oldest (or the newest) post.

Examples

Then there should be no older posts
And there should be no newer posts
Then there should be no newer post
And there should be no older post
But there should be no newer posts

Pattern

Then(/^there should be no (older|newer) posts?$/, …)

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