Then the redirects should list "/webship-test-old-bread" to "Breads"

Assert that the redirects list one from a path (to a page's title or an address, when given), or do not.

Examples

Then the redirects should list "/webship-test-old-bread" to "Breads"
Then the redirects should not list "/webship-test-old-bread"
And the redirects should list "/latest" to "Tracking Wild Yeast"
Then the redirects should list "/github"
Then the redirects should not list "/webship-test-old-blog"

Pattern

Then(/^the redirects should( not)* list "([^"]*)"(?: to "([^"]*)")?$/, …)

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