When I add a temporary redirect from "/webship-test-old-bread" to the page "Breads"

Add a redirect from an old path of the site to a page (chosen in the page chooser) or to an address, temporary or permanent (permanent is the admin's default).

Examples

When I add a temporary redirect from "/webship-test-old-bread" to the page "Breads"
When I add a permanent redirect from "/webship-test-old-blog" to the page "Blog"
And we add a permanent redirect from "/webship-test-elsewhere" to "https://example.com/"
When I add a temporary redirect from "/webship-test-recipes" to the page "Recipes"
When I add a temporary redirect from "/webship-test-example" to "https://example.org/"

Pattern

When(/^(?:I|we) add an? (temporary|permanent) redirect from "([^"]*)" to (?:the page "([^"]*)"|"([^"]*)")$/, …)

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