When I restore the permalink structure

Restore the permalink structure that was selected before the last "I choose the ... permalink structure", and save it. Use it at the end of a scenario that changed it.

Examples

When I restore the permalink structure
When we restore the permalink structure
And I restore the permalink structure
Then we restore the permalink structure
And we restore the permalink structure

Pattern

When(/^(I |we )*restore the permalink structure$/, …)

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