Rename a folder of Settings > Folders: select it, change its name, Save. Its old name comes back when the scenario ends.
Examples
When I rename the folder "Projects" to "Webship test projects"
When we rename the folder "Webship test folder" to "Webship test renamed"
And I rename the folder "Projects" to "Webship test work"
When I rename the folder "Webship test folder" to "Webship test reports"
When I rename the folder "Projects" to "Webship test projects"
Pattern
When(/^(?:I|we) rename the folder "([^"]*)" to "([^"]*)"$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.